diff options
author | Sven Gothel <[email protected]> | 2023-05-03 16:17:49 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2023-05-03 16:17:49 +0200 |
commit | ec167fd05661a5b02dd406c87081f84a0f8dd77d (patch) | |
tree | 9c4669e471c9969bda59265381b18d2d416db060 /common/alstring.h | |
parent | 0d14d30808cfe7b9e3413353e3eef8a0f201399a (diff) | |
parent | d3875f333fb6abe2f39d82caca329414871ae53b (diff) |
Merge branch 'v1.23.1'
Resolved Conflicts:
CMakeLists.txt
Diffstat (limited to 'common/alstring.h')
-rw-r--r-- | common/alstring.h | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/common/alstring.h b/common/alstring.h index 194e54a1..6c5004ee 100644 --- a/common/alstring.h +++ b/common/alstring.h @@ -2,22 +2,11 @@ #define AL_STRING_H #include <cstddef> -#include <string> - -#include "almalloc.h" +#include <cstring> namespace al { -template<typename T, typename Tr=std::char_traits<T>> -using basic_string = std::basic_string<T, Tr, al::allocator<T>>; - -using string = basic_string<char>; -using wstring = basic_string<wchar_t>; -using u16string = basic_string<char16_t>; -using u32string = basic_string<char32_t>; - - /* These would be better served by using a string_view-like span/view with * case-insensitive char traits. */ |