eval_syntax

Synopsis

template <class E>
struct eval_syntax
{
  // unspecified
};

Description

Metafunction for evaluating an angle-bracket expression wrapped by syntax.

#include <mpllibs/metamonad/eval_syntax.hpp>

Expression semantics

For any t type

eval_syntax<syntax<t>>::type

is equivalent with

t::type

Example

eval_syntax<syntax<boost::mpl::plus<int_<1>, int_<2>>>>>::type

[up]