MPL11
 All Classes Namespaces Files Typedefs Macros Groups Pages
boost::mpl11::maybe< def, f, m > Struct Template Reference

Applies a metafunction class to a Maybe, with a fallback result. More...

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

Detailed Description

template<typename def, typename f, typename m>
struct boost::mpl11::maybe< def, f, m >

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.