$include_dir="/home/hyper-archives/boost-commit/include"; include("$include_dir/msg-header.inc") ?>
From: Alexander.Nasonov_at_[hidden]
Date: 2007-12-04 16:49:51
Author: nasonov
Date: 2007-12-04 16:49:51 EST (Tue, 04 Dec 2007)
New Revision: 41703
URL: http://svn.boost.org/trac/boost/changeset/41703
Log:
Link to html version of [Tuning] and BOOST_LEXICAL_CAST_ASSUME_C_LOCALE synopsis
Text files modified: 
   trunk/libs/conversion/lexical_cast.htm |    15 +++++++++++++--                         
   1 files changed, 13 insertions(+), 2 deletions(-)
Modified: trunk/libs/conversion/lexical_cast.htm
==============================================================================
--- trunk/libs/conversion/lexical_cast.htm	(original)
+++ trunk/libs/conversion/lexical_cast.htm	2007-12-04 16:49:51 EST (Tue, 04 Dec 2007)
@@ -194,7 +194,18 @@
 </pre>
                         </blockquote>Exception used to indicate runtime lexical_cast
                 failure.
-			<hr>
+		
+<hr>
+  <h2><a name="BOOST_LEXICAL_CAST_ASSUME_C_LOCALE"><code>BOOST_LEXICAL_CAST_ASSUME_C_LOCALE</code></a></h2>
+  <blockquote><pre>#define BOOST_LEXICAL_CAST_ASSUME_C_LOCALE
+
+or,
+
+g++ -DBOOST_LEXICAL_CAST_ASSUME_C_LOCALE ...  (gcc on Linux/Unix)
+cl.exe /DBOOST_LEXICAL_CAST_ASSUME_C_LOCALE ... (Visual C++ on Windows)
+</pre>
+Eliminate an overhead of <code>std::locale</code> if your program runs in the "C" locale. If the option is set but a program runs in other locale, <code>lexical_cast</code> result is unspecified.
+<hr>
                 
 <h2><a name="faq">Frequently Asked Questions</h2>
     <p> Q: Why does <code>lexical_cast<int8_t>("127")</code> throw <code>bad_lexical_cast</code>?
@@ -219,7 +230,7 @@
     <a name="n1973"></a><li> [N1973] Kevlin Henney, Beman Dawes, Lexical Conversion Library Proposal for TR2,
       <a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2006/n1973.html">N1973</a>.
       <a name="tuning"></a><li> [Tuning] Alexander Nasonov, Fine Tuning for lexical_cast,
-      Overload #74,
+      Overload #74 (PDF),
       August 2006.</li>
 </ul>
 <h2><a name="changes">Changes</a></h2>