1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 22:57:44 +00:00

AK: Add the concept of hash-compatible types

This commit is contained in:
Hendiadyoin1 2021-11-07 14:50:41 +01:00 committed by Ali Mohammad Pur
parent 92e824afa1
commit c8bee92fb9
3 changed files with 16 additions and 0 deletions

View file

@ -7,10 +7,16 @@
#pragma once
#include <AK/Concepts.h>
#include <AK/Forward.h>
namespace AK {
namespace Detail {
template<Concepts::AnyString T, Concepts::AnyString U>
inline constexpr bool IsHashCompatible<T, U> = true;
}
enum class CaseSensitivity {
CaseInsensitive,
CaseSensitive,