|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r80739 - trunk/libs/conversion/doc
From: antoshkka_at_[hidden]
Date: 2012-09-28 14:31:53
Author: apolukhin
Date: 2012-09-28 14:31:53 EDT (Fri, 28 Sep 2012)
New Revision: 80739
URL: http://svn.boost.org/trac/boost/changeset/80739
Log:
Tiny documentation update (refs #7421)
Text files modified:
trunk/libs/conversion/doc/lexical_cast.qbk | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Modified: trunk/libs/conversion/doc/lexical_cast.qbk
==============================================================================
--- trunk/libs/conversion/doc/lexical_cast.qbk (original)
+++ trunk/libs/conversion/doc/lexical_cast.qbk 2012-09-28 14:31:53 EDT (Fri, 28 Sep 2012)
@@ -107,8 +107,8 @@
Returns the result of streaming arg into a standard library string-based stream and then out as a Target object. Where Target is either `std::string` or `std::wstring`, stream extraction takes the whole content of the string, including spaces, rather than relying on the default `operator>>` behavior. If the conversion is unsuccessful, a `bad_lexical_cast` exception is thrown.
``
- template <typename Target, typename CharType>
- Target lexical_cast(const CharType* chars, std::size_t count);
+ template <typename Target>
+ Target lexical_cast(const AnyCharacterType* chars, std::size_t count);
``
Takes an array of `count` characters as input parameter and streams them out as a Target object. If the conversion is unsuccessful, a `bad_lexical_cast` exception is thrown. This call may be useful for processing nonzero terminated array of characters or processing just some part of character array.
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk