From 42e7585dd41ca02ca0784c3aba5c177f27b49e99 Mon Sep 17 00:00:00 2001 From: Antony Polukhin Date: Fri, 28 Sep 2012 18:31:53 +0000 Subject: [PATCH] Tiny documentation update (refs #7421) [SVN r80739] --- doc/lexical_cast.qbk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/lexical_cast.qbk b/doc/lexical_cast.qbk index 9892a29..ddc0e06 100644 --- a/doc/lexical_cast.qbk +++ b/doc/lexical_cast.qbk @@ -107,8 +107,8 @@ Library features defined in [@boost:boost/lexical_cast.hpp boost/lexical_cast.hp 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 - Target lexical_cast(const CharType* chars, std::size_t count); + template + 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.