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

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

#include <sfunctor.hpp>

List of all members.


Detailed Description

template<typename F, typename G>
struct mtl::sfunctor::compose_first< F, G >

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

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


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


mtl::sfunctor::compose_first< F, G > 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.