![]() |
algotradelib 0.0.0.9000
C++ header-only library for algorithmic trading
|
A plain callback that cannot be copied. More...
#include <algotradelib/src/core/broker_verbs.hpp>
Public Member Functions | |
| MoveOnlyCallback ()=default | |
| Constructs the callback. | |
| MoveOnlyCallback (MoveOnlyCallback &&)=default | |
| Move constructor (the callback has no state). | |
| MoveOnlyCallback & | operator= (MoveOnlyCallback &&)=default |
| Move assignment. | |
| MoveOnlyCallback (const MoveOnlyCallback &)=delete | |
| MoveOnlyCallback & | operator= (const MoveOnlyCallback &)=delete |
| template<typename T> | |
| void | operator() (T) |
| Accepts and discards any completion argument. | |
A plain callback that cannot be copied.
Definition at line 44 of file broker_verbs.hpp.
|
default |
Constructs the callback.
Referenced by MoveOnlyCallback(), and operator=().
|
inline |
Accepts and discards any completion argument.
| T | The argument type. |
Definition at line 62 of file broker_verbs.hpp.
|
default |