MPL11
 All Classes Namespaces Files Typedefs Macros Groups Pages
boost::mpl11::infix< x, f, y > Struct Template Reference

Applies a metafunction class in infix notation. More...

#include <boost/mpl11/fwd/functional.hpp>

Detailed Description

template<typename x, typename f, typename y>
struct boost::mpl11::infix< x, f, y >

Applies a metafunction class in infix notation.

Specifically, infix<x, f, y> is equivalent to apply<f, x, y>. Using infix improves legibility when applying some metafunction classes such as on. Consider infix_<f, on, g> versus on<f, g>. The former reads naturally while the latter requires knowing what each argument stands for.