Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::proto::unary_expr< Tag, T > Struct Template Reference

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>

Inheritance diagram for boost::proto::unary_expr< Tag, T >:
Collaboration diagram for boost::proto::unary_expr< Tag, T >:

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, Ttransform_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
 

Detailed Description

template<typename Tag, typename T>
struct boost::proto::unary_expr< Tag, T >

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.

Member Typedef Documentation

template<typename Tag, typename T>
typedef T boost::proto::unary_expr< Tag, T >::proto_child0

INTERNAL ONLY.

template<typename Tag, typename T>
typedef proto::basic_expr<Tag, list1<T>, 1> boost::proto::unary_expr< Tag, T >::proto_grammar
template<typename Tag, typename T>
typedef Tag boost::proto::unary_expr< Tag, T >::proto_tag

INTERNAL ONLY.

typedef unary_expr< Tag, T > boost::proto::transform< unary_expr< Tag, T > , int >::transform_type
inherited
template<typename Tag, typename T>
typedef proto::expr<Tag, list1<T>, 1> boost::proto::unary_expr< Tag, T >::type

Member Function Documentation

boost::proto::transform< unary_expr< Tag, T > , int >::BOOST_PROTO_CALLABLE ( )
inherited
BOOST_FORCEINLINE boost::proto::detail::apply_transform<transform_type(Expr const &, State const &, Data const &)>::result_type boost::proto::transform< unary_expr< Tag, T > , int >::operator() ( Expr &&  e,
State &&  s,
Data &&  d 
) const
inlineinherited
BOOST_FORCEINLINE boost::proto::detail::apply_transform<transform_type(Expr const &, State const &)>::result_type boost::proto::transform< unary_expr< Tag, T > , int >::operator() ( Expr &&  e,
State &&  s 
) const
inlineinherited
BOOST_FORCEINLINE boost::proto::detail::apply_transform<transform_type(Expr const &)>::result_type boost::proto::transform< unary_expr< Tag, T > , int >::operator() ( Expr &&  e) const
inlineinherited

The documentation for this struct was generated from the following files: