[zeromq-dev] [PATCH] zmq::msg_t::const_data for const correctness?

Martin Sustrik sustrik at 250bpm.com
Sat May 28 09:24:36 CEST 2011


On 05/27/2011 06:27 PM, Steven McCoy wrote:

> I'll just like to point out how non-intuitive these are.

Exactly. That's why I haven't used const at all. The consts are meant to 
make code more comprehensive. In case of 0mq messages the consts seem to 
lead to various subtle and slighty weird semantics.

Martin



More information about the zeromq-dev mailing list