CLAW Library (a C++ Library Absolutely Wonderful) 1.5.5
|
Function object that compose two function objects. More...
#include <functional.hpp>
Public Member Functions | |
unary_compose () | |
template<typename G1 , typename G2 > | |
unary_compose (const unary_compose< G1, G2 > &that) | |
Copy constructor. | |
F1::result_type | operator() (typename F2::argument_type &a) const |
Return (F1 o F2)(a). |
Function object that compose two function objects.
Template arguments:
Definition at line 217 of file functional.hpp.
claw::unary_compose< F1, F2 >::unary_compose | ( | ) | [inline] |
Definition at line 222 of file functional.hpp.
{}
claw::unary_compose< F1, F2 >::unary_compose | ( | const unary_compose< G1, G2 > & | that | ) | [inline] |
Copy constructor.
that | The instance to copy from. |
There is actually nothing to copy but this constructor is useful for casting function objects.
Definition at line 232 of file functional.hpp.
{ }
F1::result_type claw::unary_compose< F1, F2 >::operator() | ( | typename F2::argument_type & | a | ) | const [inline] |