MCPcopy Create free account
hub / github.com/chronoxor/FastBinaryEncoding / swap

Method swap

proto/proto.cpp:102–111  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

100}
101
102void Order::swap(Order& other) noexcept
103{
104 using std::swap;
105 swap(id, other.id);
106 swap(symbol, other.symbol);
107 swap(side, other.side);
108 swap(type, other.type);
109 swap(price, other.price);
110 swap(volume, other.volume);
111}
112
113std::ostream& operator<<(std::ostream& stream, const Order& value)
114{

Callers

nothing calls this directly

Calls 1

swapFunction · 0.85

Tested by

no test coverage detected