Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::proto::envns_::env< Key, Value, Base > Struct Template Reference

#include <env.hpp>

Inheritance diagram for boost::proto::envns_::env< Key, Value, Base >:
Collaboration diagram for boost::proto::envns_::env< Key, Value, Base >:

Classes

struct  lookup
 INTERNAL ONLY. More...
 
struct  lookup< Key, OtherValue >
 INTERNAL ONLY. More...
 

Public Types

typedef Value value_type
 
typedef add_reference< Value >
::type 
reference
 
typedef add_reference
< typename add_const< Value >
::type >::type 
const_reference
 
typedef void proto_environment_
 INTERNAL ONLY. More...
 

Public Member Functions

 env (const_reference value, Base const &base=Base())
 
const_reference operator[] (Key) const
 
template<typename T >
const_reference at (Key, T const &) const
 

Member Typedef Documentation

template<typename Key , typename Value , typename Base >
typedef add_reference<typename add_const<Value>::type>::type boost::proto::envns_::env< Key, Value, Base >::const_reference
template<typename Key , typename Value , typename Base >
typedef void boost::proto::envns_::env< Key, Value, Base >::proto_environment_

INTERNAL ONLY.

template<typename Key , typename Value , typename Base >
typedef add_reference<Value>::type boost::proto::envns_::env< Key, Value, Base >::reference
template<typename Key , typename Value , typename Base >
typedef Value boost::proto::envns_::env< Key, Value, Base >::value_type

Constructor & Destructor Documentation

template<typename Key , typename Value , typename Base >
boost::proto::envns_::env< Key, Value, Base >::env ( const_reference  value,
Base const &  base = Base() 
)
inlineexplicit

Member Function Documentation

template<typename Key , typename Value , typename Base >
template<typename T >
const_reference boost::proto::envns_::env< Key, Value, Base >::at ( Key  ,
T const &   
) const
inline
template<typename Key , typename Value , typename Base >
const_reference boost::proto::envns_::env< Key, Value, Base >::operator[] ( Key  ) const
inline

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