DKM 4th iteration (tested)
Added Insert and replaced operator[] with Query for clarity, still need to add a delete(and subsequently a tombstoning mechanism)
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
namespace Tourmaline::Containers {
|
||||
template <typename T>
|
||||
concept Hashable = requires(T x) {
|
||||
{ std::hash<T>{x}() } -> std::convertible_to<std::size_t>;
|
||||
{ std::hash<T>{}(x) } -> std::convertible_to<std::size_t>;
|
||||
};
|
||||
} // namespace Tourmaline::Containers
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user