void rem_ref(void)
Removes a reference to the context.
void destroy_context(void)
Destroys the underlying context.
void set_context(void *context)
Retrieves the underlying ZMQ context.
void add_ref(void)
Adds a reference to the context.
std::atomic< int > references_
track the number of references to the context
A class that manages a ZMQ context.