Logo MTL4
Classes
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 -- Gen. with rev. 7542 on Sat Aug 11 2012 by doxygen 1.7.6.1 -- © 2010 by SimuNova UG.