Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::function_property_map< Func, Key, Ret > Class Template Reference

#include <function_property_map.hpp>

Inheritance diagram for boost::function_property_map< Func, Key, Ret >:
Collaboration diagram for boost::function_property_map< Func, Key, Ret >:

Public Types

typedef Key key_type
 
typedef Ret reference
 
typedef boost::remove_cv
< typename
boost::remove_reference< Ret >
::type >::type 
value_type
 
typedef boost::mpl::if_
< boost::mpl::and_
< boost::is_reference< Ret >
, boost::mpl::not_
< boost::is_const< Ret >
> >, boost::lvalue_property_map_tag,
boost::readable_property_map_tag >
::type 
category
 

Public Member Functions

 function_property_map (Func f=Func())
 
reference operator[] (const Key &k) const
 

Member Typedef Documentation

template<typename Func , typename Key , typename Ret = typename boost::result_of<const Func(const Key&)>::type>
typedef boost::mpl::if_< boost::mpl::and_< boost::is_reference<Ret>, boost::mpl::not_<boost::is_const<Ret> > >, boost::lvalue_property_map_tag, boost::readable_property_map_tag>::type boost::function_property_map< Func, Key, Ret >::category
template<typename Func , typename Key , typename Ret = typename boost::result_of<const Func(const Key&)>::type>
typedef Key boost::function_property_map< Func, Key, Ret >::key_type
template<typename Func , typename Key , typename Ret = typename boost::result_of<const Func(const Key&)>::type>
typedef Ret boost::function_property_map< Func, Key, Ret >::reference
template<typename Func , typename Key , typename Ret = typename boost::result_of<const Func(const Key&)>::type>
typedef boost::remove_cv<typename boost::remove_reference<Ret>::type>::type boost::function_property_map< Func, Key, Ret >::value_type

Constructor & Destructor Documentation

template<typename Func , typename Key , typename Ret = typename boost::result_of<const Func(const Key&)>::type>
boost::function_property_map< Func, Key, Ret >::function_property_map ( Func  f = Func())
inline

Member Function Documentation

template<typename Func , typename Key , typename Ret = typename boost::result_of<const Func(const Key&)>::type>
reference boost::function_property_map< Func, Key, Ret >::operator[] ( const Key &  k) const
inline

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