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

A metafunction for generating terminal expression types, a grammar element for matching terminal expressions, and a PrimitiveTransform that returns the current expression unchanged. More...

#include <traits.hpp>

Inheritance diagram for boost::proto::terminal< T >:
Collaboration diagram for boost::proto::terminal< T >:

Classes

struct  impl
 

Public Types

typedef proto::expr
< proto::tag::terminal, term
< T >, 0 > 
type
 
typedef proto::basic_expr
< proto::tag::terminal, term
< T >, 0 > 
proto_grammar
 
typedef proto::tag::terminal proto_tag
 INTERNAL ONLY. More...
 
typedef T proto_child0
 INTERNAL ONLY. More...
 
typedef terminal< 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 T>
struct boost::proto::terminal< T >

A metafunction for generating terminal expression types, a grammar element for matching terminal expressions, and a PrimitiveTransform that returns the current expression unchanged.

Member Typedef Documentation

template<typename T>
typedef T boost::proto::terminal< T >::proto_child0

INTERNAL ONLY.

template<typename T>
typedef proto::basic_expr<proto::tag::terminal, term<T>, 0> boost::proto::terminal< T >::proto_grammar
template<typename T>
typedef proto::tag::terminal boost::proto::terminal< T >::proto_tag

INTERNAL ONLY.

typedef terminal< T > boost::proto::transform< terminal< T > , int >::transform_type
inherited
template<typename T>
typedef proto::expr<proto::tag::terminal, term<T>, 0> boost::proto::terminal< T >::type

Member Function Documentation

boost::proto::transform< terminal< 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< terminal< 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< terminal< 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< terminal< T > , int >::operator() ( Expr &&  e) const
inlineinherited

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