reSIProcate
SIP stack, Dialog Usage Manager and related libraries
Loading...
Searching...
No Matches
HashMap.hxx File Reference

Wraps your platform's implementation of hash_map, hash_multimap, and hash_set. More...

#include <unordered_map>
#include <unordered_set>

Go to the source code of this file.

Macros

#define HashMap   std::unordered_map
 
#define HashSet   std::unordered_set
 
#define HashMultiMap   std::unordered_multimap
 
#define HashValue(type)
 
#define HashValueImp(type, ret)   size_t std::hash<type>::operator()(const type& data) const { return ret; }
 

Detailed Description

Wraps your platform's implementation of hash_map, hash_multimap, and hash_set.

Definition in file HashMap.hxx.

Macro Definition Documentation

◆ HashMap

#define HashMap   std::unordered_map

Definition at line 14 of file HashMap.hxx.

◆ HashMultiMap

#define HashMultiMap   std::unordered_multimap

Definition at line 16 of file HashMap.hxx.

◆ HashSet

#define HashSet   std::unordered_set

Definition at line 15 of file HashMap.hxx.

◆ HashValue

#define HashValue (   type)
Value:
template <> \
struct std::hash<type> \
{ \
size_t operator()(const type& data) const; \
};

Definition at line 18 of file HashMap.hxx.

◆ HashValueImp

#define HashValueImp (   type,
  ret 
)    size_t std::hash<type>::operator()(const type& data) const { return ret; }

Definition at line 24 of file HashMap.hxx.