Folks,

While wandering through the zmq.hpp header to implement the nothrow version, I noticed that many of the destructors throw(), e.g.


        inline ~message_t ()
        {
                int rc = zmq_msg_close (this);
                if (rc != 0)
                        throw error_t ();
        }

There's a lot of debate about whether this is "good" or not, but I don't believe it's considered good current practice.

Should this be changed?

Comments welcome :-)

Best,
Matt
_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to