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

Namespaces

 s3d
 

Typedefs

template<class Type , class Hash = std::conditional_t<std::is_same_v<Type, String>, StringHash, phmap::priv::hash_default_hash<Type>>, class Eq = std::conditional_t<std::is_same_v<Type, String>, StringCompare, phmap::priv::hash_default_eq<Type>>, class Alloc = phmap::priv::Allocator<Type>>
using s3d::HashSet = phmap::flat_hash_set< Type, Hash, Eq, Alloc >
 

Functions

template<class Type >
void s3d::swap (HashSet< Type > &a, HashSet< Type > &b) noexcept
 
template<class Type >
void s3d::Formatter (FormatData &formatData, const HashSet< Type > &set)