1
0
Fork 0
mirror of https://github.com/bolero-MURAKAMI/Sprout synced 2025-08-03 12:49:50 +00:00

workaround for disable unicode literals and types

This commit is contained in:
bolero-MURAKAMI 2016-03-10 19:17:22 +09:00
parent 4e0b3991b1
commit 7240e883c5
26 changed files with 152 additions and 29 deletions

View file

@ -26,10 +26,12 @@ namespace sprout {
using string = sprout::basic_string<char, N>;
template<std::size_t N>
using wstring = sprout::basic_string<wchar_t, N>;
#if SPROUT_USE_UNICODE_LITERALS
template<std::size_t N>
using u16string = sprout::basic_string<char16_t, N>;
template<std::size_t N>
using u32string = sprout::basic_string<char32_t, N>;
#endif
#endif // #if SPROUT_USE_TEMPLATE_ALIASES
} // namespace sprout