Returns a metafunction class computing the least fixed point of f.
More...
#include <boost/mpl11/fwd/functional.hpp>
Returns a metafunction class computing the least fixed point of f.
fix is an implementation of the Y-combinator, also called the fixed point combinator. It encodes the idea of recursion, and in fact any recursive metafunction can be written in terms of it.
f must be a metafunction class whose first argument is another metafunction class. Then, apply<fix<f>, args...> is equivalent to apply<f, partial<f, fix<f>>, args...>.
1.8.7