inline void copy (message_t const *msg_) { int rc = zmq_msg_copy (&msg, const_cast<zmq_msg_t*>(&(msg_->msg))); if (rc != 0) throw error_t (); }
inline void copy (message_t *msg_) { int rc = zmq_msg_copy (this, (zmq_msg_t*) msg_); if (rc != 0) throw error_t (); }
inline void copy (message_t *msg_) { int rc = zmq_msg_copy (&msg, &(msg_->msg)); if (rc != 0) throw error_t (); }