|
Jpp
18.5.2
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. More... | |
Public Member Functions | |
| LAMBDA (const function_type &f1) | |
| Constructor. More... | |
Private Attributes | |
| const function_type & | f1 |
Friends | |
| std::ostream & | operator<< (std::ostream &out, const LAMBDA &object) |
| Write printable object to output stream. More... | |
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.
| typedef std::function<void(std::ostream&)> LAMBDA::function_type |
|
inline |
Constructor.
| f1 | (lambda) function |
|
friend |
|
private |
1.8.5