Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::spirit::traits::make_attribute< Attribute, ActualAttribute > Struct Template Reference

#include <attributes.hpp>

Inheritance diagram for boost::spirit::traits::make_attribute< Attribute, ActualAttribute >:

Public Types

typedef remove_const
< Attribute >::type 
attribute_type
 
typedef mpl::if_< is_same
< typename remove_const
< ActualAttribute >::type,
unused_type >, attribute_type,
ActualAttribute & >::type 
type
 
typedef mpl::if_< is_same
< typename remove_const
< ActualAttribute >::type,
unused_type >, attribute_type,
ActualAttribute >::type 
value_type
 

Static Public Member Functions

static Attribute call (unused_type)
 
template<typename T >
static Tcall (T &value)
 

Member Typedef Documentation

template<typename Attribute, typename ActualAttribute>
typedef remove_const<Attribute>::type boost::spirit::traits::make_attribute< Attribute, ActualAttribute >::attribute_type
template<typename Attribute, typename ActualAttribute>
typedef mpl::if_< is_same<typename remove_const<ActualAttribute>::type, unused_type> , attribute_type , ActualAttribute&>::type boost::spirit::traits::make_attribute< Attribute, ActualAttribute >::type
template<typename Attribute, typename ActualAttribute>
typedef mpl::if_< is_same<typename remove_const<ActualAttribute>::type, unused_type> , attribute_type , ActualAttribute>::type boost::spirit::traits::make_attribute< Attribute, ActualAttribute >::value_type

Member Function Documentation

template<typename Attribute, typename ActualAttribute>
static Attribute boost::spirit::traits::make_attribute< Attribute, ActualAttribute >::call ( unused_type  )
inlinestatic
template<typename Attribute, typename ActualAttribute>
template<typename T >
static T& boost::spirit::traits::make_attribute< Attribute, ActualAttribute >::call ( T value)
inlinestatic

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