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