MyraMath
Classes | Namespaces | Functions
hashes.h File Reference

Hash functions to allow user-defined-types to be used as std::unordered_map keys. More...

#include <vector>
#include <functional>
Include dependency graph for hashes.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  std::hash< std::pair< First, Second > >
 Enables std::pair's to be used as keys in std::unordered_map. More...
 
struct  std::hash< std::vector< T > >
 Enables std::vector's to be used as keys in std::unordered_map. More...
 

Namespaces

 std
 A std::hash for JobID, so it can be in a std::unordered_set / std::unordered_map.
 

Functions

template<class T >
void myra::hash_combine (size_t &seed, const T &t)
 Combines two existing hashes.
 

Detailed Description

Hash functions to allow user-defined-types to be used as std::unordered_map keys.