Metafunction class converting an object of the From
datatype to an object of the To
datatype.
More...
#include <boost/mpl11/fwd/core.hpp>
Metafunction class converting an object of the From
datatype to an object of the To
datatype.
By default, cast
does not perform anything if From
and To
are the same datatypes. However, it must be specialized to customize its behavior further. Note that the arguments to cast<From, To>
are data constructors, which do not need to be boxed. Hence, cast
is a call-by-value metafunction class.