Logo MTL4
mtl::sfunctor::compose_both< F, G, H > Struct Template Reference

Compose functors F, G, and H with G/H in F's first/second argument, i.e. compute f(g(x), h(y)). More...

#include <sfunctor.hpp>

List of all members.


Detailed Description

template<typename F, typename G, typename H>
struct mtl::sfunctor::compose_both< F, G, H >

Compose functors F, G, and H with G/H in F's first/second argument, i.e. compute f(g(x), h(y)).

F/G must be models of StaticBinaryFunctor/StaticUnaryFunctor, StaticUnaryFunctor<G>::result_type must be convertible to StaticBinaryFunctor<F>::first_argument_type and StaticUnaryFunctor<H>::result_type must be convertible to StaticBinaryFunctor<F>::second_argument_type. Under these conditions compose_both<F, G, H> will be a model of StaticBinaryFunctor.


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


mtl::sfunctor::compose_both< F, G, H > Struct Template Reference -- MTL 4 -- Peter Gottschling and Andrew Lumsdaine -- Gen. with rev. 7542 on Sat Aug 11 2012 by doxygen 1.7.6.1 -- © 2010 by SimuNova UG.