forked from boostorg/conversion
char16_t and char32_t conversions now work on gcc for C locale
Optimizations for C locale Performance section of documentation updated [SVN r74432]
This commit is contained in:
1 parent
2acef7aa44
commit
d2ae7fdbd7
3 files changed
+448
-517
No files matched your search
@@ -756,6 +756,16 @@ void test_conversion_from_to_integral()
|
||||
test_conversion_from_integral_to_char<T>(wzero);
|
||||
test_conversion_from_char_to_integral<T>(wzero);
|
||||
#endif
|
||||
#ifndef BOOST_NO_CHAR16_T
|
||||
char16_t const u16zero = u'0';
|
||||
test_conversion_from_integral_to_char<T>(u16zero);
|
||||
test_conversion_from_char_to_integral<T>(u16zero);
|
||||
#endif
|
||||
#ifndef BOOST_NO_CHAR32_T
|
||||
char32_t const u32zero = u'0';
|
||||
test_conversion_from_integral_to_char<T>(u32zero);
|
||||
test_conversion_from_char_to_integral<T>(u32zero);
|
||||
#endif
|
||||
|
||||
BOOST_CHECK(lexical_cast<T>("-1") == static_cast<T>(-1));
|
||||
BOOST_CHECK(lexical_cast<T>("-9") == static_cast<T>(-9));
|
||||
|
||||
Reference in new issue
Block a user