mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 16:47:36 +00:00
AK: Add IsPOD<T> template to StdLibExtras
This commit is contained in:
parent
03b251a704
commit
805f8496be
1 changed files with 4 additions and 0 deletions
|
@ -490,6 +490,9 @@ struct __AssertSize : TrueType {
|
|||
template<typename T, unsigned ExpectedSize>
|
||||
using AssertSize = __AssertSize<T, ExpectedSize, sizeof(T)>;
|
||||
|
||||
template<typename T>
|
||||
inline constexpr bool IsPOD = __is_pod(T);
|
||||
|
||||
template<typename T>
|
||||
inline constexpr bool IsTrivial = __is_trivial(T);
|
||||
|
||||
|
@ -589,6 +592,7 @@ using AK::Detail::IsLvalueReference;
|
|||
using AK::Detail::IsMoveAssignable;
|
||||
using AK::Detail::IsMoveConstructible;
|
||||
using AK::Detail::IsNullPointer;
|
||||
using AK::Detail::IsPOD;
|
||||
using AK::Detail::IsPointer;
|
||||
using AK::Detail::IsRvalueReference;
|
||||
using AK::Detail::IsSame;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue