mirror of
https://github.com/zeromq/cppzmq.git
synced 2024-12-12 10:33:52 +01:00
cbe449908e
Solution: Add `zmq::sockopt::socket_type` that is used to `get()` an enumerator from `zmq::socket_type` instead of plain `int`. It makes code like this compile: #include <zmq.hpp> #include <cassert> int main() { zmq::context_t ctx; zmq::socket_t sock(ctx, zmq::socket_type::push); assert(sock.get(zmq::sockopt::socket_type) == zmq::socket_type::push); return 0; } |
||
---|---|---|
.. | ||
active_poller.cpp | ||
buffer.cpp | ||
CMakeLists.txt | ||
codec_multipart.cpp | ||
context.cpp | ||
message.cpp | ||
monitor.cpp | ||
multipart.cpp | ||
poller.cpp | ||
recv_multipart.cpp | ||
send_multipart.cpp | ||
socket_ref.cpp | ||
socket.cpp | ||
testutil.hpp | ||
utilities.cpp |