Glossary: System Design Beyond the Basics in C++
std::function
Also written: std::function<double()>
A C++ type that holds any callable, such as a lambda. The token bucket takes one as its clock so tests can pass a fake.
Glossary: System Design Beyond the Basics in C++
Also written: std::function<double()>
A C++ type that holds any callable, such as a lambda. The token bucket takes one as its clock so tests can pass a fake.