syntax

Synopsis

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

Description

Wrapper for angle-bracket expressions. Wrapped expressions can be passed around in lazy template metaprograms. Evaluating a wrapped value returns itself, thus the wrapped expression does not get accidentally evaluated. The tag of the syntax values is syntax_tag.

#include <mpllibs/metamonad/syntax.hpp>

Example

struct my_var_id;

syntax<
  boost::mpl::plus<var<my_var_id>, boost::mpl::int_<13>>
>

[up]