mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 23:37:36 +00:00
AK: Add and use the RemoveCVReference<T> type trait
This commit is contained in:
parent
c8270dbe2e
commit
745a1dbb5d
3 changed files with 16 additions and 4 deletions
|
@ -195,6 +195,9 @@ struct __RemoveReference<T&&> {
|
|||
template<typename T>
|
||||
using RemoveReference = typename __RemoveReference<T>::Type;
|
||||
|
||||
template<typename T>
|
||||
using RemoveCVReference = RemoveCV<RemoveReference<T>>;
|
||||
|
||||
template<typename T>
|
||||
struct __MakeUnsigned {
|
||||
using Type = void;
|
||||
|
@ -478,6 +481,7 @@ using AK::Detail::MakeSigned;
|
|||
using AK::Detail::MakeUnsigned;
|
||||
using AK::Detail::RemoveConst;
|
||||
using AK::Detail::RemoveCV;
|
||||
using AK::Detail::RemoveCVReference;
|
||||
using AK::Detail::RemovePointer;
|
||||
using AK::Detail::RemoveReference;
|
||||
using AK::Detail::RemoveVolatile;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue