template <class Exp>
struct eval
{
// unspecified
};
Metafunction adding an extra level of evaluation to a value. When the metafunction is evaluated, it returns Exp::type::type
.
#include <mpllibs/metamonad/eval.hpp>
For any t
type:
eval<t>::type
is equivalent to
t::type::type
template <class C, class T, class F>
struct eval_if : eval<boost::mpl::if_<C, T, F>> {};
Copyright Abel Sinkovics (abel at elte dot hu) 2011. Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt