The interface to zmq::socket_t was updated to deprecate using the C flags (such as ZMQ_DONTWAIT), preferring instead enum classes (zmq::recv_flags::dontwait).
However, the zmq::multipart_t::send and recv functions still take integer flags arguments, instead of the enumerations.
It seems that, for consistency, these methods should use the enum classes.
There is now support for sending and receiving multipart (zmq::send_multipart) that have consistent interface. They make the multipart_t class pretty much deprecated.
The interface to
zmq::socket_t
was updated to deprecate using the C flags (such asZMQ_DONTWAIT
), preferring instead enum classes (zmq::recv_flags::dontwait
).However, the
zmq::multipart_t::send
andrecv
functions still take integer flags arguments, instead of the enumerations.It seems that, for consistency, these methods should use the enum classes.