Initial version of C++ binding

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Update to 3.0 API

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Compilation errors with 3.0 fixed

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Send and recv with plain buffer as an argument added

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Subject: [PATCH] C++11 move constructor/assignment operator for socket_t and context_t

Added a C++11 move constructor and move assignment operator to zmq::socket_t
and zmq::context_t. These functions are only enabled if the compiler supports
C++11 rvalue references. Currently the code can detect rvalue reference
support for the following compilers: GCC, MSVC, clang.

Signed-off-by: Botond Ballo <botond.ballo@gmail.com>

Copyrights and project name adjusted
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Change the license to MIT

The contributors to cppzmq project agreed on changing the license
from LGPL to MIT.

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Prevent exception to be thrown in the destructor

The only defined error code for zmq_close() is ENOTSOCK
which indicates an error in cppzmq implementation.
It's ok to use assert here instead of throw.

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Prevent unused variable warning in presence of assertions.
Merge pull request #1 from thesamet/master

Prevent unused variable warning in presence of assertions.
Renamed to XS, setctxopt method added

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Revert "Renamed to XS, setctxopt method added"

This reverts commit 0f14f299c3c6564c153e3f9a7c5b3b1295053c63.
Add move constructor to message_t

Add move constructor and assignment operator to message_t (but only if compiler supports it).
Add const data access to message_t

Add a const version of data() and make size() const so we can pass messages around by
const refeference when we only need read-only data access.
Added 'connected' method to socket_t class.
Merge pull request #3 from ricnewton/message_move_constructor

Add move constructor to message_t
Add explicit close method to context_t
Merge pull request #6 from ricnewton/context_close

Add explicit close method to context_t
Merge pull request #5 from ronelliott/master

Added connected helper method.
Merge pull request #4 from ricnewton/const_data_access

Add const data access to message_t
Make single parameter constructors explicit