diff --git a/lexical_cast.htm b/lexical_cast.htm
index b8002ca..16ce762 100644
--- a/lexical_cast.htm
+++ b/lexical_cast.htm
@@ -196,28 +196,44 @@ public:
Exception used to indicate runtime lexical_cast
failure.
lexical_cast
used the default stream precision for reading
- and writing floating-point numbers. For numerics that have a corresponding specialization of
- std::numeric_limits
, the current version now chooses a precision to match.
- lexical_cast
did not support conversion to or from any
- wide-character-based types. For compilers with full language and library support for wide characters,
- lexical_cast
now supports conversions from wchar_t
, wchar_t *
,
- and std::wstring
and to wchar_t
and std::wstring
.
- lexical_cast
assumed that the conventional stream extractor
- operators were sufficient for reading values. However, string I/O is asymmetric, with the result
- that spaces play the role of I/O separators rather than string content. The current version fixes
- this error for std::string
and, where supported, std::wstring
:
- lexical_cast<std::string>("Hello, World")
succeeds instead of failing with
- a bad_lexical_cast
exception.
- lexical_cast
allowed unsafe and meaningless conversions to
- pointers. The current version now throws a bad_lexical_cast
for conversions to pointers:
- lexical_cast<char *>("Goodbye, World")
now throws an exception instead of
- causing undefined behavior.
- lexical_cast
used the default stream
+ precision for reading and writing floating-point numbers. For numerics that
+ have a corresponding specialization of std::numeric_limits
, the
+ current version now chooses a precision to match. lexical_cast
did not support conversion
+ to or from any wide-character-based types. For compilers with full language
+ and library support for wide characters, lexical_cast
now supports
+ conversions from wchar_t
, wchar_t *
, and std::wstring
+ and to wchar_t
and std::wstring
. lexical_cast
assumed that the conventional
+ stream extractor operators were sufficient for reading values. However, string
+ I/O is asymmetric, with the result that spaces play the role of I/O separators
+ rather than string content. The current version fixes this error for std::string
+ and, where supported, std::wstring
: lexical_cast<std::string>("Hello,
+ World")
succeeds instead of failing with a bad_lexical_cast
+ exception. lexical_cast
allowed unsafe and meaningless
+ conversions to pointers. The current version now throws a bad_lexical_cast
+ for conversions to pointers: lexical_cast<char *>("Goodbye, World")
+ now throws an exception instead of causing undefined behavior.
+