[zeromq-dev] zmq::message_t::size() const

Martin Sustrik sustrik at 250bpm.com
Wed Jul 21 08:41:02 CEST 2010


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



More information about the zeromq-dev mailing list