A metafunction for generating nullary expression types with a specified tag type, a grammar element for matching nullary expressions, and a PrimitiveTransform that returns the current expression unchanged. More...
#include <traits.hpp>
Classes | |
struct | impl |
Public Types | |
typedef proto::expr< Tag, term < T >, 0 > | type |
typedef proto::basic_expr< Tag, term< T >, 0 > | proto_grammar |
typedef Tag | proto_tag |
INTERNAL ONLY. More... | |
typedef T | proto_child0 |
INTERNAL ONLY. More... | |
typedef nullary_expr< Tag, T > | transform_type |
Public Member Functions | |
BOOST_PROTO_CALLABLE () typedef intproto_is_transform_ | |
BOOST_FORCEINLINE boost::proto::detail::apply_transform < transform_type(Expr const &)> ::result_type | operator() (Expr &&e) const |
BOOST_FORCEINLINE boost::proto::detail::apply_transform < transform_type(Expr const &, State const &)> ::result_type | operator() (Expr &&e, State &&s) const |
BOOST_FORCEINLINE boost::proto::detail::apply_transform < transform_type(Expr const &, State const &, Data const &)> ::result_type | operator() (Expr &&e, State &&s, Data &&d) const |
A metafunction for generating nullary expression types with a specified tag type, a grammar element for matching nullary expressions, and a PrimitiveTransform that returns the current expression unchanged.
Use nullary_expr<_, _>
as a grammar element to match any nullary expression.
typedef T boost::proto::nullary_expr< Tag, T >::proto_child0 |
INTERNAL ONLY.
typedef proto::basic_expr<Tag, term<T>, 0> boost::proto::nullary_expr< Tag, T >::proto_grammar |
typedef Tag boost::proto::nullary_expr< Tag, T >::proto_tag |
INTERNAL ONLY.
|
inherited |
typedef proto::expr<Tag, term<T>, 0> boost::proto::nullary_expr< Tag, T >::type |
|
inherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |