diff --git a/AK/StdLibExtraDetails.h b/AK/StdLibExtraDetails.h index 41f1ccc530..85fb434255 100644 --- a/AK/StdLibExtraDetails.h +++ b/AK/StdLibExtraDetails.h @@ -557,6 +557,22 @@ inline constexpr bool IsSpecializationOf = false; template typename U, typename... Us> inline constexpr bool IsSpecializationOf, U> = true; +template +struct __decay { + typedef Detail::RemoveCVReference type; +}; +template +struct __decay { + typedef T* type; +}; +template +struct __decay { + typedef T* type; +}; +// FIXME: Function decay +template +using Decay = typename __decay::type; + } using AK::Detail::AddConst; using AK::Detail::AddLvalueReference;