diff options
Diffstat (limited to 'common/alspan.h')
-rw-r--r-- | common/alspan.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/common/alspan.h b/common/alspan.h index 519f22e4..1d6cdfe5 100644 --- a/common/alspan.h +++ b/common/alspan.h @@ -8,6 +8,7 @@ #include <type_traits> #include "almalloc.h" +#include "altraits.h" namespace al { @@ -37,13 +38,6 @@ constexpr const T* data(std::initializer_list<T> list) noexcept { return list.begin(); } -template<typename T> -struct type_identity { using type = T; }; - -template<typename T> -using type_identity_t = typename type_identity<T>::type; - - constexpr size_t dynamic_extent{static_cast<size_t>(-1)}; template<typename T, size_t E=dynamic_extent> |