Jpp test-rotations-old
the software that should make you happy
|
Auxiliary data structure to convert (lambda) function to printable object. More...
#include <JManip.hh>
Public Types | |
typedef std::function< void(std::ostream &)> | function_type |
Type definition of print function. | |
Public Member Functions | |
LAMBDA (const function_type &f1) | |
Constructor. | |
Private Attributes | |
const function_type & | f1 |
Friends | |
std::ostream & | operator<< (std::ostream &out, const LAMBDA &object) |
Write printable object to output stream. | |
Auxiliary data structure to convert (lambda) function to printable object.
The (lambda) function should conform with the type definition LAMBDA::function_type.
This data structure acts as a simple "wrapper" and should be used if the lambda has capture functionality.
std::function<void(std::ostream&)> LAMBDA::function_type |
|
inline |
Constructor.
f1 | (lambda) function |
|
friend |
|
private |