Matt, > Would there be any issue with making zmq::message_t::size() const? > > inline size_t size() const; > > (if necessary, the arg to zmq_msg_size should probably have constness > cast away if needed...)
Yes, it does make sense. Whole zmq.hpp is missing systematic const modifiers. Would you like to provide the patch? Martin _______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
