Claw  1.7.3
Public Member Functions | List of all members
claw::unary_compose< F1, F2 > Class Template Reference

Function object that compose two function objects. More...

#include <functional.hpp>

Inheritance diagram for claw::unary_compose< F1, F2 >:
unary_function

Public Member Functions

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).

Detailed Description

template<typename F1, typename F2>
class claw::unary_compose< F1, F2 >

Function object that compose two function objects.

Template arguments:

Author
Julien Jorge

Definition at line 217 of file functional.hpp.

Constructor & Destructor Documentation

template<typename F1, typename F2>
template<typename G1 , typename G2 >
claw::unary_compose< F1, F2 >::unary_compose ( const unary_compose< G1, G2 > &  that)
inline

Copy constructor.

Parameters
thatThe 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.


The documentation for this class was generated from the following file: