zeromq / zmqpp

0mq 'highlevel' C++ bindings
http://zeromq.github.io/zmqpp
Mozilla Public License 2.0
438 stars 195 forks source link

moving to bool as default type, keeping depreacted int fallback #161

Closed benjamg closed 8 years ago

benjamg commented 8 years ago

To resolved #58 there is a new bool version of the string send and receive message functions, and the previous integer versions have been marked as deprecated in favour of the Message class version.

Anyone using the default values for both send and receive previously is unaffected as the default for the boolean is identical.

Anyone overriding the send default to send multipart messages and using the default receive has been accounted for by only pulling one part off the socket at a time. As the new send is only single part this doesn't pose a problem moving forward.

Anyone overriding both defaults is still using the deprecated functions and so unaffected.