ModErn Text Analysis
META Enumerates Textual Applications
Public Types | List of all members
meta::hashing::hash_traits< T > Struct Template Reference

A traits class for types that may be used as keys or values in the probing hash tables. More...

#include <hash_traits.h>

Public Types

template<class ProbingStrategy , class Hash , class KeyEqual >
using storage_type = typename std::conditional< key_traits< T >::inlineable, inline_key_storage< T, ProbingStrategy, Hash, KeyEqual >, external_key_storage< T, ProbingStrategy, Hash, KeyEqual >>::type
 
using probe_entry = typename std::conditional< key_traits< T >::inlineable, T, hash_idx >::type
 

Detailed Description

template<class T>
struct meta::hashing::hash_traits< T >

A traits class for types that may be used as keys or values in the probing hash tables.

This traits class is used to specify the desired underlying storage type for hash sets. By default, it computes an appropriate storage type based on whether the type is key_inlineable.

This should be specialized if you desire custom behavior.

The class provides the following members:


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