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

Method swap

proto/protoex.cpp:118–129  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

116}
117
118void Order::swap(Order& other) noexcept
119{
120 using std::swap;
121 swap(id, other.id);
122 swap(symbol, other.symbol);
123 swap(side, other.side);
124 swap(type, other.type);
125 swap(price, other.price);
126 swap(volume, other.volume);
127 swap(tp, other.tp);
128 swap(sl, other.sl);
129}
130
131std::ostream& operator<<(std::ostream& stream, const Order& value)
132{

Callers

nothing calls this directly

Calls 1

swapFunction · 0.85

Tested by

no test coverage detected