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:
parent
4e0b3991b1
commit
7240e883c5
26 changed files with 152 additions and 29 deletions
|
@ -201,6 +201,7 @@ namespace sprout {
|
|||
|
||||
SPROUT_NUMERIC_LIMITS_INTEGRAL_SPECIALIZED_DECL(signed char, SCHAR_MIN, SCHAR_MAX);
|
||||
SPROUT_NUMERIC_LIMITS_INTEGRAL_SPECIALIZED_DECL(unsigned char, static_cast<unsigned char>(0), UCHAR_MAX);
|
||||
#if SPROUT_USE_UNICODE_LITERALS
|
||||
SPROUT_NUMERIC_LIMITS_INTEGRAL_SPECIALIZED_DECL(
|
||||
char16_t,
|
||||
static_cast<char16_t>(sprout::numeric_limits<std::uint_least16_t>::min()),
|
||||
|
@ -211,6 +212,7 @@ namespace sprout {
|
|||
static_cast<char16_t>(sprout::numeric_limits<std::uint_least32_t>::min()),
|
||||
static_cast<char16_t>(sprout::numeric_limits<std::uint_least32_t>::max())
|
||||
);
|
||||
#endif
|
||||
SPROUT_NUMERIC_LIMITS_INTEGRAL_SPECIALIZED_DECL(wchar_t, WCHAR_MIN, WCHAR_MAX);
|
||||
#undef SPROUT_NUMERIC_LIMITS_INTEGRAL_SPECIALIZED_DECL
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue