mirror of
https://github.com/zeromq/cppzmq.git
synced 2024-12-12 10:33:52 +01:00
Merge pull request #458 from gummif/gfa/depr-connected
Problem: connected() is confusing
This commit is contained in:
commit
e80cefa1cf
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