A metafunction for generating unary expression types with a specified tag type, a grammar element for matching unary expressions, and a PrimitiveTransform that dispatches to the pass_through<>
transform.
More...
#include <traits.hpp>
Classes | |
struct | impl |
Public Types | |
typedef proto::expr< Tag, list1< T >, 1 > | type |
typedef proto::basic_expr< Tag, list1< T >, 1 > | proto_grammar |
typedef Tag | proto_tag |
INTERNAL ONLY. More... | |
typedef T | proto_child0 |
INTERNAL ONLY. More... | |
typedef unary_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 unary expression types with a specified tag type, a grammar element for matching unary expressions, and a PrimitiveTransform that dispatches to the pass_through<>
transform.
Use unary_expr<_, _>
as a grammar element to match any unary expression.
typedef T boost::proto::unary_expr< Tag, T >::proto_child0 |
INTERNAL ONLY.
typedef proto::basic_expr<Tag, list1<T>, 1> boost::proto::unary_expr< Tag, T >::proto_grammar |
typedef Tag boost::proto::unary_expr< Tag, T >::proto_tag |
INTERNAL ONLY.
|
inherited |
typedef proto::expr<Tag, list1<T>, 1> boost::proto::unary_expr< Tag, T >::type |
|
inherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |