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

Unary function composition of a binary and unary functions: f(g(x),h(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_binary_unary ()
 Default constructor.
 unary_compose_binary_unary (const F &f, const G &g, const H &h)
 Construct from functors.
result_type operator() (const argument_type &x) const
 Return f(g(x),h(x)).

Protected Attributes

_f
 The outer binary functor.
_g
 The first inner unary functor.
_h
 The second inner unary functor.

Detailed Description

template<class F, class G, class H>
class unary_compose_binary_unary< F, G, H >

Unary function composition of a binary and unary functions: f(g(x),h(x)).

This has the same functionality as the SGI extension functor binary_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