OpenSiv3D  v0.6.5
C++20 framework for creative coding
HashTable.hpp File Reference
#include "Common.hpp"
#include <ThirdParty/parallel_hashmap/phmap.h>
#include "HeterogeneousLookupHelper.hpp"
#include "FormatData.hpp"
#include "detail/HashTable.ipp"

Namespaces

 s3d
 

Typedefs

template<class Key , class Value , class Hash = std::conditional_t<std::is_same_v<Key, String>, StringHash, phmap::priv::hash_default_hash<Key>>, class Eq = std::conditional_t<std::is_same_v<Key, String>, StringCompare, phmap::priv::hash_default_eq<Key>>, class Alloc = phmap::priv::Allocator<phmap::priv::Pair<const Key, Value>>>
using s3d::HashTable = phmap::flat_hash_map< Key, Value, Hash, Eq, Alloc >
 ハッシュテーブル More...
 

Functions

template<class Key , class Value >
void s3d::swap (HashTable< Key, Value > &a, HashTable< Key, Value > &b) noexcept
 
template<class Key , class Value >
void s3d::Formatter (FormatData &formatData, const HashTable< Key, Value > &table)