|
Leka
A low-latency C++20 price-time-priority limit order book and matching engine
|
Generates monotonically increasing order identifiers. More...
#include <order_id_generator.hpp>
Public Member Functions | |
| OrderId | generate () |
| Returns the next valid order identifier or throws on exhaustion. | |
Generates monotonically increasing order identifiers.
Definition at line 10 of file order_id_generator.hpp.
| OrderId lob::OrderIdGenerator::generate | ( | ) |
Returns the next valid order identifier or throws on exhaustion.
Advances the generator without allowing identifiers to wrap to zero.
Definition at line 10 of file order_id_generator.cpp.