Am 27.10.2010 11:18, schrieb Martin Sustrik: > The derived class (decoder_t) sets the next pointer in the constructor, > so it should be OK.
That's right. But the base class can't be sure that all derived classes stick to the protocol. Shouldn't we at least check for a null pointer via an assertion? An assertion failed error is much more friendly than a segfault. Christian _______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
