[zeromq-dev] cppzmq revival and RFC on design goals and supported platforms

Justus Ranvier justus at stashcrypto.com
Thu May 24 18:40:50 CEST 2018

I've been implementing a high level modern c++ wrapper for zeromq as part of 
the Open-Transactions project.

Our design goals probably differ from what you're doing with cppzmq, but some 
of the features we've added might be useful for an insipration or two.

* Seperation of interfaces from implementation and use of the Pimpl idiom to 
provide ABI compatibility
* Wrapper classes for libzmq types implement conversion operators so they can 
be passed directly to libzmq functions if needed
* Automatic creation of polling loops that pass received messages to lambdas 
provided at construction time
* Custom iterators for multipart messages that are compatible with ranged for 
loops. You can construct a ranged for loop over the routing frames, or over 
the messge body, or over every frame

Interface headers:

Implementation classes:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part.
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20180524/5c467c16/attachment.sig>

More information about the zeromq-dev mailing list