MCPcopy Create free account
hub / github.com/BehaviorTree/BehaviorTree.CPP / swap

Function swap

3rdparty/cppzmq/zmq.hpp:731–735  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

729 }
730
731 void swap(message_t &other) ZMQ_NOTHROW
732 {
733 // this assumes zmq::msg_t from libzmq is trivially relocatable
734 std::swap(msg, other.msg);
735 }
736
737 ZMQ_NODISCARD zmq_msg_t *handle() ZMQ_NOTHROW { return &msg; }
738 ZMQ_NODISCARD const zmq_msg_t *handle() const ZMQ_NOTHROW { return &msg; }

Callers 7

zmq.hppFile · 0.70
socket_tClass · 0.70
swapMethod · 0.70
monitor_tMethod · 0.70
monitor_tClass · 0.70
writerLoopMethod · 0.50
writerLoopMethod · 0.50

Calls 1

swapMethod · 0.45

Tested by

no test coverage detected