diff --git a/doc/lexical_cast.qbk b/doc/lexical_cast.qbk index 1be027e..3d0e319 100644 --- a/doc/lexical_cast.qbk +++ b/doc/lexical_cast.qbk @@ -119,15 +119,14 @@ The requirements on the argument and result types for both functions are: * Target is CopyConstructible [20.1.3]. * Target is DefaultConstructible, meaning that it is possible to default-initialize an object of that type [8.5, 20.1.4]. -The character type of the underlying stream is assumed to be `char` unless either the `Source` or the `Target` requires wide-character streaming, in which case the underlying stream uses `wchar_t`, `char16_t` or `char32_t`. Wide-character streaming is currently detected for: +The character type of the underlying stream is assumed to be `char` unless either the `Source` or the `Target` requires wide-character streaming, in which case the underlying stream uses `wchar_t`. Following types also can use `char16_t` or `char32_t` for wide-character streaming: -* Single character: `wchar_t`, `char16_t`, `char32_t` -* Arrays of characters: `wchar_t *`, `char16_t *`, `char32_t *`, `const wchar_t *`, `const char16_t *`, `const char32_t *` +* Single character: `char16_t`, `char32_t` +* Arrays of characters: `char16_t *`, `char32_t *`, `const char16_t *`, `const char32_t *` * Strings: `std::basic_string`, `boost::containers::basic_string` * `boost::iterator_range`, where `WideCharPtr` is a pointer to wide-character or pointer to const wide-character * `boost::array` and `std::array`, `boost::array` and `std::array` - [important Many compilers and runtime libraries fail to make conversions using new Unicode characters. Make sure that the following code compiles and outputs nonzero values, before using new types: `` std::cout @@ -273,6 +272,10 @@ limitation of compiler options that you use. [section Changes] +* [*boost 1.53.0 :] + + * Much better input and output streams detection for user defined types. + * [*boost 1.52.0 :] * Restored compilation on MSVC-2003 (was broken in 1.51.0).