Holds the key and its hash for faster comparisons and hashing.
Definition in file cached_hash.hpp.
Go to the source code of this file.
#include <functional>#include <type_traits>
This graph shows which files directly or indirectly include this file:Classes | |
| struct | utils::CachedHash< Key > |
| Holds the key and its hash for faster comparisons and hashing. More... | |
| class | utils::CachedHashKeyEqual< Equal, class > |
| Compares utils::CachedHash only by keys. More... | |
| class | utils::CachedHashKeyEqual< Equal, std::false_type > |
| struct | std::hash<::utils::CachedHash< T > > |
Namespaces | |
| namespace | utils |
| Utilities. | |
Functions | |
| template<class T> | |
| constexpr bool | utils::operator== (const CachedHash< T > &x, const CachedHash< T > &y) |
| Compares utils::CachedHash by hash first and then by keys. | |
| template<class T> | |
| constexpr bool | utils::operator!= (const CachedHash< T > &x, const CachedHash< T > &y) |
| Compares utils::CachedHash by hash first and then by keys. | |