[zeromq-dev] operator void* on socket_t

Pieter Hintjens pieterh at gmail.com
Wed Mar 16 08:47:47 CET 2011


Time to spilt the C++ api off core and turn into its own project. We agreed
this on irc already...

-Pieter
On 16 Mar 2011 00:36, "Jon Dyte" <jon at totient.co.uk> wrote:
> Hi
>
> On IRC this evening some example code was posted up.
>
> which contained
>
>
> zmq::socket_t subscriber(context, ZMQ_SUB);
>
> .....
>
>
> some time later
>
> free (subscriber);
>
> It's obviously going to be bad if this ever executes, but the main point
> is this only
> compiles because of the operator void * on the socket class.
>
> The sooner this can be replaced with a 'handle' method the better.
>
> Jon
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20110316/0ce8adc8/attachment.htm>


More information about the zeromq-dev mailing list