unary_compose_unary_unary< F, G > Class Template Reference
[Functor: Compose]

Unary function composition of two unary functions: f(g(x)). More...

#include <compose.h>

List of all members.

Public Types

typedef base_type::argument_type argument_type
 The argument type.
typedef base_type::result_type result_type
 The result type.

Public Member Functions

 unary_compose_unary_unary ()
 Default constructor.
 unary_compose_unary_unary (const F &f, const G &g)
 Construct from functors.
result_type operator() (const argument_type &x) const
 Return f(g(x)).

Protected Attributes

_f
 The outer unary functor.
_g
 The inner unary functor.

Detailed Description

template<class F, class G>
class unary_compose_unary_unary< F, G >

Unary function composition of two unary functions: f(g(x)).

This has the same functionality as the SGI extension functor unary_compose.


The documentation for this class was generated from the following file:
Generated on Thu Jun 30 02:14:52 2016 for Algorithms and Data Structures Package by  doxygen 1.6.3