All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends Macros Pages
Public Member Functions | List of all members
paal::utils::property_map_get< Map > Class Template Reference

Functor object for property map get. This class exists because std::bind can't be used with polymorphic functions and we don't have polymorphic lambdas yet to allow perfect forwarding. More...

#include <property_map.hpp>

Public Member Functions

 property_map_get (Map map)
 constructor More...
 
template<class Key >
auto operator() (Key &&key) const -> puretype(get(m_map, std::forward< Key >(key)))
 operator More...
 

Detailed Description

template<class Map>
class paal::utils::property_map_get< Map >

Functor object for property map get. This class exists because std::bind can't be used with polymorphic functions and we don't have polymorphic lambdas yet to allow perfect forwarding.

Template Parameters
Map

Definition at line 35 of file property_map.hpp.

Constructor & Destructor Documentation

template<class Map >
paal::utils::property_map_get< Map >::property_map_get ( Map  map)
inline

constructor

Parameters
map

Definition at line 45 of file property_map.hpp.

Member Function Documentation

template<class Map >
template<class Key >
auto paal::utils::property_map_get< Map >::operator() ( Key &&  key) const -> puretype(get(m_map, std::forward<Key>(key)))
inline

operator

Template Parameters
Key
Parameters
key
Returns

Definition at line 56 of file property_map.hpp.


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