Logo MTL4

mtl::sfunctor::compose< F, G > Struct Template Reference

Compose functors F and G, i.e. compute f(g(x)). More...

#include <sfunctor.hpp>

List of all members.


Detailed Description

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

Compose functors F and G, i.e. compute f(g(x)).

Functors must be models of StaticUnaryFunctor, StaticUnaryFunctor<G>::result_type must be convertible to StaticUnaryFunctor<F>::argument_type. Under these conditions compose<F, G> will be a model of StaticUnaryFunctor.


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


mtl::sfunctor::compose< F, G > Struct Template Reference -- MTL 4 -- Peter Gottschling and Andrew Lumsdaine -- Generated on 24 Aug 2009 by Doxygen 1.5.9 -- Copyright 2008-09 by TU Dresden and the Trustees of Indiana University.