vtf-logo

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

Binary function composition of a unary and binary function: f(g(x,y)). More...

#include <compose.h>

List of all members.

Public Types

typedef base_type::first_argument_type first_argument_type
 The first argument type.
typedef base_type::second_argument_type second_argument_type
 The second argument type.
typedef base_type::result_type result_type
 The result type.

Public Member Functions

 binary_compose_unary_binary ()
 Default constructor.
 binary_compose_unary_binary (const F &f, const G &g)
 Construct from functors.
result_type operator() (const first_argument_type &x, const second_argument_type &y) const
 Return f(g(x,y)).

Protected Attributes

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


Detailed Description

template<class F, class G>
class ads::binary_compose_unary_binary< F, G >

Binary function composition of a unary and binary function: f(g(x,y)).


The documentation for this class was generated from the following file:
Generated on Fri Aug 24 12:55:39 2007 for Algorithms and Data Structures Package by  doxygen 1.4.7