diff options
author | Christoph Willing <chris.willing@linux.com> | 2022-04-01 02:10:50 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-04-02 18:19:20 +0700 |
commit | f3cbc29513aa8b23941565f6ad7bc3e4db3dc8f0 (patch) | |
tree | dda8b4492c886bf5997d391f1edb054234867fcd /libraries/cppzmq/README | |
parent | 827659927fd204acb2301ae9c0095ae128941745 (diff) |
libraries/cppzmq: Added (C++ binding for zmq)
Signed-off-by: Dave Woodfall <dave@slackbuilds.org>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/cppzmq/README')
-rw-r--r-- | libraries/cppzmq/README | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/libraries/cppzmq/README b/libraries/cppzmq/README new file mode 100644 index 0000000000..51064c48b6 --- /dev/null +++ b/libraries/cppzmq/README @@ -0,0 +1,16 @@ +cppzmq is a C++ binding for libzmq. It has the following design goals: + +* cppzmq maps the libzmq C API to C++ concepts. In particular: + - it is type-safe (the libzmq C API exposes various class-like + concepts as void*) + - it provides exception-based error handling (the libzmq C API + provides errno-based error handling) + - it provides RAII-style classes that automate resource management + (the libzmq C API requires the user to take care to free resources + explicitly) +* cppzmq is a light-weight, header-only binding. You only need to + include the header file zmq.hpp (and maybe zmq_addon.hpp) to use it. +* zmq.hpp is meant to contain direct mappings of the abstractions + provided by the libzmq C API, while zmq_addon.hpp provides additional + higher-level abstractions. + |