| 100 | } |
| 101 | |
| 102 | void 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 | |
| 113 | std::ostream& operator<<(std::ostream& stream, const Order& value) |
| 114 | { |