theplu::yat::utility::compose_f_gx_hy< F, G, H > Class Template Reference

#include <yat/utility/stl_utility.h>

List of all members.

Public Member Functions

 compose_f_gx_hy (F f, G g, H h)
 Constructor.
bool operator() (double x, double y) const
 Does the work.


Detailed Description

template<class F, class G, class H>
class theplu::yat::utility::compose_f_gx_hy< F, G, H >

See The C++ Standard Library - A Tutorial and Reference by Nicolai M. Josuttis

If f is a binary functor, both g and h are unary functors, and return type of g (and h) is convertible to F's argument type, then compose_f_gx_hy can be used to create a functor equivalent to $ f(g(x), h(y)) $


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

Generated on Tue Jan 18 02:20:11 2011 for yat by  doxygen 1.5.5