From d963842d7042905e560160069b1352d2cf14906d Mon Sep 17 00:00:00 2001 From: Antony Polukhin Date: Tue, 17 Apr 2012 18:00:30 +0000 Subject: [PATCH] Typo fix in documentation. New line added to the end of lexical_cast.hpp file [SVN r78051] --- doc/lexical_cast.qbk | 2 +- include/boost/lexical_cast.hpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/lexical_cast.qbk b/doc/lexical_cast.qbk index 5613cd0..c786fbc 100644 --- a/doc/lexical_cast.qbk +++ b/doc/lexical_cast.qbk @@ -102,7 +102,7 @@ The character type of the underlying stream is assumed to be `char` unless eithe * 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 *` * Strings: `std::basic_string`, `boost::containers::basic_string` -* Character ranges: `boost::iterator_range`, `boost::iterator_range` +* `boost::iterator_range`, where `WideCharPtr` is a pointer to wide-character or pointer to const wide-character [important Many compilers and runtime libraries fail to make conversions using new Unicode characters. Make shure that the following code compiles and outputs nonzero values, before using new types: `` diff --git a/include/boost/lexical_cast.hpp b/include/boost/lexical_cast.hpp index 9897f16..2e5c140 100644 --- a/include/boost/lexical_cast.hpp +++ b/include/boost/lexical_cast.hpp @@ -2287,3 +2287,4 @@ namespace boost { #undef BOOST_LCAST_NO_WCHAR_T #endif // BOOST_LEXICAL_CAST_INCLUDED +