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

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

#include <sfunctor.hpp>

List of all members.


Detailed Description

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

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

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


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


mtl::sfunctor::compose_second< 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.