Logo MTL4

mtl::sfunctor Namespace Reference

Namespace for functors with static function apply and fully typed paramaters. More...


Classes

struct  compose
 Compose functors F and G, i.e. compute f(g(x)). More...
struct  compose_first
 Compose functors F and G with G in F's first argument, i.e. compute f(g(x), y). More...
struct  compose_second
 Compose functors F and G with G in F's second argument, i.e. compute f(x, g(y)). More...
struct  compose_both
 Compose functors F, G, and H with G/H in F's first/second argument, i.e. compute f(g(x), h(y)). More...
struct  compose_binary
 Compose unary functor F with binary functor G, i.e. compute f(g(x, y)). More...
struct  l_2_2D
 Templatized example of composition, computes l_2 norm in 2D, i.e. sqrt(abs(x*x + y*y)). More...


Detailed Description

Namespace for functors with static function apply and fully typed paramaters.


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