zeromq / zmqpp

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

Message move #74

Closed xaqq closed 10 years ago

xaqq commented 10 years ago

Message move ctor / operator= was misbehaving.

This somehow changes the behavior when using operator>> and moved message. I believe this behavior is more correct because it correctly move the state and leave the moved-from message in a correct state. See the commit introducing failing unit test for more detail.

(I realise the ratio test-code:code is big)