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

#include <traits.hpp>

Public Types

typedef Expr::proto_child0 value_type
 The raw type of the Nth child as it is stored within Expr. More...
 
typedef detail::term_traits
< typename Expr::proto_child0 >
::const_reference 
type
 The "const reference" type of the child, suitable for storage by const reference, computed as follows: More...
 

Public Member Functions

 BOOST_STATIC_ASSERT (0==Expr::proto_arity_c)
 Verify that we are actually operating on a terminal. More...
 

Member Typedef Documentation

template<typename Expr >
typedef detail::term_traits<typename Expr::proto_child0>::const_reference boost::proto::result_of::value< Expr const & >::type

The "const reference" type of the child, suitable for storage by const reference, computed as follows:

  • T const(&)[N] becomes T const(&)[N]
  • T[N] becomes T const(&)[N]
  • T(&)[N] becomes T(&)[N]
  • R(&)(A0,...) becomes R(&)(A0,...)
  • T const & becomes T const &
  • T & becomes T &
  • T becomes T const &
template<typename Expr >
typedef Expr::proto_child0 boost::proto::result_of::value< Expr const & >::value_type

The raw type of the Nth child as it is stored within Expr.

This may be a value or a reference

Member Function Documentation

template<typename Expr >
boost::proto::result_of::value< Expr const & >::BOOST_STATIC_ASSERT ( = =Expr::proto_arity_c)

Verify that we are actually operating on a terminal.


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