summaryrefslogtreecommitdiff
path: root/bindings/cpp
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@fastmq.commkdir>2009-10-01 10:56:17 +0200
committerMartin Sustrik <sustrik@fastmq.commkdir>2009-10-01 10:56:17 +0200
commitcc631c4c6649b0d67114db13386a949426e35dbf (patch)
treefa558bc758a12d924dd81b3cd3cd27ebd7418aae /bindings/cpp
parentf2ff2c6e5c4e244dea28e1ac6ec3f886b7ebc356 (diff)
ZMQII-18: Implement I/O multiplexing (first approximation)
Diffstat (limited to 'bindings/cpp')
-rw-r--r--bindings/cpp/zmq.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/bindings/cpp/zmq.hpp b/bindings/cpp/zmq.hpp
index 5c0ba7c..8a00230 100644
--- a/bindings/cpp/zmq.hpp
+++ b/bindings/cpp/zmq.hpp
@@ -200,6 +200,11 @@ namespace zmq
throw error_t ();
}
+ inline operator void* ()
+ {
+ return ptr;
+ }
+
inline void setsockopt (int option_, const void *optval_,
size_t optvallen_)
{