Define default key to location mapping strategy used in the directory class used by containers and the PARAGRAPH.
More...
|
| default_key_mapper (std::size_t domain_size) |
|
void | set_num_locations (size_t nlocs) |
|
constexpr bool | is_perfect_mapper (void) const |
|
std::pair< location_type, loc_qual > | operator() (Key const &key) const |
| Map key value to a location in this space. More...
|
|
template<typename Key>
class stapl::detail::default_key_mapper< Key >
Define default key to location mapping strategy used in the directory class used by containers and the PARAGRAPH.
- Template Parameters
-
Key | Key type which is mapped to a location |
◆ operator()()
Map key value to a location in this space.
- Parameters
-
- Returns
- location identifier
The documentation for this class was generated from the following file: