mirror of
https://github.com/zeromq/cppzmq.git
synced 2024-12-13 10:52:57 +01:00
Problem: connected() is confusing
Solution: Deprecated it, it is not related to connect/disconnect.
This commit is contained in:
parent
03243ad64d
commit
d57ffc5cf7
1
zmq.hpp
1
zmq.hpp
@ -1827,6 +1827,7 @@ class socket_base
|
||||
throw error_t();
|
||||
}
|
||||
|
||||
ZMQ_DEPRECATED("from 4.7.1, use handle() != nullptr or operator bool")
|
||||
bool connected() const ZMQ_NOTHROW { return (_handle != ZMQ_NULLPTR); }
|
||||
|
||||
ZMQ_CPP11_DEPRECATED("from 4.3.1, use send taking a const_buffer and send_flags")
|
||||
|
Loading…
Reference in New Issue
Block a user