diff options
author | Shauren <shauren.trinity@gmail.com> | 2023-01-07 22:38:21 +0100 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2023-01-07 22:38:21 +0100 |
commit | 7830e5a7a1b93b0cd083baa3b70a0cfeb475f5f5 (patch) | |
tree | 7598c8f933701868ff6d8642607220c0d9cfa133 /src/common/Utilities/advstd.h | |
parent | ec424dff3b000d281d14460d4d446f978736c123 (diff) |
Core/Misc: Migrate our c++20 advstd to standard features
Diffstat (limited to 'src/common/Utilities/advstd.h')
-rw-r--r-- | src/common/Utilities/advstd.h | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/common/Utilities/advstd.h b/src/common/Utilities/advstd.h index c7727be472b..ff2717c9755 100644 --- a/src/common/Utilities/advstd.h +++ b/src/common/Utilities/advstd.h @@ -18,26 +18,9 @@ #ifndef TRINITY_ADVSTD_H #define TRINITY_ADVSTD_H -#include <cstddef> -#include <type_traits> - // this namespace holds implementations of upcoming stdlib features that our c++ version doesn't have yet namespace advstd { - // C++20 std::remove_cvref_t - template <class T> - using remove_cvref_t = std::remove_cv_t<std::remove_reference_t<T>>; - - // C++20 std::type_identity - template <typename T> - struct type_identity - { - using type = T; - }; - - // C++20 std::type_identity_t - template <typename T> - using type_identity_t = typename type_identity<T>::type; } #endif |