All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends Macros Pages
Public Member Functions | List of all members
paal::range_hash Struct Reference

Functor that can be used as a std::unordered_map/set hash param, when key is a range. copied from: http://stackoverflow.com/questions/10405030/c-unordered-map-fail-when-used-with-a-vector-as-key. More...

#include <hash.hpp>

Public Member Functions

template<typename Range >
std::size_t operator() (Range &&range) const
 

Detailed Description

Functor that can be used as a std::unordered_map/set hash param, when key is a range. copied from: http://stackoverflow.com/questions/10405030/c-unordered-map-fail-when-used-with-a-vector-as-key.

Template Parameters
Range

Definition at line 84 of file hash.hpp.

Member Function Documentation

template<typename Range >
std::size_t paal::range_hash::operator() ( Range &&  range) const
inline
Parameters
range
Returns

Definition at line 94 of file hash.hpp.


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