tlx
|
The noop functor, which takes any arguments and does nothing. More...
#include <no_operation.hpp>
Public Member Functions | |
NoOperation (ReturnType return_value=ReturnType()) | |
ReturnType | operator() (...) const noexcept |
Protected Attributes | |
ReturnType | return_value_ |
The noop functor, which takes any arguments and does nothing.
This is a good default argument for lambda function parameters.
Definition at line 22 of file no_operation.hpp.
|
inlineexplicit |
Definition at line 25 of file no_operation.hpp.
|
inlinenoexcept |
Definition at line 28 of file no_operation.hpp.
|
protected |
Definition at line 33 of file no_operation.hpp.