[zeromq-dev] zmq_reactor on github

Martin Sustrik sustrik at 250bpm.com
Tue Aug 3 08:43:56 CEST 2010


Matt,

>>> I would like to suggest that the zmq.hpp/zmq::context_t be modified  
>>> to
>>> add "operator void*()", so helper functions like zmq_reactor_pair can
>>> be made useful (see zmq_reactor_pair.h).
>> What would you use the void* for?
>>
> I don't believe I can share a zmq::context_t with lower life forms  
> without it.

:)

I see, you mean using both C and C++ API with the same context, right?

In such case yes, void*() operator would help.

Martin



More information about the zeromq-dev mailing list