Logo MTL4

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

Compose unary functor F with binary functor G, 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_binary< F, G >

Compose unary functor F with binary functor G, i.e. compute f(g(x, y)).

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


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


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