Declare explicit specializations for `CharStringT`

pull/1265/head
Mikael Hermansson 2023-10-12 16:00:48 +02:00
parent 55618ebf58
commit 6e05b978b8
1 changed files with 12 additions and 0 deletions

View File

@ -120,6 +120,18 @@ protected:
void copy_from(const T *p_cstr);
};
template <>
const char *CharStringT<char>::get_data() const;
template <>
const char16_t *CharStringT<char16_t>::get_data() const;
template <>
const char32_t *CharStringT<char32_t>::get_data() const;
template <>
const wchar_t *CharStringT<wchar_t>::get_data() const;
typedef CharStringT<char> CharString;
typedef CharStringT<char16_t> Char16String;
typedef CharStringT<char32_t> Char32String;