6 #error c++11 should be defined    10 #error c++14 should be defined    14 #error c++17 should be defined    26     s.
bind(
"inproc://testcppzmq");
    28     c.
connect(
"inproc://testcppzmq");
    32     const std::string hw = 
"Hello World!";
    36     auto ses = c.
send(smsg, zio::send_flags::none);
    38     assert (*ses == hw.size());
    39     assert (ses.value() == hw.size());
    44     auto res = s.recv(rmsg);
    46     assert (*res == hw.size());
    47     assert (res.value() == hw.size());
    48     assert (rmsg.
size() == hw.size());
    49     std::string hw2(static_cast<char*>(rmsg.
data()), rmsg.
size());
    50     assert (hw2.size() == hw.size());
    53     assert (rmsg.routing_id());
    55     ses = s.
send(rmsg, zio::send_flags::none);
    60     assert (*res == hw.size());
    61     assert (res.value() == hw.size());
    62     assert (rmsg.
size() == hw.size());
    63     std::string hw3(static_cast<char*>(rmsg.
data()), rmsg.
size());
    64     assert (hw3.size() == hw.size());
 
size_t send(const void *buf_, size_t len_, int flags_=0)
 
void * data() ZMQ_NOTHROW
 
void connect(std::string const &addr)
 
size_t size() const ZMQ_NOTHROW
 
void bind(std::string const &addr)