[zeromq-dev] [PATCH] zmq::msg_t::const_data for const correctness?
Steven McCoy
steven.mccoy at miru.hk
Fri May 27 02:23:31 CEST 2011
I'm sure there has been similar discussion before but it seems to be on
other API, I propose a const_data() API to msg_t in order to permit const
correctness in higher APIs. A primary example being CZMQ's zmsgdup API (
zmsg_copy).
Is there a better way of doing this in C++?
--
Steve-o
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20110526/6822964a/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-const_data-API-for-const-correctness.patch
Type: text/x-patch
Size: 1056 bytes
Desc: not available
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20110526/6822964a/attachment.bin>
More information about the zeromq-dev
mailing list