ATLAS Offline Software
Loading...
Searching...
No Matches
CxxUtils::detail::IsConcurrentHashmapPayload Concept Reference

Concept for a value that can be saved in a concurrent hash map. More...

#include <ConcurrentHashmapImpl.h>

Concept definition

template<class T>
concept CxxUtils::detail::IsConcurrentHashmapPayload = std::is_standard_layout_v<T> &&
std::is_trivial_v<T> &&
sizeof (T) <= sizeof (ConcurrentHashmapVal_t)
Concept for a value that can be saved in a concurrent hash map.
uintptr_t ConcurrentHashmapVal_t
Type used for keys and values — an unsigned big enough to hold a pointer.

Detailed Description

Concept for a value that can be saved in a concurrent hash map.

Must be a trivial type that can fit in a uintptr_t

Definition at line 49 of file ConcurrentHashmapImpl.h.