Applies a metafunction class to a Maybe
, with a fallback result.
More...
#include <boost/mpl11/fwd/maybe.hpp>
Applies a metafunction class to a Maybe
, with a fallback result.
Specifically, maybe
takes a default value def
, a metafunction class f
and a Maybe
m
. If m
is nothing
, def
is returned. Otherwise, the result of applying f
to the contents of m
is returned.