Function object that compose two function objects.
More...
#include <functional.hpp>
List of all members.
Public Member Functions |
F1::result_type | operator() (typename F2::argument_type &a) const |
| Return (F1 o F2)(a).
|
Detailed Description
template<typename F1, typename F2>
class claw::unary_compose< F1, F2 >
Function object that compose two function objects.
Template arguments :
- F1 The type of the first function, must be a model of Adaptable Unary Function,
- F2 The type of the second function, must be a model of Adaptable Unary Function.
- Author:
- Julien Jorge
Definition at line 211 of file functional.hpp.
Member Function Documentation
template<typename F1 , typename F2 >
F1::result_type claw::unary_compose< F1, F2 >::operator() |
( |
typename F2::argument_type & |
a |
) |
const [inline] |
Return (F1 o F2)(a).
Definition at line 220 of file functional.hpp.
{
return F1()( F2()(a) );
}
The documentation for this class was generated from the following file: