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:
parent
92e824afa1
commit
c8bee92fb9
3 changed files with 16 additions and 0 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue