Applies a metafunction class in infix notation. More...
#include <boost/mpl11/fwd/functional.hpp>
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.