[boost-doc-zh] r389 committed - 翻译 integer 库的 qbk 文件并生成 html 目录

  • From: boost-doc-zh@xxxxxxxxxxxxxx
  • To: boost-doc-zh-notify@xxxxxxxxxxxxx
  • Date: Mon, 22 Mar 2010 03:56:15 +0000

Revision: 389
Author: alai04
Date: Sun Mar 21 20:54:57 2010
Log: 翻译 integer 库的 qbk 文件并生成 html 目录
http://code.google.com/p/boost-doc-zh/source/detail?r=389

Modified:
 /trunk/libs/integer/doc/html/boost_integer/cstdint.html
 /trunk/libs/integer/doc/html/boost_integer/history.html
 /trunk/libs/integer/doc/html/boost_integer/integer.html
 /trunk/libs/integer/doc/html/boost_integer/log2.html
 /trunk/libs/integer/doc/html/boost_integer/mask.html
 /trunk/libs/integer/doc/html/boost_integer/minmax.html
 /trunk/libs/integer/doc/html/boost_integer/traits.html
 /trunk/libs/integer/doc/html/index.html
 /trunk/libs/integer/doc/integer.qbk

=======================================
--- /trunk/libs/integer/doc/html/boost_integer/cstdint.html Mon Feb 8 07:24:10 2010 +++ /trunk/libs/integer/doc/html/boost_integer/cstdint.html Sun Mar 21 20:54:57 2010
@@ -1,10 +1,10 @@
 <html>
 <head>
 <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
-<title>Standard Integer Types</title>
+<title>Standard Integer Types &#26631;&#20934;&#25972;&#25968;&#31867;&#22411;</title> <link rel="stylesheet" href="../../../../../doc/html/boostbook.css" type="text/css">
-<meta name="generator" content="DocBook XSL Stylesheets V1.74.0">
-<link rel="home" href="../index.html" title="Boost.Integer">
+<meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
+<link rel="start" href="../index.html" title="Boost.Integer">
 <link rel="up" href="../index.html" title="Boost.Integer">
 <link rel="prev" href="../index.html" title="Boost.Integer">
 <link rel="next" href="traits.html" title="Integer Traits">
@@ -24,47 +24,53 @@
 </div>
 <div class="section" lang="en">
 <div class="titlepage"><div><div><h2 class="title" style="clear: both">
-<a name="boost_integer.cstdint"></a><a class="link" href="cstdint.html" title="Standard Integer Types"> Standard Integer Types</a> +<a name="boost_integer.cstdint"></a><a class="link" href="cstdint.html" title="Standard Integer Types &#26631;&#20934;&#25972;&#25968;&#31867;&#22411;"> Standard Integer Types &#26631;&#20934;&#25972;&#25968;&#31867;&#22411;</a>
 </h2></div></div></div>
 <div class="toc"><dl>
-<dt><span class="section"><a href="cstdint.html#boost_integer.cstdint.overview">Overview</a></span></dt> -<dt><span class="section"><a href="cstdint.html#boost_integer.cstdint.rationale"> Rationale</a></span></dt> -<dt><span class="section"><a href="cstdint.html#boost_integer.cstdint.ce"> <span class="emphasis"><em>Caveat emptor</em></span></a></span></dt> -<dt><span class="section"><a href="cstdint.html#boost_integer.cstdint.exact_width_integer_types">Exact-width
-      integer types</a></span></dt>
-<dt><span class="section"><a href="cstdint.html#boost_integer.cstdint.minimum_width_integer_types">Minimum-width
-      integer types</a></span></dt>
-<dt><span class="section"><a href="cstdint.html#boost_integer.cstdint.fastest_minimum_width_integer_types">Fastest
-      minimum-width integer types</a></span></dt>
-<dt><span class="section"><a href="cstdint.html#boost_integer.cstdint.greatest_width_integer_types">Greatest-width
-      integer types</a></span></dt>
-<dt><span class="section"><a href="cstdint.html#boost_integer.cstdint.integer_constant_macros">Integer
-      Constant Macros</a></span></dt>
+<dt><span class="section"><a href="cstdint.html#boost_integer.cstdint.overview"> Overview &#31616;&#20171;</a></span></dt> +<dt><span class="section"><a href="cstdint.html#boost_integer.cstdint.rationale"> Rationale &#21407;&#29702;</a></span></dt> +<dt><span class="section"><a href="cstdint.html#boost_integer.cstdint.ce"> <span class="emphasis"><em>Caveat emptor &#38656;&#35201;&#23567;&#24515;&#30340;</em></span></a></span></dt> +<dt><span class="section"><a href="cstdint.html#boost_integer.cstdint.exact_width_integer_types"> Exact-width + integer types &#31934;&#30830;&#23485;&#24230;&#30340;&#25972;&#25968;&#31867;&#22411;</a></span></dt> +<dt><span class="section"><a href="cstdint.html#boost_integer.cstdint.minimum_width_integer_types"> Minimum-width + integer types &#26368;&#23567;&#23485;&#24230;&#30340;&#25972;&#25968;&#31867;&#22411;</a></span></dt> +<dt><span class="section"><a href="cstdint.html#boost_integer.cstdint.fastest_minimum_width_integer_types"> + Fastest minimum-width integer types &#26368;&#24555;&#26368;&#23567;&#23485;&#24230;&#25972;&#25968;&#31867;&#22411;</a></span></dt> +<dt><span class="section"><a href="cstdint.html#boost_integer.cstdint.greatest_width_integer_types"> + Greatest-width integer types &#26368;&#22823;&#23485;&#24230;&#25972;&#25968;&#31867;&#22411;</a></span></dt> +<dt><span class="section"><a href="cstdint.html#boost_integer.cstdint.integer_constant_macros"> Integer + Constant Macros &#25972;&#25968;&#24120;&#37327;&#23439;</a></span></dt>
 </dl></div>
 <div class="section" lang="en">
 <div class="titlepage"><div><div><h3 class="title">
-<a name="boost_integer.cstdint.overview"></a><a class="link" href="cstdint.html#boost_integer.cstdint.overview" title="Overview">Overview</a> +<a name="boost_integer.cstdint.overview"></a><a class="link" href="cstdint.html#boost_integer.cstdint.overview" title="Overview &#31616;&#20171;"> Overview &#31616;&#20171;</a>
 </h3></div></div></div>
 <p>
The header <code class="literal"><a href="../../../../../boost/cstdint.hpp" target="_top">&lt;boost/cstdint.hpp&gt;</a></code> provides the typedef's useful for writing portable code that requires certain
-        integer widths. All typedef's are in namespace boost.
+ integer widths. All typedef's are in namespace boost.<br> &#22836;&#25991;&#20214; <code class="literal"><a href="../../../../../boost/cstdint.hpp" target="_top">&lt;boost/cstdint.hpp&gt;</a></code> + &#25552;&#20379;&#20102;&#29992;&#20110;&#32534;&#20889;&#35201;&#27714;&#25351;&#23450;&#25972;&#25968;&#23485;&#24230;&#30340;&#21487;&#31227;&#26893;&#20195;&#30721;&#30340; typedef. + &#25152;&#26377; typedef &#22343;&#20301;&#20110;&#21517;&#23383;&#31354;&#38388; boost.
       </p>
 <p>
The specifications for these types are based on the ISO/IEC 9899:1999 C Language standard header &lt;stdint.h&gt;. The 64-bit types required by the C standard are <span class="emphasis"><em>not required</em></span> in the boost header, and may not be supplied for all platforms/compilers, because <code class="literal">long long</code>
-        is not [yet] included in the C++ standard.
+ is not [yet] included in the C++ standard.<br> &#26412;&#35268;&#33539;&#26159;&#22522;&#20110; ISO/IEC + 9899:1999 C &#35821;&#35328;&#26631;&#20934;&#30340;&#22836;&#25991;&#20214; &lt;stdint.h&gt; &#30340;&#12290;C&#26631;&#20934;&#25152;&#35201;&#27714;&#30340;64&#20301;&#31867;&#22411;&#22312; + boost &#22836;&#25991;&#20214;&#20013;<span class="emphasis"><em>&#24182;&#19981;&#35201;&#27714;</em></span>&#65292; &#20063;&#21487;&#33021;&#19981;&#34987;&#23454;&#29616;&#25903;&#25345;&#65292;&#22240;&#20026; + <code class="literal">long long</code> <span class="emphasis"><em>&#36824;&#26410;</em></span>&#34987;&#21253;&#21547;&#22312; C++
+        &#26631;&#20934;&#20013;&#12290;
       </p>
 <p>
See <a href="../../../test/cstdint_test.cpp" target="_top">cstdint_test.cpp</a> for
-        a test program.
+ a test program.<br> &#27979;&#35797;&#31243;&#24207;&#35831;&#35265; <a href="../../../test/cstdint_test.cpp" target="_top">cstdint_test.cpp</a>.
       </p>
 </div>
 <div class="section" lang="en">
 <div class="titlepage"><div><div><h3 class="title">
-<a name="boost_integer.cstdint.rationale"></a><a class="link" href="cstdint.html#boost_integer.cstdint.rationale" title="Rationale"> Rationale</a> +<a name="boost_integer.cstdint.rationale"></a><a class="link" href="cstdint.html#boost_integer.cstdint.rationale" title="Rationale &#21407;&#29702;"> Rationale &#21407;&#29702;</a>
 </h3></div></div></div>
 <p>
The organization of the Boost.Integer headers and classes is designed to
@@ -75,54 +81,76 @@
<code class="literal">std</code>. The intension is to complement rather than compete with the C++ Standard Library. Should some future C++ standard include &lt;stdint.h&gt; and &lt;cstdint&gt;, then &lt;boost/cstdint.hpp&gt; will continue to function,
-        but will become redundant and may be safely deprecated.
+ but will become redundant and may be safely deprecated.<br> Boost.Integer + &#22836;&#25991;&#20214;&#21644;&#31867;&#30340;&#32452;&#32455;&#32467;&#26500;&#22312;&#35774;&#35745;&#19978;&#21033;&#29992;&#20102;&#26469;&#33258; 1999 C &#26631;&#20934;&#30340; + &lt;stdint.h&gt; &#31867;&#22411;&#65292;&#32780;&#27809;&#26377;&#37319;&#29992; 1998 C++ &#26631;&#20934;&#30340;&#26410;&#23450;&#20041;&#34892;&#20026;&#12290; + &#22836;&#25991;&#20214; &lt;boost/cstdint.hpp&gt; &#20351;&#24471;&#26631;&#20934;&#30340;&#25972;&#25968;&#31867;&#22411;&#23433;&#20840;&#22320;&#20301;&#20110;&#21517;&#23383;&#31354;&#38388; + <code class="literal">boost</code> &#20013;&#65292;&#27809;&#26377;&#24448;&#21517;&#23383;&#31354;&#38388; <code class="literal">std</code> + &#20013;&#22686;&#21152;&#20219;&#20309;&#19996;&#35199;&#12290; &#30446;&#30340;&#26159;&#35201;&#23545;C++&#26631;&#20934;&#24211;&#20316;&#20986;&#34917;&#20805;&#65292;&#32780;&#19981;&#26159;&#19982;&#20043;&#31454;&#20105;&#12290;&#22914;&#26524;&#23558;&#26469;&#30340;C++&#26631;&#20934;&#21253;&#21547;&#20102; + &lt;stdint.h&gt; &#21644; &lt;cstdint&gt;, &#21017; &lt;boost/cstdint.hpp&gt; &#20173;&#21487;&#20351;&#29992;&#65292; + &#19981;&#36807;&#37027;&#26102;&#23601;&#26159;&#22810;&#20313;&#30340;&#20102;&#65292;&#21487;&#20197;&#34987;&#23433;&#20840;&#22320;&#21435;&#25481;&#12290;
       </p>
 <p>
Because these are boost headers, their names conform to boost header naming - conventions rather than C++ Standard Library header naming conventions. + conventions rather than C++ Standard Library header naming conventions.<br> + &#30001;&#20110;&#36825;&#20123;&#26159; boost &#22836;&#25991;&#20214;&#65292;&#25152;&#20197;&#23427;&#20204;&#30340;&#21517;&#23383;&#36981;&#29031; boost &#22836;&#25991;&#20214;&#21629;&#21517;&#35268;&#21017;&#65292;&#32780;&#19981;&#26159; + C++ &#26631;&#20934;&#24211;&#22836;&#25991;&#20214;&#30340;&#21629;&#21517;&#35268;&#21017;&#12290;
       </p>
 </div>
 <div class="section" lang="en">
 <div class="titlepage"><div><div><h3 class="title">
-<a name="boost_integer.cstdint.ce"></a><a class="link" href="cstdint.html#boost_integer.cstdint.ce" title="Caveat emptor"> <span class="emphasis"><em>Caveat emptor</em></span></a> +<a name="boost_integer.cstdint.ce"></a><a class="link" href="cstdint.html#boost_integer.cstdint.ce" title="Caveat emptor &#38656;&#35201;&#23567;&#24515;&#30340;"> <span class="emphasis"><em>Caveat emptor &#38656;&#35201;&#23567;&#24515;&#30340;</em></span></a>
 </h3></div></div></div>
 <p>
As an implementation artifact, certain C &lt;limits.h&gt; macro names may possibly be visible to users of &lt;boost/cstdint.hpp&gt;. Don't use these macros; they are not part of any Boost-specified interface. Use <code class="literal">boost::integer_traits&lt;&gt;</code> - or <code class="literal">std::numeric_limits&lt;&gt;</code> instead. + or <code class="literal">std::numeric_limits&lt;&gt;</code> instead.<br> &#30001;&#20110;&#23454;&#29616;&#30340;&#21407;&#22240;&#65292;&#26576;&#20123; + C &lt;limits.h&gt; &#23439;&#21517;&#23383;&#21487;&#33021;&#20250;&#34987; &lt;boost/cstdint.hpp&gt; &#30340;&#29992;&#25143;&#30475;&#21040;&#12290;&#19981;&#35201;&#20351;&#29992;&#36825;&#20123;&#23439;&#65307;&#23427;&#20204;&#19981;&#23646;&#20110; + Boost-&#35268;&#33539;&#25509;&#21475;&#20013;&#30340;&#37096;&#20998;&#12290; &#35831;&#20351;&#29992; <code class="literal">boost::integer_traits&lt;&gt;</code> + &#25110; <code class="literal">std::numeric_limits&lt;&gt;</code> &#26469;&#20195;&#26367;&#12290;
       </p>
 <p>
As another implementation artifact, certain C &lt;stdint.h&gt; typedef names may possibly be visible in the global namespace to users of &lt;boost/cstdint.hpp&gt;. Don't use these names, they are not part of any Boost-specified interface. - Use the respective names in namespace <code class="literal">boost</code> instead. + Use the respective names in namespace <code class="literal">boost</code> instead.<br> + &#30001;&#20110;&#23454;&#29616;&#30340;&#21407;&#22240;&#65292;&#26576;&#20123; C &lt;stdint.h&gt; typedef &#21517;&#23383;&#21487;&#33021;&#20250;&#34987; + &lt;boost/cstdint.hpp&gt; &#30340;&#29992;&#25143;&#22312;&#20840;&#23616;&#21517;&#23383;&#31354;&#38388;&#20013;&#30475;&#21040;&#12290; &#19981;&#35201;&#20351;&#29992;&#36825;&#20123;&#21517;&#23383;&#65292;&#23427;&#20204;&#19981;&#23646;&#20110; + Boost-&#35268;&#33539;&#25509;&#21475;&#20013;&#30340;&#37096;&#20998;&#12290;&#35831;&#20351;&#29992;&#21517;&#23383;&#31354;&#38388; <code class="literal">boost</code> + &#20013;&#30340;&#30456;&#24212;&#21517;&#23383;&#20195;&#26367;&#12290;
       </p>
 </div>
 <div class="section" lang="en">
 <div class="titlepage"><div><div><h3 class="title">
-<a name="boost_integer.cstdint.exact_width_integer_types"></a><a class="link" href="cstdint.html#boost_integer.cstdint.exact_width_integer_types" title="Exact-width integer types">Exact-width
-      integer types</a>
+<a name="boost_integer.cstdint.exact_width_integer_types"></a><a class="link" href="cstdint.html#boost_integer.cstdint.exact_width_integer_types" title="Exact-width integer types &#31934;&#30830;&#23485;&#24230;&#30340;&#25972;&#25968;&#31867;&#22411;"> Exact-width + integer types &#31934;&#30830;&#23485;&#24230;&#30340;&#25972;&#25968;&#31867;&#22411;</a>
 </h3></div></div></div>
 <p>
The typedef <code class="literal">int#_t</code>, with # replaced by the width, designates a signed integer type of exactly # bits; for example <code class="literal">int8_t</code> denotes an 8-bit signed integer type. Similarly, the typedef <code class="literal">uint#_t</code>
-        designates an unsigned integer type of exactly # bits.
+ designates an unsigned integer type of exactly # bits.<br> typedef <code class="literal">int#_t</code>, + &#20854;&#20013; # &#20195;&#34920;&#23485;&#24230;&#65292;&#34920;&#31034;&#19968;&#20010;&#23485;&#24230;&#24688;&#22909;&#20026; # &#20301;&#30340;&#26377;&#31526;&#21495;&#25972;&#25968;&#31867;&#22411;&#65307;&#22914; + <code class="literal">int8_t</code> &#34920;&#31034;8-&#20301;&#30340;&#26377;&#31526;&#21495;&#25972;&#25968;&#31867;&#22411;&#12290; &#21516;&#26679;&#65292;typedef + <code class="literal">uint#_t</code> &#34920;&#31034;&#19968;&#20010;&#23485;&#24230;&#24688;&#22909;&#20026; # &#20301;&#30340;&#26080;&#31526;&#21495;&#25972;&#25968;&#31867;&#22411;&#12290;
       </p>
 <p>
These types are optional. However, if a platform supports integer types with widths of 8, 16, 32, 64, or any combination thereof, then &lt;boost/cstdint.hpp&gt;
-        does provide the corresponding typedefs.
+ does provide the corresponding typedefs.<br> &#36825;&#20123;&#31867;&#22411;&#26159;&#21487;&#36873;&#30340;&#12290;&#19981;&#36807;&#65292;&#22914;&#26524;&#19968;&#20010;&#24179;&#21488;&#25903;&#25345;&#23485;&#24230;&#20026; + 8, 16, 32, 64 &#25110;&#20854;&#23427;&#32452;&#21512;&#20301;&#25968;&#30340;&#25972;&#25968;&#31867;&#22411;&#65292;&#21017; &lt;boost/cstdint.hpp&gt;
+        &#23601;&#20250;&#25552;&#20379;&#30456;&#24212;&#30340; typedef.
       </p>
 <p>
- The absence of int64_t and uint64_t is indicated by the macro <code class="computeroutput"><span class="identifier">BOOST_NO_INT64_T</span></code>. + The absence of int64_t and uint64_t is indicated by the macro <code class="computeroutput"><span class="identifier">BOOST_NO_INT64_T</span></code>.<br> &#23439; <code class="computeroutput"><span class="identifier">BOOST_NO_INT64_T</span></code> &#34920;&#31034;&#32570;&#23569; int64_t &#21644;
+        uint64_t.
       </p>
 </div>
 <div class="section" lang="en">
 <div class="titlepage"><div><div><h3 class="title">
-<a name="boost_integer.cstdint.minimum_width_integer_types"></a><a class="link" href="cstdint.html#boost_integer.cstdint.minimum_width_integer_types" title="Minimum-width integer types">Minimum-width
-      integer types</a>
+<a name="boost_integer.cstdint.minimum_width_integer_types"></a><a class="link" href="cstdint.html#boost_integer.cstdint.minimum_width_integer_types" title="Minimum-width integer types &#26368;&#23567;&#23485;&#24230;&#30340;&#25972;&#25968;&#31867;&#22411;"> Minimum-width + integer types &#26368;&#23567;&#23485;&#24230;&#30340;&#25972;&#25968;&#31867;&#22411;</a>
 </h3></div></div></div>
 <p>
The typedef <code class="literal">int_least#_t</code>, with # replaced by the width,
@@ -132,10 +160,15 @@
type with a width of at least 32 bits. Similarly, the typedef name <code class="literal">uint_least#_t</code> designates an unsigned integer type with a width of at least # bits, such that no unsigned integer type with lesser size has at least the specified
-        width.
+ width.<br> typedef <code class="literal">int_least#_t</code>, &#20854;&#20013; # &#20195;&#34920;&#23485;&#24230;&#65292;&#34920;&#31034;&#19968;&#20010;&#23485;&#24230;&#33267;&#23569;&#20026; + # &#20301;&#30340;&#26377;&#31526;&#21495;&#25972;&#25968;&#31867;&#22411;&#65292;&#19988;&#27809;&#26377;&#20301;&#25968;&#26356;&#23569;&#30340;&#26377;&#31526;&#21495;&#25972;&#25968;&#31867;&#22411;&#33267;&#23569;&#20855;&#26377;&#32473;&#23450;&#30340;&#23485;&#24230;&#12290; + &#22240;&#27492;&#65292;<code class="literal">int_least32_t</code> &#34920;&#31034;&#19968;&#20010;&#33267;&#23569;32&#20301;&#30340;&#26377;&#31526;&#21495;&#25972;&#25968;&#31867;&#22411;&#12290;&#21516;&#26679;&#65292;typedef + <code class="literal">uint_least#_t</code> &#34920;&#31034;&#19968;&#20010;&#23485;&#24230;&#33267;&#23569;&#20026; # &#20301;&#30340;&#26080;&#31526;&#21495;&#25972;&#25968;&#31867;&#22411;&#65292; + &#19988;&#27809;&#26377;&#20301;&#25968;&#26356;&#23569;&#30340;&#26080;&#31526;&#21495;&#25972;&#25968;&#31867;&#22411;&#33267;&#23569;&#20855;&#26377;&#32473;&#23450;&#30340;&#23485;&#24230;&#12290;
       </p>
 <p>
- The following minimum-width integer types are provided for all platforms: + The following minimum-width integer types are provided for all platforms:<br> + &#20197;&#19979;&#26368;&#23567;&#23485;&#24230;&#25972;&#25968;&#31867;&#22411;&#22312;&#25152;&#26377;&#24179;&#21488;&#19978;&#22343;&#25552;&#20379;&#65306;
       </p>
 <div class="itemizedlist"><ul type="disc">
 <li><code class="literal">int_least8_t</code></li>
@@ -147,33 +180,39 @@
 </ul></div>
 <p>
The following types are available only if, after including &lt;boost/cstdint.hpp&gt;,
-        the macro BOOST_NO_INT64_T is not defined:
+ the macro BOOST_NO_INT64_T is not defined:<br> &#20197;&#19979;&#31867;&#22411;&#21017;&#20165;&#24403;&#21253;&#21547;&#20102; + &lt;boost/cstdint.hpp&gt; &#19988;&#26410;&#23450;&#20041; BOOST_NO_INT64_T &#23439;&#26102;&#21487;&#29992;&#65306;
       </p>
 <div class="itemizedlist"><ul type="disc">
 <li><code class="literal">int_least64_t</code></li>
 <li><code class="literal">uint_least64_t</code></li>
 </ul></div>
 <p>
-        All other minimum-width integer types are optional.
+ All other minimum-width integer types are optional.<br> &#20854;&#23427;&#25152;&#26377;&#26368;&#23567;&#23485;&#24230;&#25972;&#25968;&#31867;&#22411;&#37117;&#26159;&#21487;&#36873;&#30340;&#12290;
       </p>
 </div>
 <div class="section" lang="en">
 <div class="titlepage"><div><div><h3 class="title">
-<a name="boost_integer.cstdint.fastest_minimum_width_integer_types"></a><a class="link" href="cstdint.html#boost_integer.cstdint.fastest_minimum_width_integer_types" title="Fastest minimum-width integer types">Fastest
-      minimum-width integer types</a>
+<a name="boost_integer.cstdint.fastest_minimum_width_integer_types"></a><a class="link" href="cstdint.html#boost_integer.cstdint.fastest_minimum_width_integer_types" title="Fastest minimum-width integer types &#26368;&#24555;&#26368;&#23567;&#23485;&#24230;&#25972;&#25968;&#31867;&#22411;"> + Fastest minimum-width integer types &#26368;&#24555;&#26368;&#23567;&#23485;&#24230;&#25972;&#25968;&#31867;&#22411;</a>
 </h3></div></div></div>
 <p>
The typedef <code class="literal">int_fast#_t</code>, with # replaced by the width, designates the fastest signed integer type with a width of at least # bits. Similarly, the typedef name <code class="literal">uint_fast#_t</code> designates the
-        fastest unsigned integer type with a width of at least # bits.
+ fastest unsigned integer type with a width of at least # bits.<br> typedef + <code class="literal">int_fast#_t</code>, &#20854;&#20013; # &#20195;&#34920;&#23485;&#24230;&#65292;&#34920;&#31034;&#23485;&#24230;&#33267;&#23569;&#20026; + # &#20301;&#30340;&#19988;&#36895;&#24230;&#26368;&#24555;&#30340;&#26377;&#31526;&#21495;&#25972;&#25968;&#31867;&#22411;&#12290; &#21516;&#26679; typedef <code class="literal">uint_fast#_t</code> + &#34920;&#31034;&#23485;&#24230;&#33267;&#23569;&#20026; # &#20301;&#30340;&#19988;&#36895;&#24230;&#26368;&#24555;&#30340;&#26080;&#31526;&#21495;&#25972;&#25968;&#31867;&#22411;&#12290;
       </p>
 <p>
There is no guarantee that these types are fastest for all purposes. In any
-        case, however, they satisfy the signedness and width requirements.
+ case, however, they satisfy the signedness and width requirements.<br> + &#19981;&#33021;&#20445;&#35777;&#36825;&#20123;&#31867;&#22411;&#23545;&#20110;&#25152;&#26377;&#29992;&#36884;&#37117;&#26159;&#26368;&#24555;&#30340;&#12290;&#19981;&#36807;&#22312;&#20219;&#20309;&#24773;&#20917;&#19979;&#65292;&#23427;&#20204;&#37117;&#28385;&#36275;&#31526;&#21495;&#21644;&#23485;&#24230;&#30340;&#35201;&#27714;&#12290;
       </p>
 <p>
- The following fastest minimum-width integer types are provided for all platforms: + The following fastest minimum-width integer types are provided for all platforms:<br> + &#20197;&#19979;&#26368;&#24555;&#26368;&#23567;&#23485;&#24230;&#25972;&#25968;&#31867;&#22411;&#22312;&#25152;&#26377;&#24179;&#21488;&#19978;&#22343;&#25552;&#20379;&#65306;
       </p>
 <div class="itemizedlist"><ul type="disc">
 <li><code class="literal">int_fast8_t</code></li>
@@ -185,57 +224,64 @@
 </ul></div>
 <p>
The following types are available only if, after including &lt;boost/cstdint.hpp&gt;,
-        the macro BOOST_NO_INT64_T is not defined:
+ the macro BOOST_NO_INT64_T is not defined:<br> &#20197;&#19979;&#31867;&#22411;&#21017;&#20165;&#24403;&#21253;&#21547;&#20102; + &lt;boost/cstdint.hpp&gt; &#19988;&#26410;&#23450;&#20041; BOOST_NO_INT64_T &#23439;&#26102;&#21487;&#29992;&#65306;
       </p>
 <div class="itemizedlist"><ul type="disc">
 <li><code class="literal">int_fast64_t</code></li>
 <li><code class="literal">uint_fast64_t</code></li>
 </ul></div>
 <p>
-        All other fastest minimum-width integer types are optional.
+ All other fastest minimum-width integer types are optional.<br> &#20854;&#23427;&#25152;&#26377;&#26368;&#24555;&#26368;&#23567;&#23485;&#24230;&#25972;&#25968;&#31867;&#22411;&#37117;&#26159;&#21487;&#36873;&#30340;&#12290;
       </p>
 </div>
 <div class="section" lang="en">
 <div class="titlepage"><div><div><h3 class="title">
-<a name="boost_integer.cstdint.greatest_width_integer_types"></a><a class="link" href="cstdint.html#boost_integer.cstdint.greatest_width_integer_types" title="Greatest-width integer types">Greatest-width
-      integer types</a>
+<a name="boost_integer.cstdint.greatest_width_integer_types"></a><a class="link" href="cstdint.html#boost_integer.cstdint.greatest_width_integer_types" title="Greatest-width integer types &#26368;&#22823;&#23485;&#24230;&#25972;&#25968;&#31867;&#22411;"> + Greatest-width integer types &#26368;&#22823;&#23485;&#24230;&#25972;&#25968;&#31867;&#22411;</a>
 </h3></div></div></div>
 <p>
The typedef <code class="literal">intmax_t </code>designates a signed integer type
-        capable of representing any value of any signed integer type.
+ capable of representing any value of any signed integer type.<br> typedef + <code class="literal">intmax_t</code> &#34920;&#31034;&#19968;&#20010;&#26377;&#31526;&#21495;&#25972;&#25968;&#31867;&#22411;&#65292;&#23427;&#21487;&#20197;&#34920;&#31034;&#20219;&#24847;&#26377;&#31526;&#21495;&#25972;&#25968;&#31867;&#22411;&#30340;&#20540;&#12290;
       </p>
 <p>
The typedef <code class="literal">uintmax_t</code> designates an unsigned integer type
-        capable of representing any value of any unsigned integer type.
+ capable of representing any value of any unsigned integer type.<br> typedef + <code class="literal">uintmax_t</code> &#34920;&#31034;&#19968;&#20010;&#26080;&#31526;&#21495;&#25972;&#25968;&#31867;&#22411;&#65292;&#23427;&#21487;&#20197;&#34920;&#31034;&#20219;&#24847;&#26080;&#31526;&#21495;&#25972;&#25968;&#31867;&#22411;&#30340;&#20540;&#12290;
       </p>
 <p>
-        These types are provided for all platforms.
+ These types are provided for all platforms.<br> &#36825;&#20004;&#20010;&#31867;&#22411;&#22312;&#25152;&#26377;&#24179;&#21488;&#19978;&#22343;&#25552;&#20379;&#12290;
       </p>
 </div>
 <div class="section" lang="en">
 <div class="titlepage"><div><div><h3 class="title">
-<a name="boost_integer.cstdint.integer_constant_macros"></a><a class="link" href="cstdint.html#boost_integer.cstdint.integer_constant_macros" title="Integer Constant Macros">Integer
-      Constant Macros</a>
+<a name="boost_integer.cstdint.integer_constant_macros"></a><a class="link" href="cstdint.html#boost_integer.cstdint.integer_constant_macros" title="Integer Constant Macros &#25972;&#25968;&#24120;&#37327;&#23439;"> Integer
+      Constant Macros &#25972;&#25968;&#24120;&#37327;&#23439;</a>
 </h3></div></div></div>
 <p>
The following macros are always defined after inclusion of this header, these allow integer constants of at least the specified width to be declared: INT8_C,
-        UINT8_C, INT16_C, UINT16_C, INT32_C, UINT32_C, INTMAX_C, UINTMAX_C.
+ UINT8_C, INT16_C, UINT16_C, INT32_C, UINT32_C, INTMAX_C, UINTMAX_C.<br> + &#20197;&#19979;&#23439;&#22312;&#21253;&#21547;&#20102;&#26412;&#22836;&#25991;&#20214;&#21518;&#23558;&#34987;&#23450;&#20041;&#65292;&#23427;&#20204;&#22768;&#26126;&#20102;&#33267;&#23569;&#20855;&#26377;&#25351;&#23450;&#23485;&#24230;&#30340;&#21508;&#20010;&#25972;&#25968;&#24120;&#37327;&#65306; + INT8_C, UINT8_C, INT16_C, UINT16_C, INT32_C, UINT32_C, INTMAX_C, UINTMAX_C.
       </p>
 <p>
The macros INT64_C and UINT64_C are also defined if the the macro BOOST_NO_INT64_T
-        is not defined.
+ is not defined.<br> &#23439; INT64_C &#21644; UINT64_C &#20063;&#20250;&#34987;&#23450;&#20041;&#65292;&#22914;&#26524;&#23439;
+        BOOST_NO_INT64_T &#26410;&#23450;&#20041;&#12290;
       </p>
 <p>
The C99 macro __STDC_CONSTANT_MACROS is also defined as an artifact of the
-        implementation.
+ implementation.<br> C99&#23439; __STDC_CONSTANT_MACROS &#20063;&#20250;&#20381;&#23454;&#29616;&#23450;&#20041;&#12290;
       </p>
 <p>
-        For example:
+        For example:<br> &#20363;&#22914;&#65306;
       </p>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">cstdint</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>

<span class="comment">// Here the constant 0x1FFFFFFFF has the correct suffix applied: +</span><span class="comment">// &#20197;&#19979;&#24120;&#37327; 0x1FFFFFFFF &#23558;&#34987;&#36171;&#20197;&#27491;&#30830;&#30340;&#21518;&#32512;&#65306; </span><span class="keyword">static</span> <span class="keyword">const</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">uint64_t</span> <span class="identifier">c</span> <span class="special">=</span> <span class="identifier">INT64_C</span><span class="special">(</span><span class="number">0</span><span class="identifier">x1FFFFFFFF</span><span class="special">);</span>
 </pre>
 </div>
=======================================
--- /trunk/libs/integer/doc/html/boost_integer/history.html Mon Feb 8 07:24:10 2010 +++ /trunk/libs/integer/doc/html/boost_integer/history.html Sun Mar 21 20:54:57 2010
@@ -1,12 +1,12 @@
 <html>
 <head>
 <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
-<title>History</title>
+<title>History &#21382;&#21490;</title>
<link rel="stylesheet" href="../../../../../doc/html/boostbook.css" type="text/css">
-<meta name="generator" content="DocBook XSL Stylesheets V1.74.0">
-<link rel="home" href="../index.html" title="Boost.Integer">
+<meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
+<link rel="start" href="../index.html" title="Boost.Integer">
 <link rel="up" href="../index.html" title="Boost.Integer">
-<link rel="prev" href="minmax.html" title="Compile time min/max calculation"> +<link rel="prev" href="minmax.html" title="Compile time min/max calculation &#32534;&#35793;&#26399;min/max&#27169;&#26495;">
 </head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
 <table cellpadding="2" width="100%"><tr>
@@ -23,15 +23,16 @@
 </div>
 <div class="section" lang="en">
 <div class="titlepage"><div><div><h2 class="title" style="clear: both">
-<a name="boost_integer.history"></a><a class="link" href="history.html" title="History"> History</a> +<a name="boost_integer.history"></a><a class="link" href="history.html" title="History &#21382;&#21490;"> History &#21382;&#21490;</a>
 </h2></div></div></div>
 <a name="boost_integer.history.1_42_0"></a><h5>
-<a name="id786079"></a>
+<a name="id4864848"></a>
<a class="link" href="history.html#boost_integer.history.1_42_0">1.42.0</a>
     </h5>
 <div class="itemizedlist"><ul type="disc">
 <li>
-        Reverted Trunk to release branch state (i.e. a "known good state").
+ Reverted Trunk to release branch state (i.e. a "known good state").<br> + &#23558;&#20027;&#24178;&#29256;&#26412;&#24674;&#22797;&#20026;&#21457;&#24067;&#20998;&#25903;&#29366;&#24577;(&#21363;"&#24050;&#30693;&#21487;&#29992;&#30340;&#29366;&#24577;")&#12290;
       </li>
 <li>
Fixed issues: <a href="https://svn.boost.org/trac/boost/ticket/653"; target="_top">653</a>,
@@ -40,29 +41,45 @@
<a href="https://svn.boost.org/trac/boost/ticket/3180"; target="_top">3180</a>, <a href="https://svn.boost.org/trac/boost/ticket/3548"; target="_top">3568</a>, <a href="https://svn.boost.org/trac/boost/ticket/3657"; target="_top">3657</a>, + <a href="https://svn.boost.org/trac/boost/ticket/2134"; target="_top">2134</a>.<br> + &#20462;&#22797;&#38382;&#39064;&#65306;<a href="https://svn.boost.org/trac/boost/ticket/653"; target="_top">653</a>, + <a href="https://svn.boost.org/trac/boost/ticket/3084"; target="_top">3084</a>, + <a href="https://svn.boost.org/trac/boost/ticket/3177"; target="_top">3177</a>, + <a href="https://svn.boost.org/trac/boost/ticket/3180"; target="_top">3180</a>, + <a href="https://svn.boost.org/trac/boost/ticket/3548"; target="_top">3568</a>, + <a href="https://svn.boost.org/trac/boost/ticket/3657"; target="_top">3657</a>, <a href="https://svn.boost.org/trac/boost/ticket/2134"; target="_top">2134</a>.
       </li>
 <li>
Added long long support to <code class="literal">boost::static_log2</code>, <code class="literal">boost::static_signed_min</code>, - <code class="literal">boost::static_signed_max</code>, <code class="literal">boost::static_unsigned_min</code><code class="literal">boost::static_unsigned_max</code>,
-        when available.
+ <code class="literal">boost::static_signed_max</code>, <code class="literal">boost::static_unsigned_min</code>, + <code class="literal">boost::static_unsigned_max</code>, when available.<br> &#20026; + <code class="literal">boost::static_log2</code>, <code class="literal">boost::static_signed_min</code>, + <code class="literal">boost::static_signed_max</code>, <code class="literal">boost::static_unsigned_min</code>, + <code class="literal">boost::static_unsigned_max</code> &#22686;&#21152;&#23545; long long &#30340;&#25903;&#25345;&#65292;&#22312;&#21487;&#33021;&#30340;&#24773;&#20917;&#19979;&#12290;
       </li>
 <li>
The argument type and the result type of <code class="literal">boost::static_signed_min</code> etc are now typedef'd. Formerly, they were hardcoded as <code class="literal">unsigned long</code> and <code class="literal">int</code> respectively. Please, use the provided
-        typedefs in new code (and update old code as soon as possible).
+ typedefs in new code (and update old code as soon as possible).<br><code class="literal">boost::static_signed_min</code> + &#31561;&#30340;&#21442;&#25968;&#31867;&#22411;&#21644;&#32467;&#26524;&#31867;&#22411;&#29616;&#22312;&#26159; typedef &#30340;&#12290;&#20197;&#21069;&#65292;&#23427;&#20204;&#20998;&#21035;&#34987;&#30828;&#32534;&#30721;&#20026; + <span class="emphasis"><em>unsigned long</em></span> &#21644; <span class="emphasis"><em>int</em></span>. &#35831;&#22312;&#26032;&#20195;&#30721;&#20013;&#20351;&#29992;&#25152;&#25552;&#20379;&#30340; + typedefs (&#24182;&#23613;&#21487;&#33021;&#26356;&#26032;&#26087;&#30340;&#20195;&#30721;)&#12290;
       </li>
 </ul></div>
 <a name="boost_integer.history.1_32_0"></a><h5>
-<a name="id786181"></a>
+<a name="id4865075"></a>
<a class="link" href="history.html#boost_integer.history.1_32_0">1.32.0</a>
     </h5>
 <div class="itemizedlist"><ul type="disc"><li>
The argument type and the result type of <code class="literal">boost::static_log2</code> are now typedef'd. Formerly, they were hardcoded as <code class="literal">unsigned long</code> and <code class="literal">int</code> respectively. Please, use the provided typedefs
-        in new code (and update old code as soon as possible).
+ in new code (and update old code as soon as possible).<br><code class="literal">boost::static_log2</code> + &#30340;&#21442;&#25968;&#31867;&#22411;&#21644;&#32467;&#26524;&#31867;&#22411;&#29616;&#22312;&#26159; typedef &#30340;&#12290;&#20197;&#21069;&#65292;&#23427;&#20204;&#20998;&#21035;&#34987;&#30828;&#32534;&#30721;&#20026; + <span class="emphasis"><em>unsigned long</em></span> &#21644; <span class="emphasis"><em>int</em></span>. &#35831;&#22312;&#26032;&#20195;&#30721;&#20013;&#20351;&#29992;&#25152;&#25552;&#20379;&#30340; + typedefs (&#24182;&#23613;&#21487;&#33021;&#26356;&#26032;&#26087;&#30340;&#20195;&#30721;)&#12290;
       </li></ul></div>
 </div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision"; width="100%"><tr>
=======================================
--- /trunk/libs/integer/doc/html/boost_integer/integer.html Mon Feb 8 07:24:10 2010 +++ /trunk/libs/integer/doc/html/boost_integer/integer.html Sun Mar 21 20:54:57 2010
@@ -1,13 +1,13 @@
 <html>
 <head>
 <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
-<title>Integer Type Selection</title>
+<title>Integer Type Selection &#25972;&#25968;&#31867;&#22411;&#36873;&#25321;</title> <link rel="stylesheet" href="../../../../../doc/html/boostbook.css" type="text/css">
-<meta name="generator" content="DocBook XSL Stylesheets V1.74.0">
-<link rel="home" href="../index.html" title="Boost.Integer">
+<meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
+<link rel="start" href="../index.html" title="Boost.Integer">
 <link rel="up" href="../index.html" title="Boost.Integer">
 <link rel="prev" href="traits.html" title="Integer Traits">
-<link rel="next" href="mask.html" title="Integer Masks">
+<link rel="next" href="mask.html" title="Integer Masks &#25972;&#25968;&#20301;&#25513;&#30721;&#27169;&#26495;">
 </head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
 <table cellpadding="2" width="100%"><tr>
@@ -24,40 +24,42 @@
 </div>
 <div class="section" lang="en">
 <div class="titlepage"><div><div><h2 class="title" style="clear: both">
-<a name="boost_integer.integer"></a><a class="link" href="integer.html" title="Integer Type Selection"> Integer Type Selection</a> +<a name="boost_integer.integer"></a><a class="link" href="integer.html" title="Integer Type Selection &#25972;&#25968;&#31867;&#22411;&#36873;&#25321;"> Integer Type Selection &#25972;&#25968;&#31867;&#22411;&#36873;&#25321;</a>
 </h2></div></div></div>
 <div class="toc"><dl>
-<dt><span class="section"><a href="integer.html#boost_integer.integer.synopsis"> Synopsis</a></span></dt> +<dt><span class="section"><a href="integer.html#boost_integer.integer.synopsis"> Synopsis &#25688;&#35201;</a></span></dt> <dt><span class="section"><a href="integer.html#boost_integer.integer.easiest"> Easiest-to-Manipulate
-      Types</a></span></dt>
-<dt><span class="section"><a href="integer.html#boost_integer.integer.sized"> Sized Types</a></span></dt> -<dt><span class="section"><a href="integer.html#boost_integer.integer.example">Example</a></span></dt> -<dt><span class="section"><a href="integer.html#boost_integer.integer.demonstration_program">Demonstration
-      Program</a></span></dt>
-<dt><span class="section"><a href="integer.html#boost_integer.integer.rationale">Rationale</a></span></dt> -<dt><span class="section"><a href="integer.html#boost_integer.integer.alternative">Alternative</a></span></dt> -<dt><span class="section"><a href="integer.html#boost_integer.integer.credits">Credits</a></span></dt> + Types &#26368;&#23481;&#26131;&#25805;&#20316;&#30340;&#31867;&#22411;</a></span></dt> +<dt><span class="section"><a href="integer.html#boost_integer.integer.sized"> Sized Types &#25351;&#23450;&#22823;&#23567;&#30340;&#31867;&#22411;</a></span></dt> +<dt><span class="section"><a href="integer.html#boost_integer.integer.example"> Example &#20363;&#23376;</a></span></dt> +<dt><span class="section"><a href="integer.html#boost_integer.integer.demonstration_program"> Demonstration
+      Program &#31034;&#33539;&#31243;&#24207;</a></span></dt>
+<dt><span class="section"><a href="integer.html#boost_integer.integer.rationale"> Rationale &#21407;&#29702;</a></span></dt> +<dt><span class="section"><a href="integer.html#boost_integer.integer.alternative"> Alternative &#20854;&#23427;&#36873;&#25321;</a></span></dt> +<dt><span class="section"><a href="integer.html#boost_integer.integer.credits"> Credits &#40483;&#35874;</a></span></dt>
 </dl></div>
 <p>
The <a href="../../../../../boost/integer.hpp" target="_top">&lt;boost/integer.hpp&gt;</a> type selection templates allow integer types to be selected based on desired characteristics such as number of bits or maximum value. This facility is particularly
-      useful for solving generic programming problems.
+ useful for solving generic programming problems.<br> <a href="../../../../../boost/integer.hpp" target="_top">&lt;boost/integer.hpp&gt;</a> + &#30340;&#31867;&#22411;&#36873;&#25321;&#27169;&#26495;&#21487;&#20197;&#22522;&#20110;&#29305;&#23450;&#30340;&#23646;&#24615;&#65292;&#22914;&#20301;&#25968;&#25110;&#26368;&#22823;&#20540;&#65292;&#36873;&#25321;&#30456;&#24212;&#30340;&#25972;&#25968;&#31867;&#22411;&#12290; + &#22312;&#35299;&#20915;&#27867;&#22411;&#32534;&#31243;&#30340;&#38382;&#39064;&#26102;&#65292;&#36825;&#19968;&#24037;&#20855;&#29305;&#21035;&#26377;&#29992;&#12290;
     </p>
 <div class="section" lang="en">
 <div class="titlepage"><div><div><h3 class="title">
-<a name="boost_integer.integer.synopsis"></a><a class="link" href="integer.html#boost_integer.integer.synopsis" title="Synopsis"> Synopsis</a> +<a name="boost_integer.integer.synopsis"></a><a class="link" href="integer.html#boost_integer.integer.synopsis" title="Synopsis &#25688;&#35201;"> Synopsis &#25688;&#35201;</a>
 </h3></div></div></div>
<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">boost</span>
 <span class="special">{</span>
-  <span class="comment">//  fast integers from least integers
+ <span class="comment">// fast integers from least integers &#20174;&#26368;&#23567;&#25972;&#25968;&#24471;&#21040;&#24555;&#36895;&#25972;&#25968; </span> <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> <span class="identifier">LeastInt</span><span class="special">&gt;</span> <span class="keyword">struct</span> <span class="identifier">int_fast_t</span>
   <span class="special">{</span>
<span class="keyword">typedef</span> <span class="emphasis"><em>implementation-defined-type</em></span> <span class="identifier">type</span><span class="special">;</span>
   <span class="special">};</span>

-  <span class="comment">//  signed
+  <span class="comment">//  signed &#26377;&#31526;&#21495;&#30340;
</span> <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">int</span> <span class="identifier">Bits</span><span class="special">&gt;</span>
   <span class="keyword">struct</span> <span class="identifier">int_t</span>
   <span class="special">{</span>
@@ -67,7 +69,7 @@
<span class="keyword">typedef</span> <span class="identifier">int_fast_t</span><span class="special">&lt;</span><span class="identifier">least</span><span class="special">&gt;::</span><span class="identifier">fast</span> <span class="identifier">fast</span><span class="special">;</span>
   <span class="special">};</span>

-  <span class="comment">//  unsigned
+  <span class="comment">//  unsigned &#26080;&#31526;&#21495;&#30340;
</span> <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">int</span> <span class="identifier">Bits</span><span class="special">&gt;</span> <span class="keyword">struct</span> <span class="identifier">uint_t</span>
   <span class="special">{</span>
@@ -77,7 +79,7 @@
<span class="keyword">typedef</span> <span class="identifier">int_fast_t</span><span class="special">&lt;</span><span class="identifier">least</span><span class="special">&gt;::</span><span class="identifier">fast</span> <span class="identifier">fast</span><span class="special">;</span>
   <span class="special">};</span>

-  <span class="comment">//  signed
+  <span class="comment">//  signed &#26377;&#31526;&#21495;&#30340;
</span> <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">long</span> <span class="keyword">long</span> <span class="identifier">MaxValue</span><span class="special">&gt;</span> <span class="keyword">struct</span> <span class="identifier">int_max_value_t</span>
   <span class="special">{</span>
@@ -92,7 +94,7 @@
<span class="keyword">typedef</span> <span class="identifier">int_fast_t</span><span class="special">&lt;</span><span class="identifier">least</span><span class="special">&gt;::</span><span class="identifier">fast</span> <span class="identifier">fast</span><span class="special">;</span>
   <span class="special">};</span>

-  <span class="comment">//  unsigned
+  <span class="comment">//  unsigned &#26080;&#31526;&#21495;&#30340;
</span> <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">unsigned</span> <span class="keyword">long</span> <span class="keyword">long</span> <span class="identifier">Value</span><span class="special">&gt;</span> <span class="keyword">struct</span> <span class="identifier">uint_value_t</span>
   <span class="special">{</span>
@@ -104,8 +106,8 @@
 </div>
 <div class="section" lang="en">
 <div class="titlepage"><div><div><h3 class="title">
-<a name="boost_integer.integer.easiest"></a><a class="link" href="integer.html#boost_integer.integer.easiest" title="Easiest-to-Manipulate Types"> Easiest-to-Manipulate
-      Types</a>
+<a name="boost_integer.integer.easiest"></a><a class="link" href="integer.html#boost_integer.integer.easiest" title="Easiest-to-Manipulate Types &#26368;&#23481;&#26131;&#25805;&#20316;&#30340;&#31867;&#22411;"> Easiest-to-Manipulate + Types &#26368;&#23481;&#26131;&#25805;&#20316;&#30340;&#31867;&#22411;</a>
 </h3></div></div></div>
 <p>
The <code class="literal">int_fast_t</code> class template maps its input type to the
@@ -115,20 +117,26 @@
to <code class="literal">int</code> objects before processing. The input type, passed as the only template parameter, must be a built-in integral type, except <code class="literal">bool</code>. Unsigned integral types can be used, as well as - signed integral types. The output type is given as the nested type <code class="literal">fast</code>. + signed integral types. The output type is given as the nested type <code class="literal">fast</code>.<br> + <code class="literal">int_fast_t</code> &#31867;&#27169;&#26495;&#23558;&#23427;&#30340;&#36755;&#20837;&#31867;&#22411;&#26144;&#23556;&#20026;&#22788;&#29702;&#22120;&#26368;&#23481;&#26131;&#25805;&#20316;&#30340;&#31245;&#22823;&#30340;&#31867;&#22411;&#65292;&#25110;&#32773;&#22914;&#26524;&#36755;&#20837;&#31867;&#22411;&#24050;&#32463;&#26159;&#26131;&#20110;&#25805;&#20316;&#30340;&#23601;&#36820;&#22238;&#23427;&#26412;&#36523;&#12290; + &#20363;&#22914;&#65292;&#22312;&#22788;&#29702;&#19968;&#20018; <code class="literal">char</code> &#26102;&#65292;&#22914;&#26524;&#20808;&#23558;&#23427;&#20204;&#36716;&#25442;&#20026; + <code class="literal">int</code> &#21017;&#20250;&#22788;&#29702;&#24471;&#26356;&#24555;&#12290;&#21807;&#19968;&#30340;&#27169;&#26495;&#21442;&#25968;&#65292;&#21363;&#36755;&#20837;&#31867;&#22411;&#65292;&#24517;&#39035;&#26159;&#38500;&#20102; + <code class="literal">bool</code> &#20197;&#22806;&#30340;&#20869;&#24314;&#25972;&#25968;&#31867;&#22411;&#12290;&#21487;&#20197;&#35937;&#26377;&#31526;&#21495;&#25972;&#25968;&#31867;&#22411;&#19968;&#26679;&#20351;&#29992;&#26080;&#31526;&#21495;&#25972;&#25968;&#31867;&#22411;&#12290;&#36755;&#20986;&#31867;&#22411;&#30001;&#31867;&#25104;&#21592;
+        <code class="literal">fast</code> &#32473;&#20986;&#12290;
       </p>
 <p>
- <span class="bold"><strong>Implementation Notes:</strong></span> By default, the output - type is identical to the input type. Eventually, this code's implementation + <span class="bold"><strong>Implementation Notes &#23454;&#29616;&#35828;&#26126;:</strong></span> By default, + the output type is identical to the input type. Eventually, this code's implementation should be customized for each platform to give accurate mappings between the built-in types and the easiest-to-manipulate built-in types. Also, there is no guarantee that the output type actually is easier to manipulate than
-        the input type.
+ the input type.<br> &#32570;&#30465;&#22320;&#65292;&#36755;&#20986;&#31867;&#22411;&#31561;&#21516;&#20110;&#36755;&#20837;&#31867;&#22411;&#12290;&#26368;&#21518;&#65292;&#35813;&#20195;&#30721;&#30340;&#23454;&#29616;&#35201;&#23545;&#27599;&#20010;&#24179;&#21488;&#36827;&#34892;&#29305;&#21270;&#65292;&#22312;&#20869;&#24314;&#31867;&#22411;&#21644;&#26368;&#26131;&#25805;&#20316;&#31867;&#22411;&#20043;&#38388;&#32473;&#20986;&#31934;&#30830;&#30340;&#26144;&#23556;&#12290; + &#27492;&#22806;&#65292;&#24182;&#19981;&#20445;&#35777;&#36755;&#20986;&#31867;&#22411;&#30830;&#23454;&#27604;&#36755;&#20837;&#31867;&#22411;&#26356;&#23481;&#26131;&#25805;&#20316;&#12290;
       </p>
 </div>
 <div class="section" lang="en">
 <div class="titlepage"><div><div><h3 class="title">
-<a name="boost_integer.integer.sized"></a><a class="link" href="integer.html#boost_integer.integer.sized" title="Sized Types"> Sized Types</a> +<a name="boost_integer.integer.sized"></a><a class="link" href="integer.html#boost_integer.integer.sized" title="Sized Types &#25351;&#23450;&#22823;&#23567;&#30340;&#31867;&#22411;"> Sized Types &#25351;&#23450;&#22823;&#23567;&#30340;&#31867;&#22411;</a>
 </h3></div></div></div>
 <p>
The <code class="literal">int_t</code>, <code class="literal">uint_t</code>, <code class="literal">int_max_value_t</code>,
@@ -136,11 +144,15 @@
templates find the most appropiate built-in integral type for the given template parameter. This type is given by the nested type <code class="literal">least</code>. The easiest-to-manipulate version of that type is given by the nested type - <code class="literal">fast</code>. The following table describes each template's criteria. + <code class="literal">fast</code>. The following table describes each template's criteria.<br> + <code class="literal">int_t</code>, <code class="literal">uint_t</code>, <code class="literal">int_max_value_t</code>, + <code class="literal">int_min_value_t</code>, &#21644; <code class="literal">uint_value_t</code> &#31867;&#27169;&#26495;&#26681;&#25454;&#32473;&#23450;&#30340;&#27169;&#26495;&#21442;&#25968;&#26597;&#25214;&#26368;&#21512;&#36866;&#30340;&#20869;&#24314;&#25972;&#25968;&#31867;&#22411;&#12290; + &#35813;&#31867;&#22411;&#30001;&#31867;&#25104;&#21592; <code class="literal">least</code> &#32473;&#20986;&#12290;&#35813;&#31867;&#22411;&#30340;&#26368;&#26131;&#25805;&#20316;&#31867;&#22411;&#30001;&#31867;&#25104;&#21592; + <code class="literal">fast</code> &#32473;&#20986;&#12290;&#19979;&#34920;&#25551;&#36848;&#20102;&#21508;&#20010;&#27169;&#26495;&#30340;&#26631;&#20934;&#12290;
       </p>
 <div class="table">
-<a name="id781665"></a><p class="title"><b>Table&#160;1.&#160;Criteria for the Sized Type Class Templates</b></p> -<div class="table-contents"><table class="table" summary="Criteria for the Sized Type Class Templates"> +<a name="boost_integer.integer.sized.criteria_for_the_sized_type_class_templates_____________________________________"></a><p class="title"><b>Table&#160;1.&#160;Criteria for the Sized Type Class Templates &#22266;&#23450;&#22823;&#23567;&#31867;&#22411;&#30340;&#31867;&#27169;&#26495;&#26631;&#20934;</b></p> +<div class="table-contents"><table class="table" summary="Criteria for the Sized Type Class Templates &#22266;&#23450;&#22823;&#23567;&#31867;&#22411;&#30340;&#31867;&#27169;&#26495;&#26631;&#20934;">
 <colgroup>
 <col>
 <col>
@@ -148,12 +160,12 @@
 <thead><tr>
 <th>
             <p>
-              Class Template
+              Class Template &#31867;&#27169;&#26495;
             </p>
             </th>
 <th>
             <p>
-              Template Parameter Mapping
+ Template Parameter Mapping &#27169;&#26495;&#21442;&#25968;&#26144;&#23556;
             </p>
             </th>
 </tr></thead>
@@ -169,7 +181,9 @@
The smallest, built-in, signed integral type with at least <span class="emphasis"><em>N</em></span> bits, including the sign bit. The parameter should be a positive number. A compile-time error results if the parameter is larger than the number
-              of bits in the largest integer type.
+ of bits in the largest integer type.<br> &#33267;&#23569;&#20855;&#26377; <span class="emphasis"><em>N</em></span> + &#20301;&#25968;&#30340;&#26368;&#23567;&#20869;&#24314;&#26377;&#31526;&#21495;&#25972;&#25968;&#31867;&#22411;&#65292;&#32473;&#23450;&#20301;&#25968;&#21253;&#21547;&#31526;&#21495;&#20301;&#12290;&#27169;&#26495;&#21442;&#25968;&#24212;&#20026;&#19968;&#20010;&#27491;&#25968;&#12290; + &#22914;&#26524;&#21442;&#25968;&#22823;&#20110;&#26368;&#22823;&#25972;&#25968;&#31867;&#22411;&#30340;&#20301;&#25968;&#65292;&#23558;&#23548;&#33268;&#32534;&#35793;&#38169;&#35823;&#12290;
             </p>
             </td>
 </tr>
@@ -184,7 +198,9 @@
The easiest-to-manipulate, built-in, signed integral type with at least <span class="emphasis"><em>N</em></span> bits, including the sign bit. The parameter should be a positive number. A compile-time error results if the parameter - is larger than the number of bits in the largest integer type. + is larger than the number of bits in the largest integer type.<br> + &#33267;&#23569;&#20855;&#26377; <span class="emphasis"><em>N</em></span> &#20301;&#25968;&#30340;&#26368;&#26131;&#25805;&#20316;&#30340;&#20869;&#24314;&#26377;&#31526;&#21495;&#25972;&#25968;&#31867;&#22411;&#65292;&#32473;&#23450;&#20301;&#25968;&#21253;&#21547;&#31526;&#21495;&#20301;&#12290;&#27169;&#26495;&#21442;&#25968;&#24212;&#20026;&#19968;&#20010;&#27491;&#25968;&#12290; + &#22914;&#26524;&#21442;&#25968;&#22823;&#20110;&#26368;&#22823;&#25972;&#25968;&#31867;&#22411;&#30340;&#20301;&#25968;&#65292;&#23558;&#23548;&#33268;&#32534;&#35793;&#38169;&#35823;&#12290;
             </p>
             </td>
 </tr>
@@ -199,7 +215,9 @@
A built-in, signed integral type with exactly <span class="emphasis"><em>N</em></span> bits, including the sign bit. The parameter should be a positive number. Note that the member <span class="emphasis"><em>exact</em></span> is defined <span class="bold"><strong>only</strong></span> if there exists a type with exactly <span class="emphasis"><em>N</em></span>
-              bits.
+ bits.<br> &#24688;&#22909;&#20855;&#26377; <span class="emphasis"><em>N</em></span> &#20301;&#25968;&#30340;&#26368;&#23567;&#20869;&#24314;&#26377;&#31526;&#21495;&#25972;&#25968;&#31867;&#22411;&#65292;&#32473;&#23450;&#20301;&#25968;&#21253;&#21547;&#31526;&#21495;&#20301;&#12290;&#27169;&#26495;&#21442;&#25968;&#24212;&#20026;&#19968;&#20010;&#27491;&#25968;&#12290; + &#27880;&#24847;&#65292;&#25104;&#21592; <span class="emphasis"><em>exact</em></span> <span class="bold"><strong>&#20165;</strong></span>&#24403;&#23384;&#22312;&#19968;&#20010;&#24688;&#22909;&#20026; + <span class="emphasis"><em>N</em></span> &#20301;&#30340;&#31867;&#22411;&#26102;&#34987;&#23450;&#20041;&#12290;
             </p>
             </td>
 </tr>
@@ -214,7 +232,7 @@
The smallest, built-in, unsigned integral type with at least <span class="emphasis"><em>N</em></span> bits. The parameter should be a positive number. A compile-time error results if the parameter is larger than the number of bits in the largest
-              integer type.
+ integer type.<br> &#33267;&#23569;&#20855;&#26377; <span class="emphasis"><em>N</em></span> &#20301;&#25968;&#30340;&#26368;&#23567;&#20869;&#24314;&#26080;&#31526;&#21495;&#25972;&#25968;&#31867;&#22411;&#12290;&#27169;&#26495;&#21442;&#25968;&#24212;&#20026;&#19968;&#20010;&#27491;&#25968;&#12290;&#22914;&#26524;&#21442;&#25968;&#22823;&#20110;&#26368;&#22823;&#25972;&#25968;&#31867;&#22411;&#30340;&#20301;&#25968;&#65292;&#23558;&#23548;&#33268;&#32534;&#35793;&#38169;&#35823;&#12290;
             </p>
             </td>
 </tr>
@@ -229,7 +247,8 @@
The easiest-to-manipulate, built-in, unsigned integral type with at least <span class="emphasis"><em>N</em></span> bits. The parameter should be a positive number. A compile-time error results if the parameter is larger than
-              the number of bits in the largest integer type.
+ the number of bits in the largest integer type.<br> &#33267;&#23569;&#20855;&#26377; + <span class="emphasis"><em>N</em></span> &#20301;&#25968;&#30340;&#26368;&#26131;&#25805;&#20316;&#30340;&#20869;&#24314;&#26080;&#31526;&#21495;&#25972;&#25968;&#31867;&#22411;&#12290;&#27169;&#26495;&#21442;&#25968;&#24212;&#20026;&#19968;&#20010;&#27491;&#25968;&#12290;&#22914;&#26524;&#21442;&#25968;&#22823;&#20110;&#26368;&#22823;&#25972;&#25968;&#31867;&#22411;&#30340;&#20301;&#25968;&#65292;&#23558;&#23548;&#33268;&#32534;&#35793;&#38169;&#35823;&#12290;
             </p>
             </td>
 </tr>
@@ -246,21 +265,24 @@
results if the parameter is larger than the number of bits in the largest integer type. Note that the member <span class="emphasis"><em>exact</em></span> is defined <span class="bold"><strong>only</strong></span> if there exists a type with exactly
-              N bits.
+ N bits.<br> &#24688;&#22909;&#20855;&#26377; <span class="emphasis"><em>N</em></span> &#20301;&#25968;&#30340;&#26368;&#23567;&#20869;&#24314;&#26080;&#31526;&#21495;&#25972;&#25968;&#31867;&#22411;&#12290;&#27169;&#26495;&#21442;&#25968;&#24212;&#20026;&#19968;&#20010;&#27491;&#25968;&#12290;&#22914;&#26524;&#21442;&#25968;&#22823;&#20110;&#26368;&#22823;&#25972;&#25968;&#31867;&#22411;&#30340;&#20301;&#25968;&#65292;&#23558;&#23548;&#33268;&#32534;&#35793;&#38169;&#35823;&#12290; + &#27880;&#24847;&#65292;&#25104;&#21592; <span class="emphasis"><em>exact</em></span> <span class="bold"><strong>&#20165;</strong></span>&#24403;&#23384;&#22312;&#19968;&#20010;&#24688;&#22909;&#20026; + <span class="emphasis"><em>N</em></span> &#20301;&#30340;&#31867;&#22411;&#26102;&#34987;&#23450;&#20041;&#12290;
             </p>
             </td>
 </tr>
 <tr>
 <td>
             <p>
- <code class="literal">boost::int_max_value_t&lt;V&gt;::last</code> + <code class="literal">boost::int_max_value_t&lt;V&gt;::least</code>
             </p>
             </td>
 <td>
             <p>
The smallest, built-in, signed integral type that can hold all the values in the inclusive range <span class="emphasis"><em>0 - V</em></span>. The parameter
-              should be a positive number.
+ should be a positive number.<br> &#21487;&#20197;&#34920;&#31034;&#38381;&#21306;&#38388; <span class="emphasis"><em>0 + - V</em></span> &#20013;&#25152;&#26377;&#20540;&#30340;&#26368;&#23567;&#20869;&#24314;&#26377;&#31526;&#21495;&#25972;&#25968;&#31867;&#22411;&#12290;&#27169;&#26495;&#21442;&#25968;&#24212;&#20026;&#19968;&#20010;&#27491;&#25968;&#12290;
             </p>
             </td>
 </tr>
@@ -274,7 +296,8 @@
             <p>
The easiest-to-manipulate, built-in, signed integral type that can hold all the values in the inclusive range <span class="emphasis"><em>0 - V</em></span>.
-              The parameter should be a positive number.
+ The parameter should be a positive number.<br> &#21487;&#20197;&#34920;&#31034;&#38381;&#21306;&#38388; + <span class="emphasis"><em>0 - V</em></span> &#20013;&#25152;&#26377;&#20540;&#30340;&#26368;&#26131;&#25805;&#20316;&#30340;&#20869;&#24314;&#26377;&#31526;&#21495;&#25972;&#25968;&#31867;&#22411;&#12290;&#27169;&#26495;&#21442;&#25968;&#24212;&#20026;&#19968;&#20010;&#27491;&#25968;&#12290;
             </p>
             </td>
 </tr>
@@ -288,7 +311,8 @@
             <p>
The smallest, built-in, signed integral type that can hold all the values in the inclusive range <span class="emphasis"><em>V - 0</em></span>. The parameter
-              should be a negative number.
+ should be a negative number.<br> &#21487;&#20197;&#34920;&#31034;&#38381;&#21306;&#38388; <span class="emphasis"><em>V + - 0</em></span> &#20013;&#25152;&#26377;&#20540;&#30340;&#26368;&#23567;&#20869;&#24314;&#26377;&#31526;&#21495;&#25972;&#25968;&#31867;&#22411;&#12290;&#27169;&#26495;&#21442;&#25968;&#24212;&#20026;&#19968;&#20010;&#27491;&#25968;&#12290;
             </p>
             </td>
 </tr>
@@ -302,7 +326,8 @@
             <p>
The easiest-to-manipulate, built-in, signed integral type that can hold all the values in the inclusive range <span class="emphasis"><em>V - 0</em></span>.
-              The parameter should be a negative number.
+ The parameter should be a negative number.<br> &#21487;&#20197;&#34920;&#31034;&#38381;&#21306;&#38388; + <span class="emphasis"><em>V - 0</em></span> &#20013;&#25152;&#26377;&#20540;&#30340;&#26368;&#26131;&#25805;&#20316;&#30340;&#20869;&#24314;&#26377;&#31526;&#21495;&#25972;&#25968;&#31867;&#22411;&#12290;&#27169;&#26495;&#21442;&#25968;&#24212;&#20026;&#19968;&#20010;&#27491;&#25968;&#12290;
             </p>
             </td>
 </tr>
@@ -316,7 +341,8 @@
             <p>
The smallest, built-in, unsigned integral type that can hold all positive values up to and including <span class="emphasis"><em>V</em></span>. The parameter should
-              be a positive number.
+ be a positive number.<br> &#21487;&#20197;&#34920;&#31034;&#26368;&#22823;&#30340; <span class="emphasis"><em>V</em></span> + &#30340;&#25152;&#26377;&#27491;&#20540;&#30340;&#26368;&#23567;&#20869;&#24314;&#26080;&#31526;&#21495;&#25972;&#25968;&#31867;&#22411;&#12290;&#27169;&#26495;&#21442;&#25968;&#24212;&#20026;&#19968;&#20010;&#27491;&#25968;&#12290;
             </p>
             </td>
 </tr>
@@ -330,7 +356,8 @@
             <p>
The easiest-to-manipulate, built-in, unsigned integral type that can hold all positive values up to and including <span class="emphasis"><em>V</em></span>.
-              The parameter should be a positive number.
+ The parameter should be a positive number.<br> &#21487;&#20197;&#34920;&#31034;&#26368;&#22823;&#30340; + <span class="emphasis"><em>V</em></span> &#30340;&#25152;&#26377;&#27491;&#20540;&#30340;&#26368;&#26131;&#25805;&#20316;&#30340;&#20869;&#24314;&#26080;&#31526;&#21495;&#25972;&#25968;&#31867;&#22411;&#12290;&#27169;&#26495;&#21442;&#25968;&#24212;&#20026;&#19968;&#20010;&#27491;&#25968;&#12290;
             </p>
             </td>
 </tr>
@@ -341,7 +368,7 @@
 </div>
 <div class="section" lang="en">
 <div class="titlepage"><div><div><h3 class="title">
-<a name="boost_integer.integer.example"></a><a class="link" href="integer.html#boost_integer.integer.example" title="Example">Example</a> +<a name="boost_integer.integer.example"></a><a class="link" href="integer.html#boost_integer.integer.example" title="Example &#20363;&#23376;"> Example &#20363;&#23376;</a>
 </h3></div></div></div>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">integer</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>

@@ -349,61 +376,66 @@
 </span>
<span class="keyword">int</span> <span class="identifier">main</span><span class="special">()</span>
 <span class="special">{</span>
- <span class="identifier">boost</span><span class="special">::</span><span class="identifier">int_t</span><span class="special">&lt;</span><span class="number">24</span><span class="special">&gt;::</span><span class="identifier">least</span> <span class="identifier">my_var</span><span class="special">;</span> <span class="comment">// my_var has at least 24-bits + <span class="identifier">boost</span><span class="special">::</span><span class="identifier">int_t</span><span class="special">&lt;</span><span class="number">24</span><span class="special">&gt;::</span><span class="identifier">least</span> <span class="identifier">my_var</span><span class="special">;</span> <span class="comment">// my_var has at least 24-bits my_var&#20026;&#26368;&#23569;24&#20301;
 </span>    <span class="comment">//...
-</span> <span class="comment">// This one is guarenteed not to be truncated: +</span> <span class="comment">// This one is guarenteed not to be truncated: &#20445;&#35777;&#19981;&#20250;&#34987;&#25130;&#26029;&#65306; </span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">int_max_value_t</span><span class="special">&lt;</span><span class="number">1000</span><span class="special">&gt;::</span><span class="identifier">least</span> <span class="identifier">my1000</span> <span class="special">=</span> <span class="number">1000</span><span class="special">;</span>
     <span class="comment">//...
</span> <span class="comment">// This one is guarenteed not to be truncated, and as fast </span> <span class="comment">// to manipulate as possible, its size may be greater than
 </span>    <span class="comment">// that of my1000:
+</span> <span class="comment">// &#20445;&#35777;&#19981;&#20250;&#34987;&#25130;&#26029;&#65292;&#19988;&#21487;&#20197;&#23613;&#21487;&#33021;&#24555;&#22320;&#25805;&#20316;&#65292;&#22823;&#23567;&#21487;&#33021;&#20250;&#22823;&#20110;my1000: </span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">int_max_value_t</span><span class="special">&lt;</span><span class="number">1000</span><span class="special">&gt;::</span><span class="identifier">fast</span> <span class="identifier">my_fast1000</span> <span class="special">=</span> <span class="number">1000</span><span class="special">;</span>
 <span class="special">}</span>
 </pre>
 </div>
 <div class="section" lang="en">
 <div class="titlepage"><div><div><h3 class="title">
-<a name="boost_integer.integer.demonstration_program"></a><a class="link" href="integer.html#boost_integer.integer.demonstration_program" title="Demonstration Program">Demonstration
-      Program</a>
+<a name="boost_integer.integer.demonstration_program"></a><a class="link" href="integer.html#boost_integer.integer.demonstration_program" title="Demonstration Program &#31034;&#33539;&#31243;&#24207;"> Demonstration
+      Program &#31034;&#33539;&#31243;&#24207;</a>
 </h3></div></div></div>
 <p>
The program <a href="../../../test/integer_test.cpp" target="_top">integer_test.cpp</a> is a simplistic demonstration of the results from instantiating various examples
-        of the sized type class templates.
+ of the sized type class templates.<br> &#31243;&#24207; <a href="../../../test/integer_test.cpp" target="_top">integer_test.cpp</a> + &#31616;&#21333;&#22320;&#31034;&#33539;&#20102;&#23545;&#21508;&#31181; sized type &#31867;&#27169;&#26495;&#30340;&#23454;&#20363;&#21270;&#32467;&#26524;&#12290;
       </p>
 </div>
 <div class="section" lang="en">
 <div class="titlepage"><div><div><h3 class="title">
-<a name="boost_integer.integer.rationale"></a><a class="link" href="integer.html#boost_integer.integer.rationale" title="Rationale">Rationale</a> +<a name="boost_integer.integer.rationale"></a><a class="link" href="integer.html#boost_integer.integer.rationale" title="Rationale &#21407;&#29702;"> Rationale &#21407;&#29702;</a>
 </h3></div></div></div>
 <p>
- The rationale for the design of the templates in this header includes: + The rationale for the design of the templates in this header includes:<br> + &#35813;&#22836;&#25991;&#20214;&#20013;&#30340;&#27169;&#26495;&#30340;&#35774;&#35745;&#21407;&#29702;&#21253;&#25324;&#65306;
       </p>
 <div class="itemizedlist"><ul type="disc">
 <li>
Avoid recursion because of concern about C++'s limited guaranteed recursion
-          depth (17).
+ depth (17).<br> &#36991;&#20813;&#36882;&#24402;&#65292;&#22240;&#20026;&#36825;&#20851;&#31995;&#21040; C++ &#23545;&#36882;&#24402;&#28145;&#24230;&#30340;&#38480;&#21046;(17).
         </li>
 <li>
-          Avoid macros on general principles.
+ Avoid macros on general principles.<br> &#36991;&#20813;&#20351;&#29992;&#23439;&#65292;&#22240;&#20026;&#20247;&#25152;&#21608;&#30693;&#30340;&#21407;&#22240;&#12290;
         </li>
 <li>
-          Try to keep the design as simple as possible.
+ Try to keep the design as simple as possible.<br> &#20351;&#35774;&#35745;&#23613;&#21487;&#33021;&#22320;&#31616;&#21333;&#12290;
         </li>
 </ul></div>
 </div>
 <div class="section" lang="en">
 <div class="titlepage"><div><div><h3 class="title">
-<a name="boost_integer.integer.alternative"></a><a class="link" href="integer.html#boost_integer.integer.alternative" title="Alternative">Alternative</a> +<a name="boost_integer.integer.alternative"></a><a class="link" href="integer.html#boost_integer.integer.alternative" title="Alternative &#20854;&#23427;&#36873;&#25321;"> Alternative &#20854;&#23427;&#36873;&#25321;</a>
 </h3></div></div></div>
 <p>
If the number of bits required is known beforehand, it may be more appropriate - to use the types supplied in <a href="../../../../../boost/cstdint.hpp" target="_top">&lt;boost/cstdint.hpp&gt;</a>. + to use the types supplied in <a href="../../../../../boost/cstdint.hpp" target="_top">&lt;boost/cstdint.hpp&gt;</a>.<br> + &#22914;&#26524;&#21487;&#20197;&#39044;&#20808;&#30693;&#36947;&#20301;&#25968;&#65292;&#21017;&#26356;&#36866;&#21512;&#20351;&#29992; <a href="../../../../../boost/cstdint.hpp" target="_top">&lt;boost/cstdint.hpp&gt;</a>
+        &#25152;&#25552;&#20379;&#30340;&#31867;&#22411;&#12290;
       </p>
 </div>
 <div class="section" lang="en">
 <div class="titlepage"><div><div><h3 class="title">
-<a name="boost_integer.integer.credits"></a><a class="link" href="integer.html#boost_integer.integer.credits" title="Credits">Credits</a> +<a name="boost_integer.integer.credits"></a><a class="link" href="integer.html#boost_integer.integer.credits" title="Credits &#40483;&#35874;"> Credits &#40483;&#35874;</a>
 </h3></div></div></div>
 <p>
The author of most of the Boost integer type choosing templates is <a href="http://www.boost.org/people/beman_dawes.html"; target="_top">Beman Dawes</a>. He
=======================================
--- /trunk/libs/integer/doc/html/boost_integer/log2.html Mon Feb 8 07:24:10 2010 +++ /trunk/libs/integer/doc/html/boost_integer/log2.html Sun Mar 21 20:54:57 2010
@@ -1,13 +1,13 @@
 <html>
 <head>
 <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
-<title>Compile Time log2 Calculation</title>
+<title>Compile Time log2 Calculation &#20108;&#36827;&#21046;&#23545;&#25968;&#27169;&#26495;</title> <link rel="stylesheet" href="../../../../../doc/html/boostbook.css" type="text/css">
-<meta name="generator" content="DocBook XSL Stylesheets V1.74.0">
-<link rel="home" href="../index.html" title="Boost.Integer">
+<meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
+<link rel="start" href="../index.html" title="Boost.Integer">
 <link rel="up" href="../index.html" title="Boost.Integer">
-<link rel="prev" href="mask.html" title="Integer Masks">
-<link rel="next" href="minmax.html" title="Compile time min/max calculation"> +<link rel="prev" href="mask.html" title="Integer Masks &#25972;&#25968;&#20301;&#25513;&#30721;&#27169;&#26495;"> +<link rel="next" href="minmax.html" title="Compile time min/max calculation &#32534;&#35793;&#26399;min/max&#27169;&#26495;">
 </head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
 <table cellpadding="2" width="100%"><tr>
@@ -24,24 +24,25 @@
 </div>
 <div class="section" lang="en">
 <div class="titlepage"><div><div><h2 class="title" style="clear: both">
-<a name="boost_integer.log2"></a><a class="link" href="log2.html" title="Compile Time log2 Calculation"> Compile Time log2 Calculation</a> +<a name="boost_integer.log2"></a><a class="link" href="log2.html" title="Compile Time log2 Calculation &#20108;&#36827;&#21046;&#23545;&#25968;&#27169;&#26495;"> Compile Time log2 Calculation &#20108;&#36827;&#21046;&#23545;&#25968;&#27169;&#26495;</a>
 </h2></div></div></div>
 <div class="toc"><dl>
-<dt><span class="section"><a href="log2.html#boost_integer.log2.synopsis">Synopsis</a></span></dt> -<dt><span class="section"><a href="log2.html#boost_integer.log2.usage">Usage</a></span></dt> -<dt><span class="section"><a href="log2.html#boost_integer.log2.demonstration_program">Demonstration
-      Program</a></span></dt>
-<dt><span class="section"><a href="log2.html#boost_integer.log2.rationale">Rationale</a></span></dt> -<dt><span class="section"><a href="log2.html#boost_integer.log2.credits">Credits</a></span></dt> +<dt><span class="section"><a href="log2.html#boost_integer.log2.synopsis"> Synopsis &#25688;&#35201;</a></span></dt> +<dt><span class="section"><a href="log2.html#boost_integer.log2.usage"> Usage &#29992;&#27861;</a></span></dt> +<dt><span class="section"><a href="log2.html#boost_integer.log2.demonstration_program"> Demonstration
+      Program &#31034;&#20363;&#31243;&#24207;</a></span></dt>
+<dt><span class="section"><a href="log2.html#boost_integer.log2.rationale"> Rationale &#21407;&#29702;</a></span></dt> +<dt><span class="section"><a href="log2.html#boost_integer.log2.credits"> Credits &#40483;&#35874;</a></span></dt>
 </dl></div>
 <p>
The class template in <a href="../../../../../boost/integer/static_log2.hpp" target="_top">&lt;boost/integer/static_log2.hpp&gt;</a> determines the position of the highest bit in a given value. This facility
-      is useful for solving generic programming problems.
+ is useful for solving generic programming problems.<br> <a href="../../../../../boost/integer/static_log2.hpp" target="_top">&lt;boost/integer/static_log2.hpp&gt;</a> + &#20013;&#30340;&#31867;&#27169;&#26495;&#29992;&#20110;&#30830;&#23450;&#19968;&#20010;&#32473;&#23450;&#20540;&#20013;&#26368;&#39640;&#20301;&#30340;&#20301;&#32622;&#12290; &#35813;&#24037;&#20855;&#21487;&#29992;&#20110;&#35299;&#20915;&#27867;&#22411;&#32534;&#31243;&#30340;&#38382;&#39064;&#12290;
     </p>
 <div class="section" lang="en">
 <div class="titlepage"><div><div><h3 class="title">
-<a name="boost_integer.log2.synopsis"></a><a class="link" href="log2.html#boost_integer.log2.synopsis" title="Synopsis">Synopsis</a> +<a name="boost_integer.log2.synopsis"></a><a class="link" href="log2.html#boost_integer.log2.synopsis" title="Synopsis &#25688;&#35201;"> Synopsis &#25688;&#35201;</a>
 </h3></div></div></div>
<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">boost</span>
 <span class="special">{</span>
@@ -59,7 +60,7 @@
<span class="keyword">template</span> <span class="special">&lt;</span> <span class="special">&gt;</span> <span class="keyword">struct</span> <span class="identifier">static_log2</span><span class="special">&lt;</span> <span class="number">0</span> <span class="special">&gt;</span>
   <span class="special">{</span>
-    <span class="comment">// The logarithm of zero is undefined.
+ <span class="comment">// The logarithm of zero is undefined. &#38646;&#30340;&#23545;&#25968;&#26080;&#23450;&#20041;
 </span>  <span class="special">};</span>


@@ -68,48 +69,54 @@
 </div>
 <div class="section" lang="en">
 <div class="titlepage"><div><div><h3 class="title">
-<a name="boost_integer.log2.usage"></a><a class="link" href="log2.html#boost_integer.log2.usage" title="Usage">Usage</a> +<a name="boost_integer.log2.usage"></a><a class="link" href="log2.html#boost_integer.log2.usage" title="Usage &#29992;&#27861;"> Usage &#29992;&#27861;</a>
 </h3></div></div></div>
 <p>
The <code class="literal">boost::static_log2</code> class template takes one template parameter, a value of type <code class="literal">static_log2_argument_type</code>. The template only defines one member, <code class="literal">value</code>, which gives
-        the truncated, base-two logarithm of the template argument.
+ the truncated, base-two logarithm of the template argument.<br> <code class="literal">boost::static_log2</code> + &#31867;&#27169;&#26495;&#24102;&#19968;&#20010;&#27169;&#26495;&#21442;&#25968;&#65292;&#31867;&#22411;&#20026; <code class="literal">static_log2_argument_type</code> + &#30340;&#20540;&#12290; &#35813;&#27169;&#26495;&#21482;&#23450;&#20041;&#20102;&#19968;&#20010;&#25104;&#21592; <code class="literal">value</code>, &#23427;&#32473;&#20986;&#20102;&#27169;&#26495;&#21442;&#25968;&#30340;&#24130;2&#23545;&#25968;&#21521;&#19979;&#21462;&#25972;&#21518;&#30340;&#20540;&#12290;
       </p>
 <p>
Since the logarithm of zero, for any base, is undefined, there is a specialization of <code class="literal">static_log2</code> for a template argument of zero. This specialization has no members, so an attempt to use the base-two logarithm of zero results
-        in a compile-time error.
+ in a compile-time error.<br> &#30001;&#20110;&#38646;&#23545;&#20110;&#20219;&#20309;&#22522;&#25968;&#30340;&#23545;&#25968;&#37117;&#26159;&#26080;&#23450;&#20041;&#30340;&#65292;&#25152;&#20197; + <code class="literal">static_log2</code> &#26377;&#19968;&#20010;&#27169;&#26495;&#21442;&#25968;&#20026;&#38646;&#30340;&#29305;&#21270;&#12290; &#35813;&#29305;&#21270;&#29256;&#27809;&#26377;&#25104;&#21592;&#65292;&#22240;&#27492;&#35797;&#22270;&#20351;&#29992;&#38646;&#30340;&#23545;&#25968;&#23558;&#24341;&#21457;&#19968;&#20010;&#32534;&#35793;&#26399;&#38169;&#35823;&#12290;
       </p>
 <p>
-        Note:
+        Note: <br> &#27880;&#65306;
       </p>
 <div class="itemizedlist"><ul type="disc">
 <li>
<code class="literal">static_log2_argument_type</code> is an <span class="emphasis"><em>unsigned integer
-          type</em></span> (C++ standard, 3.9.1p3).
+ type</em></span> (C++ standard, 3.9.1p3).<br><code class="literal">static_log2_argument_type</code> + &#26159;&#19968;&#20010; <span class="emphasis"><em>&#26080;&#31526;&#21495;&#25972;&#25968;&#31867;&#22411;</em></span> (C++ &#26631;&#20934;&#65292;3.9.1p3).
         </li>
 <li>
<code class="literal">static_log2_result_type</code> is an <span class="emphasis"><em>integer type</em></span>
-          (C++ standard, 3.9.1p7).
+ (C++ standard, 3.9.1p7).<br><code class="literal">static_log2_result_type</code> + &#26159;&#19968;&#20010; <span class="emphasis"><em>&#25972;&#25968;&#31867;&#22411;</em></span> (C++ &#26631;&#20934;&#65292;3.9.1p7).
         </li>
 </ul></div>
 </div>
 <div class="section" lang="en">
 <div class="titlepage"><div><div><h3 class="title">
-<a name="boost_integer.log2.demonstration_program"></a><a class="link" href="log2.html#boost_integer.log2.demonstration_program" title="Demonstration Program">Demonstration
-      Program</a>
+<a name="boost_integer.log2.demonstration_program"></a><a class="link" href="log2.html#boost_integer.log2.demonstration_program" title="Demonstration Program &#31034;&#20363;&#31243;&#24207;"> Demonstration
+      Program &#31034;&#20363;&#31243;&#24207;</a>
 </h3></div></div></div>
 <p>
The program <a href="../../../test/static_log2_test.cpp" target="_top">static_log2_test.cpp</a> is a simplistic demonstration of the results from instantiating various examples
-        of the binary logarithm class template.
+ of the binary logarithm class template.<br> &#31243;&#24207; <a href="../../../test/static_log2_test.cpp" target="_top">static_log2_test.cpp</a> + &#31616;&#21333;&#22320;&#31034;&#33539;&#20102;&#23545;&#22810;&#20010;&#20108;&#36827;&#21046;&#23545;&#25968;&#31867;&#27169;&#26495;&#20363;&#23376;&#30340;&#23454;&#20363;&#21270;&#32467;&#26524;&#12290;
       </p>
 </div>
 <div class="section" lang="en">
 <div class="titlepage"><div><div><h3 class="title">
-<a name="boost_integer.log2.rationale"></a><a class="link" href="log2.html#boost_integer.log2.rationale" title="Rationale">Rationale</a> +<a name="boost_integer.log2.rationale"></a><a class="link" href="log2.html#boost_integer.log2.rationale" title="Rationale &#21407;&#29702;"> Rationale &#21407;&#29702;</a>
 </h3></div></div></div>
 <p>
The base-two (binary) logarithm, abbreviated lb, function is occasionally
@@ -117,12 +124,15 @@
can be considered the highest power-of-two in a value, which corresponds to the value's highest set bit (for binary integers). Sometimes the highest-bit position could be used in generic programming, which requires the position - to be available statically (<span class="emphasis"><em>i.e.</em></span> at compile-time). + to be available statically (<span class="emphasis"><em>i.e.</em></span> at compile-time).<br> + &#24213;&#25968;&#20026;&#20108;&#30340;(&#20108;&#36827;&#21046;)&#23545;&#25968;&#20989;&#25968;&#65292;&#32553;&#20889;&#20026; lb, &#26377;&#26102;&#20505;&#34987;&#29992;&#20110;&#32473;&#20986;&#35745;&#31639;&#26426;&#31639;&#27861;&#30340;&#38454;&#25968;&#20272;&#31639;(order-estimates)&#12290; + &#21521;&#19979;&#21462;&#25972;&#21518;&#30340;&#23545;&#25968;&#21487;&#34987;&#35270;&#20026;&#19968;&#20010;&#20540;&#20013;&#30340;&#26368;&#39640;&#30340;2&#30340;&#24130;&#65292;&#23545;&#24212;&#20110;&#35813;&#20540;&#30340;&#26368;&#39640;&#19968;&#20010;&#34987;&#32622;&#20301;&#30340;&#20301;(&#23545;&#20110;&#20108;&#36827;&#21046;&#25972;&#25968;)&#12290; + &#26377;&#26102;&#36825;&#20010;&#26368;&#39640;&#20301;&#20803;&#30340;&#20301;&#32622;&#21487;&#20197;&#29992;&#20110;&#27867;&#22411;&#32534;&#31243;&#65292;&#23427;&#35201;&#27714;&#35813;&#20301;&#32622;&#26159;&#38745;&#24577;(<span class="emphasis"><em>&#21363;</em></span>&#22312;&#32534;&#35793;&#26399;)&#21487;&#29992;&#30340;&#12290;
       </p>
 </div>
 <div class="section" lang="en">
 <div class="titlepage"><div><div><h3 class="title">
-<a name="boost_integer.log2.credits"></a><a class="link" href="log2.html#boost_integer.log2.credits" title="Credits">Credits</a> +<a name="boost_integer.log2.credits"></a><a class="link" href="log2.html#boost_integer.log2.credits" title="Credits &#40483;&#35874;"> Credits &#40483;&#35874;</a>
 </h3></div></div></div>
 <p>
The original version of the Boost binary logarithm class template was written
=======================================
--- /trunk/libs/integer/doc/html/boost_integer/mask.html Mon Feb 8 07:24:10 2010 +++ /trunk/libs/integer/doc/html/boost_integer/mask.html Sun Mar 21 20:54:57 2010
@@ -1,13 +1,13 @@
 <html>
 <head>
 <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
-<title>Integer Masks</title>
+<title>Integer Masks &#25972;&#25968;&#20301;&#25513;&#30721;&#27169;&#26495;</title> <link rel="stylesheet" href="../../../../../doc/html/boostbook.css" type="text/css">
-<meta name="generator" content="DocBook XSL Stylesheets V1.74.0">
-<link rel="home" href="../index.html" title="Boost.Integer">
+<meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
+<link rel="start" href="../index.html" title="Boost.Integer">
 <link rel="up" href="../index.html" title="Boost.Integer">
-<link rel="prev" href="integer.html" title="Integer Type Selection">
-<link rel="next" href="log2.html" title="Compile Time log2 Calculation">
+<link rel="prev" href="integer.html" title="Integer Type Selection &#25972;&#25968;&#31867;&#22411;&#36873;&#25321;"> +<link rel="next" href="log2.html" title="Compile Time log2 Calculation &#20108;&#36827;&#21046;&#23545;&#25968;&#27169;&#26495;">
 </head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
 <table cellpadding="2" width="100%"><tr>
@@ -24,37 +24,39 @@
 </div>
 <div class="section" lang="en">
 <div class="titlepage"><div><div><h2 class="title" style="clear: both">
-<a name="boost_integer.mask"></a><a class="link" href="mask.html" title="Integer Masks"> Integer Masks</a> +<a name="boost_integer.mask"></a><a class="link" href="mask.html" title="Integer Masks &#25972;&#25968;&#20301;&#25513;&#30721;&#27169;&#26495;"> Integer Masks &#25972;&#25968;&#20301;&#25513;&#30721;&#27169;&#26495;</a>
 </h2></div></div></div>
 <div class="toc"><dl>
-<dt><span class="section"><a href="mask.html#boost_integer.mask.overview">Overview</a></span></dt> -<dt><span class="section"><a href="mask.html#boost_integer.mask.synopsis">Synopsis</a></span></dt> -<dt><span class="section"><a href="mask.html#boost_integer.mask.single_bit_mask_class_template">Single
-      Bit-Mask Class Template</a></span></dt>
-<dt><span class="section"><a href="mask.html#boost_integer.mask.group_bit_mask_class_template">Group
-      Bit-Mask Class Template</a></span></dt>
-<dt><span class="section"><a href="mask.html#boost_integer.mask.implementation_notes">Implementation
-      Notes</a></span></dt>
-<dt><span class="section"><a href="mask.html#boost_integer.mask.example">Example</a></span></dt> -<dt><span class="section"><a href="mask.html#boost_integer.mask.demonstration_program">Demonstration
-      Program</a></span></dt>
-<dt><span class="section"><a href="mask.html#boost_integer.mask.rationale">Rationale</a></span></dt> -<dt><span class="section"><a href="mask.html#boost_integer.mask.credits">Credits</a></span></dt> +<dt><span class="section"><a href="mask.html#boost_integer.mask.overview"> Overview &#31616;&#20171;</a></span></dt> +<dt><span class="section"><a href="mask.html#boost_integer.mask.synopsis"> Synopsis &#25688;&#35201;</a></span></dt> +<dt><span class="section"><a href="mask.html#boost_integer.mask.single_bit_mask_class_template"> Single + Bit-Mask Class Template &#21333;&#20301;&#20803;&#25513;&#30721;&#31867;&#27169;&#26495;</a></span></dt> +<dt><span class="section"><a href="mask.html#boost_integer.mask.group_bit_mask_class_template"> Group + Bit-Mask Class Template &#20301;&#20803;&#32452;&#25513;&#30721;&#31867;&#27169;&#26495;</a></span></dt> +<dt><span class="section"><a href="mask.html#boost_integer.mask.implementation_notes"> Implementation
+      Notes &#23454;&#29616;&#35828;&#26126;</a></span></dt>
+<dt><span class="section"><a href="mask.html#boost_integer.mask.example"> Example &#20363;&#23376;</a></span></dt> +<dt><span class="section"><a href="mask.html#boost_integer.mask.demonstration_program"> Demonstration
+      Program &#31034;&#33539;&#31243;&#24207;</a></span></dt>
+<dt><span class="section"><a href="mask.html#boost_integer.mask.rationale"> Rationale &#21407;&#29702;</a></span></dt> +<dt><span class="section"><a href="mask.html#boost_integer.mask.credits"> Credits &#40483;&#35874;</a></span></dt>
 </dl></div>
 <div class="section" lang="en">
 <div class="titlepage"><div><div><h3 class="title">
-<a name="boost_integer.mask.overview"></a><a class="link" href="mask.html#boost_integer.mask.overview" title="Overview">Overview</a> +<a name="boost_integer.mask.overview"></a><a class="link" href="mask.html#boost_integer.mask.overview" title="Overview &#31616;&#20171;"> Overview &#31616;&#20171;</a>
 </h3></div></div></div>
 <p>
The class templates in <a href="../../../../../boost/integer/integer_mask.hpp" target="_top">&lt;boost/integer/integer_mask.hpp&gt;</a> provide bit masks for a certain bit position or a contiguous-bit pack of - a certain size. The types of the masking constants come from the <a class="link" href="integer.html" title="Integer Type Selection">integer
-        type selection templates</a> header.
+ a certain size. The types of the masking constants come from the <a class="link" href="integer.html" title="Integer Type Selection &#25972;&#25968;&#31867;&#22411;&#36873;&#25321;">integer + type selection templates</a> header.<br> <a href="../../../../../boost/integer/integer_mask.hpp" target="_top">&lt;boost/integer/integer_mask.hpp&gt;</a> + &#20013;&#30340;&#31867;&#27169;&#26495;&#20026;&#29305;&#23450;&#30340;&#20301;&#20803;&#20301;&#32622;&#25110;&#29305;&#23450;&#22823;&#23567;&#30340;&#36830;&#32493;&#20301;&#20803;&#25552;&#20379;&#20102;&#20301;&#25513;&#30721;&#12290;&#25513;&#30721;&#24120;&#37327;&#30340;&#31867;&#22411;&#26469;&#33258;&#20110; + <a class="link" href="integer.html" title="Integer Type Selection &#25972;&#25968;&#31867;&#22411;&#36873;&#25321;">&#25972;&#25968;&#31867;&#22411;&#36873;&#25321;&#27169;&#26495;</a> &#22836;&#25991;&#20214;&#12290;
       </p>
 </div>
 <div class="section" lang="en">
 <div class="titlepage"><div><div><h3 class="title">
-<a name="boost_integer.mask.synopsis"></a><a class="link" href="mask.html#boost_integer.mask.synopsis" title="Synopsis">Synopsis</a> +<a name="boost_integer.mask.synopsis"></a><a class="link" href="mask.html#boost_integer.mask.synopsis" title="Synopsis &#25688;&#35201;"> Synopsis &#25688;&#35201;</a>
 </h3></div></div></div>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">cstddef</span><span class="special">&gt;</span> <span class="comment">// for std::size_t
 </span>
@@ -86,14 +88,15 @@
 <span class="special">};</span>

<span class="comment">// Specializations for low_bits_mask_t exist for certain bit counts. +</span><span class="comment">// &#38024;&#23545; low_bits_mask_t &#30340;&#29305;&#21270;&#65292;&#29992;&#20110;&#29305;&#23450;&#30340;&#20301;&#25968;
 </span>
 <span class="special">}</span>  <span class="comment">// namespace boost
 </span></pre>
 </div>
 <div class="section" lang="en">
 <div class="titlepage"><div><div><h3 class="title">
-<a name="boost_integer.mask.single_bit_mask_class_template"></a><a class="link" href="mask.html#boost_integer.mask.single_bit_mask_class_template" title="Single Bit-Mask Class Template">Single
-      Bit-Mask Class Template</a>
+<a name="boost_integer.mask.single_bit_mask_class_template"></a><a class="link" href="mask.html#boost_integer.mask.single_bit_mask_class_template" title="Single Bit-Mask Class Template &#21333;&#20301;&#20803;&#25513;&#30721;&#31867;&#27169;&#26495;"> Single + Bit-Mask Class Template &#21333;&#20301;&#20803;&#25513;&#30721;&#31867;&#27169;&#26495;</a>
 </h3></div></div></div>
 <p>
The <code class="literal">boost::high_bit_mask_t</code> class template provides constants
@@ -102,11 +105,15 @@
The bit position must be a nonnegative number from zero to <span class="emphasis"><em>Max</em></span>, where Max is one less than the number of bits supported by the largest unsigned built-in integral type. The following table describes the members of an instantiation
-        of <code class="literal">high_bit_mask_t</code>.
+ of <code class="literal">high_bit_mask_t</code>.<br> <code class="literal">boost::high_bit_mask_t</code> + &#31867;&#27169;&#26495;&#25552;&#20379;&#20102;&#34920;&#31034;&#29305;&#23450;&#20301;&#32622;&#30340;&#21333;&#20010;&#20301;&#20803;&#30340;&#25513;&#30721;&#24120;&#25968;&#12290;&#35813;&#25513;&#30721;&#31561;&#20110; + 2<sup>Bit</sup>, &#20854;&#20013; <code class="literal">Bit</code> &#20026;&#27169;&#26495;&#21442;&#25968;&#12290; &#20301;&#20803;&#30340;&#20301;&#32622;&#24517;&#39035;&#26159;&#20174;&#38646;&#21040; + <span class="emphasis"><em>Max</em></span> &#30340;&#38750;&#36127;&#25968;&#23383;&#65292;&#20854;&#20013; Max &#26368;&#22823;&#30340;&#20869;&#24314;&#26080;&#31526;&#21495;&#25972;&#25968;&#31867;&#22411;&#25152;&#25903;&#25345;&#30340;&#20301;&#25968;&#20943;&#19968;&#12290;&#19979;&#34920;&#25551;&#36848;&#20102; + <code class="literal">high_bit_mask_t</code> &#23454;&#20363;&#30340;&#25104;&#21592;&#12290;
       </p>
 <div class="table">
-<a name="id782866"></a><p class="title"><b>Table&#160;2.&#160;Members of the `boost::high_bit_mask_t` Class Template</b></p> -<div class="table-contents"><table class="table" summary="Members of the `boost::high_bit_mask_t` Class Template"> +<a name="boost_integer.mask.single_bit_mask_class_template.members_of_the__boost__high_bit_mask_t__class_template___boost__high_bit_mask_t___________________"></a><p class="title"><b>Table&#160;2.&#160;Members of the `boost::high_bit_mask_t` Class Template `boost::high_bit_mask_t`&#31867;&#27169;&#26495;&#30340;&#25104;&#21592;</b></p> +<div class="table-contents"><table class="table" summary="Members of the `boost::high_bit_mask_t` Class Template `boost::high_bit_mask_t`&#31867;&#27169;&#26495;&#30340;&#25104;&#21592;">
 <colgroup>
 <col>
 <col>
@@ -114,12 +121,12 @@
 <thead><tr>
 <th>
             <p>
-              Member
+              Member &#25104;&#21592;
             </p>
             </th>
 <th>
             <p>
-              Meaning
+              Meaning &#24847;&#20041;
             </p>
             </th>
 </tr></thead>
@@ -132,7 +139,8 @@
             </td>
 <td>
             <p>
- The smallest, unsigned, built-in type that supports the given bit position. + The smallest, unsigned, built-in type that supports the given bit position.<br> + &#25903;&#25345;&#32473;&#23450;&#20301;&#20803;&#20301;&#32622;&#30340;&#26368;&#23567;&#26080;&#31526;&#21495;&#20869;&#24314;&#31867;&#22411;&#12290;
             </p>
             </td>
 </tr>
@@ -144,7 +152,8 @@
             </td>
 <td>
             <p>
- The easiest-to-manipulate analog of <code class="literal">least</code>. + The easiest-to-manipulate analog of <code class="literal">least</code>.<br> + &#24555;&#36895;&#25805;&#20316;&#30340; <code class="literal">least</code> &#31867;&#20284;&#29289;&#12290;
             </p>
             </td>
 </tr>
@@ -156,7 +165,8 @@
             </td>
 <td>
             <p>
- A <code class="literal">least</code> constant of the value 2<sup>Bit</sup>. + A <code class="literal">least</code> constant of the value 2<sup>Bit</sup>.<br> &#20540;&#20026; + 2<sup>Bit</sup> &#30340; <code class="literal">least</code> &#24120;&#25968;&#20540;&#12290;
             </p>
             </td>
 </tr>
@@ -168,7 +178,8 @@
             </td>
 <td>
             <p>
- A <code class="literal">fast</code> analog of <code class="literal">high_bit</code>. + A <code class="literal">fast</code> analog of <code class="literal">high_bit</code>.<br> + <code class="literal">high_bit</code> &#30340; <code class="literal">fast</code> &#31867;&#20284;&#29289;&#12290;
             </p>
             </td>
 </tr>
@@ -181,7 +192,7 @@
 <td>
             <p>
The value of the template parameter, in case its needed from a renamed
-              instantiation of the class template.
+ instantiation of the class template.<br> &#27169;&#26495;&#21442;&#25968;&#30340;&#20540;&#65292;&#21487;&#29992;&#20110;&#35813;&#31867;&#27169;&#26495;&#30340;&#25913;&#21517;&#23454;&#20363;&#12290;
             </p>
             </td>
 </tr>
@@ -192,8 +203,8 @@
 </div>
 <div class="section" lang="en">
 <div class="titlepage"><div><div><h3 class="title">
-<a name="boost_integer.mask.group_bit_mask_class_template"></a><a class="link" href="mask.html#boost_integer.mask.group_bit_mask_class_template" title="Group Bit-Mask Class Template">Group
-      Bit-Mask Class Template</a>
+<a name="boost_integer.mask.group_bit_mask_class_template"></a><a class="link" href="mask.html#boost_integer.mask.group_bit_mask_class_template" title="Group Bit-Mask Class Template &#20301;&#20803;&#32452;&#25513;&#30721;&#31867;&#27169;&#26495;"> Group + Bit-Mask Class Template &#20301;&#20803;&#32452;&#25513;&#30721;&#31867;&#27169;&#26495;</a>
 </h3></div></div></div>
 <p>
The <code class="literal">boost::low_bits_mask_t</code> class template provides constants
@@ -201,11 +212,16 @@
is the template parameter. The parameter <code class="literal">Bits</code> must be a non-negative integer from zero to <span class="emphasis"><em>Max</em></span>, where Max is the number of bits supported by the largest, unsigned, built-in integral - type. The following table describes the members of <code class="literal">low_bits_mask_t</code>. + type. The following table describes the members of <code class="literal">low_bits_mask_t</code>.<br> + <code class="literal">boost::low_bits_mask_t</code> &#31867;&#27169;&#26495;&#25552;&#20379;&#20102;&#20540;&#20026; (2<sup>Bits</sup> - + 1) &#30340;&#25513;&#30721;&#24120;&#25968;&#65292;&#20854;&#20013; <code class="literal">Bits</code> &#20026;&#27169;&#26495;&#21442;&#25968;&#12290; &#21442;&#25968; + <code class="literal">Bits</code> &#24517;&#39035;&#26159;&#20174;&#38646;&#21040; <span class="emphasis"><em>Max</em></span> &#30340;&#38750;&#36127;&#25968;&#23383;&#65292;&#20854;&#20013; + Max &#26368;&#22823;&#30340;&#20869;&#24314;&#26080;&#31526;&#21495;&#25972;&#25968;&#31867;&#22411;&#25152;&#25903;&#25345;&#30340;&#20301;&#25968;&#12290;&#19979;&#34920;&#25551;&#36848;&#20102; + <code class="literal">low_bits_mask_t</code> &#23454;&#20363;&#30340;&#25104;&#21592;&#12290;
       </p>
 <div class="table">
-<a name="id783074"></a><p class="title"><b>Table&#160;3.&#160;Members of the [^boost::low_bits_mask_t] Class Template</b></p> -<div class="table-contents"><table class="table" summary="Members of the [^boost::low_bits_mask_t] Class Template"> +<a name="boost_integer.mask.group_bit_mask_class_template.members_of_the___boost__low_bits_mask_t__class_template____boost__low_bits_mask_t___________________"></a><p class="title"><b>Table&#160;3.&#160;Members of the [^boost::low_bits_mask_t] Class Template [^boost::low_bits_mask_t]&#31867;&#27169;&#26495;&#30340;&#25104;&#21592;</b></p> +<div class="table-contents"><table class="table" summary="Members of the [^boost::low_bits_mask_t] Class Template [^boost::low_bits_mask_t]&#31867;&#27169;&#26495;&#30340;&#25104;&#21592;">
 <colgroup>
 <col>
 <col>
@@ -213,12 +229,12 @@
 <thead><tr>
 <th>
             <p>
-              Member
+              Member &#25104;&#21592;
             </p>
             </th>
 <th>
             <p>
-              Meaning
+              Meaning &#24847;&#20041;
             </p>
             </th>
 </tr></thead>
@@ -231,7 +247,8 @@
             </td>
 <td>
             <p>
- The smallest, unsigned built-in type that supports the given bit count. + The smallest, unsigned built-in type that supports the given bit count.<br> + &#25903;&#25345;&#32473;&#23450;&#20301;&#20803;&#25968;&#30340;&#26368;&#23567;&#26080;&#31526;&#21495;&#20869;&#24314;&#31867;&#22411;
             </p>
             </td>
 </tr>
@@ -243,7 +260,8 @@
             </td>
 <td>
             <p>
- The easiest-to-manipulate analog of <code class="literal">least</code>. + The easiest-to-manipulate analog of <code class="literal">least</code>.<br> + &#24555;&#36895;&#25805;&#20316;&#30340; <code class="literal">least</code> &#31867;&#20284;&#29289;
             </p>
             </td>
 </tr>
@@ -255,7 +273,8 @@
             </td>
 <td>
             <p>
- A <code class="literal">least</code> constant of the desired bit-masking value. + A <code class="literal">least</code> constant of the desired bit-masking value.<br> + &#24819;&#35201;&#30340;&#20301;&#25513;&#30721;&#20540;&#30340; <code class="literal">least</code> &#24120;&#25968;&#20540;&#12290;
             </p>
             </td>
 </tr>
@@ -267,7 +286,8 @@
             </td>
 <td>
             <p>
- A <code class="literal">fast</code> analog of <code class="literal">sig_bits</code>. + A <code class="literal">fast</code> analog of <code class="literal">sig_bits</code>.<br> + <code class="literal">sig_bits</code> &#30340; <code class="literal">fast</code> &#31867;&#20284;&#29289;&#12290;
             </p>
             </td>
 </tr>
@@ -280,7 +300,7 @@
 <td>
             <p>
The value of the template parameter, in case its needed from a renamed
-              instantiation of the class template.
+ instantiation of the class template.<br> &#27169;&#26495;&#21442;&#25968;&#30340;&#20540;&#65292;&#21487;&#29992;&#20110;&#35813;&#31867;&#27169;&#26495;&#30340;&#25913;&#21517;&#23454;&#20363;
             </p>
             </td>
 </tr>
@@ -291,19 +311,20 @@
 </div>
 <div class="section" lang="en">
 <div class="titlepage"><div><div><h3 class="title">
-<a name="boost_integer.mask.implementation_notes"></a><a class="link" href="mask.html#boost_integer.mask.implementation_notes" title="Implementation Notes">Implementation
-      Notes</a>
+<a name="boost_integer.mask.implementation_notes"></a><a class="link" href="mask.html#boost_integer.mask.implementation_notes" title="Implementation Notes &#23454;&#29616;&#35828;&#26126;"> Implementation
+      Notes &#23454;&#29616;&#35828;&#26126;</a>
 </h3></div></div></div>
 <p>
When <code class="literal">Bits</code> is the exact size of a built-in unsigned type, the implementation has to change to prevent undefined behavior. Therefore, there are specializations of <code class="literal">low_bits_mask_t</code> at those
-        bit counts.
+ bit counts.<br> &#22914;&#26524; <code class="literal">Bits</code> &#24688;&#22909;&#20026;&#19968;&#20010;&#20869;&#24314;&#26080;&#31526;&#21495;&#31867;&#22411;&#30340;&#22823;&#23567;&#65292;&#35813;&#23454;&#29616;&#24517;&#39035;&#20462;&#25913;&#20197;&#38450;&#27490;&#26410;&#23450;&#20041;&#34892;&#20026;&#12290;&#22240;&#27492;&#65292;&#38024;&#23545;&#36825;&#20123;&#20301;&#20803;&#25968;&#23545; + <code class="literal">low_bits_mask_t</code> &#36827;&#34892;&#29305;&#21270;&#12290;
       </p>
 </div>
 <div class="section" lang="en">
 <div class="titlepage"><div><div><h3 class="title">
-<a name="boost_integer.mask.example"></a><a class="link" href="mask.html#boost_integer.mask.example" title="Example">Example</a> +<a name="boost_integer.mask.example"></a><a class="link" href="mask.html#boost_integer.mask.example" title="Example &#20363;&#23376;"> Example &#20363;&#23376;</a>
 </h3></div></div></div>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">integer</span><span class="special">/</span><span class="identifier">integer_mask</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>

@@ -327,30 +348,33 @@
 </div>
 <div class="section" lang="en">
 <div class="titlepage"><div><div><h3 class="title">
-<a name="boost_integer.mask.demonstration_program"></a><a class="link" href="mask.html#boost_integer.mask.demonstration_program" title="Demonstration Program">Demonstration
-      Program</a>
+<a name="boost_integer.mask.demonstration_program"></a><a class="link" href="mask.html#boost_integer.mask.demonstration_program" title="Demonstration Program &#31034;&#33539;&#31243;&#24207;"> Demonstration
+      Program &#31034;&#33539;&#31243;&#24207;</a>
 </h3></div></div></div>
 <p>
The program <a href="../../../test/integer_mask_test.cpp" target="_top">integer_mask_test.cpp</a> is a simplistic demonstration of the results from instantiating various examples
-        of the bit mask class templates.
+ of the bit mask class templates.<br> &#31243;&#24207; <a href="../../../test/integer_mask_test.cpp" target="_top">integer_mask_test.cpp</a> + &#31616;&#21333;&#22320;&#31034;&#33539;&#20102;&#23545;&#21508;&#31181;&#20301;&#20803;&#25513;&#30721;&#31867;&#27169;&#26495;&#20363;&#23376;&#30340;&#23454;&#20363;&#21270;&#32467;&#26524;&#12290;
       </p>
 </div>
 <div class="section" lang="en">
 <div class="titlepage"><div><div><h3 class="title">
-<a name="boost_integer.mask.rationale"></a><a class="link" href="mask.html#boost_integer.mask.rationale" title="Rationale">Rationale</a> +<a name="boost_integer.mask.rationale"></a><a class="link" href="mask.html#boost_integer.mask.rationale" title="Rationale &#21407;&#29702;"> Rationale &#21407;&#29702;</a>
 </h3></div></div></div>
 <p>
- The class templates in this header are an extension of the <a class="link" href="integer.html" title="Integer Type Selection">integer + The class templates in this header are an extension of the <a class="link" href="integer.html" title="Integer Type Selection &#25972;&#25968;&#31867;&#22411;&#36873;&#25321;">integer type selection class templates</a>. The new class templates provide the same sized types, but also convenient masks to use when extracting the highest or all the significant bits when the containing built-in type contains more - bits. This prevents contamination of values by the higher, unused bits. + bits. This prevents contamination of values by the higher, unused bits.<br> + &#35813;&#22836;&#25991;&#20214;&#20013;&#30340;&#31867;&#27169;&#26495;&#26159; <a class="link" href="integer.html" title="Integer Type Selection &#25972;&#25968;&#31867;&#22411;&#36873;&#25321;">&#25972;&#25968;&#31867;&#22411;&#36873;&#25321;&#31867;&#27169;&#26495;</a> + &#30340;&#25193;&#23637;&#12290; &#26032;&#30340;&#31867;&#27169;&#26495;&#25552;&#20379;&#20102;&#30456;&#21516;&#22823;&#23567;&#20294;&#26356;&#26041;&#20415;&#30340;&#25513;&#30721;&#65292;&#29992;&#20110;&#22312;&#25152;&#21547;&#20869;&#24314;&#31867;&#22411;&#21253;&#21547;&#26356;&#22810;&#20301;&#20803;&#26102;&#21462;&#20986;&#26368;&#39640;&#25110;&#25152;&#26377;&#37325;&#35201;&#20301;&#20803;&#12290;&#36825;&#38450;&#27490;&#20102;&#34987;&#26356;&#39640;&#20301;&#30340;&#26080;&#29992;&#20301;&#20803;&#27745;&#26579;&#12290;
       </p>
 </div>
 <div class="section" lang="en">
 <div class="titlepage"><div><div><h3 class="title">
-<a name="boost_integer.mask.credits"></a><a class="link" href="mask.html#boost_integer.mask.credits" title="Credits">Credits</a> +<a name="boost_integer.mask.credits"></a><a class="link" href="mask.html#boost_integer.mask.credits" title="Credits &#40483;&#35874;"> Credits &#40483;&#35874;</a>
 </h3></div></div></div>
 <p>
The author of the Boost bit mask class templates is <a href="http://www.boost.org/people/daryle_walker.html"; target="_top">Daryle
=======================================
--- /trunk/libs/integer/doc/html/boost_integer/minmax.html Mon Feb 8 07:24:10 2010 +++ /trunk/libs/integer/doc/html/boost_integer/minmax.html Sun Mar 21 20:54:57 2010
@@ -1,13 +1,13 @@
 <html>
 <head>
 <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
-<title>Compile time min/max calculation</title>
+<title>Compile time min/max calculation &#32534;&#35793;&#26399;min/max&#27169;&#26495;</title> <link rel="stylesheet" href="../../../../../doc/html/boostbook.css" type="text/css">
-<meta name="generator" content="DocBook XSL Stylesheets V1.74.0">
-<link rel="home" href="../index.html" title="Boost.Integer">
+<meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
+<link rel="start" href="../index.html" title="Boost.Integer">
 <link rel="up" href="../index.html" title="Boost.Integer">
-<link rel="prev" href="log2.html" title="Compile Time log2 Calculation">
-<link rel="next" href="history.html" title="History">
+<link rel="prev" href="log2.html" title="Compile Time log2 Calculation &#20108;&#36827;&#21046;&#23545;&#25968;&#27169;&#26495;">
+<link rel="next" href="history.html" title="History &#21382;&#21490;">
 </head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
 <table cellpadding="2" width="100%"><tr>
@@ -24,25 +24,27 @@
 </div>
 <div class="section" lang="en">
 <div class="titlepage"><div><div><h2 class="title" style="clear: both">
-<a name="boost_integer.minmax"></a><a class="link" href="minmax.html" title="Compile time min/max calculation"> Compile time min/max calculation</a> +<a name="boost_integer.minmax"></a><a class="link" href="minmax.html" title="Compile time min/max calculation &#32534;&#35793;&#26399;min/max&#27169;&#26495;"> Compile time min/max calculation
+    &#32534;&#35793;&#26399;min/max&#27169;&#26495;</a>
 </h2></div></div></div>
 <div class="toc"><dl>
-<dt><span class="section"><a href="minmax.html#boost_integer.minmax.synopsis">Synopsis</a></span></dt> -<dt><span class="section"><a href="minmax.html#boost_integer.minmax.usage">Usage</a></span></dt> -<dt><span class="section"><a href="minmax.html#boost_integer.minmax.example">Example</a></span></dt> -<dt><span class="section"><a href="minmax.html#boost_integer.minmax.demonstration_program">Demonstration
-      Program</a></span></dt>
-<dt><span class="section"><a href="minmax.html#boost_integer.minmax.rationale">Rationale</a></span></dt> -<dt><span class="section"><a href="minmax.html#boost_integer.minmax.credits">Credits</a></span></dt> +<dt><span class="section"><a href="minmax.html#boost_integer.minmax.synopsis"> Synopsis &#25688;&#35201;</a></span></dt> +<dt><span class="section"><a href="minmax.html#boost_integer.minmax.usage"> Usage &#29992;&#27861;</a></span></dt> +<dt><span class="section"><a href="minmax.html#boost_integer.minmax.example"> Example &#20363;&#23376;</a></span></dt> +<dt><span class="section"><a href="minmax.html#boost_integer.minmax.demonstration_program"> Demonstration
+      Program &#31034;&#33539;&#31243;&#24207;</a></span></dt>
+<dt><span class="section"><a href="minmax.html#boost_integer.minmax.rationale"> Rationale &#21407;&#29702;</a></span></dt> +<dt><span class="section"><a href="minmax.html#boost_integer.minmax.credits"> Credits &#40483;&#35874;</a></span></dt>
 </dl></div>
 <p>
The class templates in <a href="../../../../../boost/integer/static_min_max.hpp" target="_top">&lt;boost/integer/static_min_max.hpp&gt;</a> provide a compile-time evaluation of the minimum or maximum of two integers.
-      These facilities are useful for generic programming problems.
+ These facilities are useful for generic programming problems.<br> <a href="../../../../../boost/integer/static_min_max.hpp" target="_top">&lt;boost/integer/static_min_max.hpp&gt;</a> + &#20013;&#30340;&#31867;&#27169;&#26495;&#25552;&#20379;&#20102;&#22312;&#32534;&#35793;&#26399;&#35745;&#31639;&#20004;&#20010;&#25972;&#25968;&#30340;&#26368;&#23567;&#25110;&#26368;&#22823;&#20540;&#30340;&#26041;&#27861;&#12290;&#22312;&#35299;&#20915;&#27867;&#22411;&#32534;&#31243;&#30340;&#38382;&#39064;&#26102;&#65292;&#36825;&#19968;&#24037;&#20855;&#29305;&#21035;&#26377;&#29992;&#12290;
     </p>
 <div class="section" lang="en">
 <div class="titlepage"><div><div><h3 class="title">
-<a name="boost_integer.minmax.synopsis"></a><a class="link" href="minmax.html#boost_integer.minmax.synopsis" title="Synopsis">Synopsis</a> +<a name="boost_integer.minmax.synopsis"></a><a class="link" href="minmax.html#boost_integer.minmax.synopsis" title="Synopsis &#25688;&#35201;"> Synopsis &#25688;&#35201;</a>
 </h3></div></div></div>
<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">boost</span>
 <span class="special">{</span>
@@ -67,19 +69,23 @@
 </div>
 <div class="section" lang="en">
 <div class="titlepage"><div><div><h3 class="title">
-<a name="boost_integer.minmax.usage"></a><a class="link" href="minmax.html#boost_integer.minmax.usage" title="Usage">Usage</a> +<a name="boost_integer.minmax.usage"></a><a class="link" href="minmax.html#boost_integer.minmax.usage" title="Usage &#29992;&#27861;"> Usage &#29992;&#27861;</a>
 </h3></div></div></div>
 <p>
The four class templates provide the combinations for finding the minimum or maximum of two <code class="literal">signed</code> or <code class="literal">unsigned</code> (<code class="literal">long</code>) parameters, <span class="emphasis"><em>Value1</em></span> and <span class="emphasis"><em>Value2</em></span>, at compile-time. Each template has a single static data member, <code class="literal">value</code>, - which is set to the respective minimum or maximum of the template's parameters. + which is set to the respective minimum or maximum of the template's parameters.<br> + &#20197;&#19978;&#22235;&#20010;&#31867;&#27169;&#26495;&#25552;&#20379;&#20102;&#22312;&#32534;&#35793;&#26399;&#26597;&#25214;&#20004;&#20010; <code class="literal">signed</code> + &#25110; <code class="literal">unsigned</code> (<code class="literal">long</code>)&#21442;&#25968;&#30340;&#26368;&#23567;&#25110;&#26368;&#22823;&#20540;&#30340;&#26041;&#27861;&#65292;&#36825;&#20004;&#20010;&#21442;&#25968;&#20998;&#21035;&#20026; + <span class="emphasis"><em>Value1</em></span> &#21644; <span class="emphasis"><em>Value2</em></span>. &#27599;&#20010;&#27169;&#26495;&#26377;&#19968;&#20010;&#38745;&#24577;&#25968;&#25454;&#25104;&#21592; + <code class="literal">value</code>, &#23427;&#20998;&#21035;&#34987;&#35774;&#32622;&#20026;&#27169;&#26495;&#21442;&#25968;&#30340;&#26368;&#23567;&#25110;&#26368;&#22823;&#20540;&#12290;
       </p>
 </div>
 <div class="section" lang="en">
 <div class="titlepage"><div><div><h3 class="title">
-<a name="boost_integer.minmax.example"></a><a class="link" href="minmax.html#boost_integer.minmax.example" title="Example">Example</a> +<a name="boost_integer.minmax.example"></a><a class="link" href="minmax.html#boost_integer.minmax.example" title="Example &#20363;&#23376;"> Example &#20363;&#23376;</a>
 </h3></div></div></div>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">integer</span><span class="special">/</span><span class="identifier">static_min_max</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>

@@ -114,28 +120,29 @@
 </div>
 <div class="section" lang="en">
 <div class="titlepage"><div><div><h3 class="title">
-<a name="boost_integer.minmax.demonstration_program"></a><a class="link" href="minmax.html#boost_integer.minmax.demonstration_program" title="Demonstration Program">Demonstration
-      Program</a>
+<a name="boost_integer.minmax.demonstration_program"></a><a class="link" href="minmax.html#boost_integer.minmax.demonstration_program" title="Demonstration Program &#31034;&#33539;&#31243;&#24207;"> Demonstration
+      Program &#31034;&#33539;&#31243;&#24207;</a>
 </h3></div></div></div>
 <p>
The program <a href="../../../test/static_min_max_test.cpp" target="_top">static_min_max_test.cpp</a> is a simplistic demonstration of various comparisons using the compile-time
-        extrema class templates.
+ extrema class templates.<br> &#31243;&#24207; <a href="../../../test/static_min_max_test.cpp" target="_top">static_min_max_test.cpp</a> + &#26159;&#19968;&#20010;&#31616;&#21333;&#30340;&#31034;&#33539;&#65292;&#20351;&#29992;&#32534;&#35793;&#22120;&#30028;&#38480;&#31867;&#27169;&#26495;&#36827;&#34892;&#20102;&#22810;&#27425;&#27604;&#36739;&#12290;
       </p>
 </div>
 <div class="section" lang="en">
 <div class="titlepage"><div><div><h3 class="title">
-<a name="boost_integer.minmax.rationale"></a><a class="link" href="minmax.html#boost_integer.minmax.rationale" title="Rationale">Rationale</a> +<a name="boost_integer.minmax.rationale"></a><a class="link" href="minmax.html#boost_integer.minmax.rationale" title="Rationale &#21407;&#29702;"> Rationale &#21407;&#29702;</a>
 </h3></div></div></div>
 <p>
Sometimes the minimum or maximum of several values needs to be found for later compile-time processing, <span class="emphasis"><em>e.g.</em></span> for a bound for
-        another class template.
+ another class template.<br> &#26377;&#26102;&#38656;&#35201;&#20026;&#21518;&#32493;&#30340;&#32534;&#35793;&#26399;&#22788;&#29702;&#65292;<span class="emphasis"><em>&#22914;</em></span>&#21478;&#19968;&#20010;&#31867;&#27169;&#26495;&#30340;&#30028;&#38480;&#65292;&#32780;&#35745;&#31639;&#22810;&#20010;&#20540;&#30340;&#26368;&#23567;&#25110;&#26368;&#22823;&#20540;&#12290;
       </p>
 </div>
 <div class="section" lang="en">
 <div class="titlepage"><div><div><h3 class="title">
-<a name="boost_integer.minmax.credits"></a><a class="link" href="minmax.html#boost_integer.minmax.credits" title="Credits">Credits</a> +<a name="boost_integer.minmax.credits"></a><a class="link" href="minmax.html#boost_integer.minmax.credits" title="Credits &#40483;&#35874;"> Credits &#40483;&#35874;</a>
 </h3></div></div></div>
 <p>
The author of the Boost compile-time extrema class templates is <a href="http://www.boost.org/people/daryle_walker.html"; target="_top">Daryle
=======================================
--- /trunk/libs/integer/doc/html/boost_integer/traits.html Mon Feb 8 07:24:10 2010 +++ /trunk/libs/integer/doc/html/boost_integer/traits.html Sun Mar 21 20:54:57 2010
@@ -3,11 +3,11 @@
 <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
 <title>Integer Traits</title>
<link rel="stylesheet" href="../../../../../doc/html/boostbook.css" type="text/css">
-<meta name="generator" content="DocBook XSL Stylesheets V1.74.0">
-<link rel="home" href="../index.html" title="Boost.Integer">
+<meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
+<link rel="start" href="../index.html" title="Boost.Integer">
 <link rel="up" href="../index.html" title="Boost.Integer">
-<link rel="prev" href="cstdint.html" title="Standard Integer Types">
-<link rel="next" href="integer.html" title="Integer Type Selection">
+<link rel="prev" href="cstdint.html" title="Standard Integer Types &#26631;&#20934;&#25972;&#25968;&#31867;&#22411;"> +<link rel="next" href="integer.html" title="Integer Type Selection &#25972;&#25968;&#31867;&#22411;&#36873;&#25321;">
 </head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
 <table cellpadding="2" width="100%"><tr>
@@ -27,44 +27,50 @@
<a name="boost_integer.traits"></a><a class="link" href="traits.html" title="Integer Traits"> Integer Traits</a>
 </h2></div></div></div>
 <div class="toc"><dl>
-<dt><span class="section"><a href="traits.html#boost_integer.traits.motivation">Motivation</a></span></dt> -<dt><span class="section"><a href="traits.html#boost_integer.traits.synopsis">Synopsis</a></span></dt> -<dt><span class="section"><a href="traits.html#boost_integer.traits.description">Description</a></span></dt> -<dt><span class="section"><a href="traits.html#boost_integer.traits.test_program">Test Program</a></span></dt> -<dt><span class="section"><a href="traits.html#boost_integer.traits.acknowledgements">Acknowledgements</a></span></dt> +<dt><span class="section"><a href="traits.html#boost_integer.traits.motivation"> Motivation &#21160;&#26426;</a></span></dt> +<dt><span class="section"><a href="traits.html#boost_integer.traits.synopsis"> Synopsis &#25688;&#35201;</a></span></dt> +<dt><span class="section"><a href="traits.html#boost_integer.traits.description"> Description &#35828;&#26126;</a></span></dt> +<dt><span class="section"><a href="traits.html#boost_integer.traits.test_program"> Test Program &#27979;&#35797;&#31243;&#24207;</a></span></dt> +<dt><span class="section"><a href="traits.html#boost_integer.traits.acknowledgements"> Acknowledgements
+      &#40483;&#35874;</a></span></dt>
 </dl></div>
 <div class="section" lang="en">
 <div class="titlepage"><div><div><h3 class="title">
-<a name="boost_integer.traits.motivation"></a><a class="link" href="traits.html#boost_integer.traits.motivation" title="Motivation">Motivation</a> +<a name="boost_integer.traits.motivation"></a><a class="link" href="traits.html#boost_integer.traits.motivation" title="Motivation &#21160;&#26426;"> Motivation &#21160;&#26426;</a>
 </h3></div></div></div>
 <p>
The C++ Standard Library &lt;limits&gt; header supplies a class template <code class="computeroutput"><span class="identifier">numeric_limits</span><span class="special">&lt;&gt;</span></code>
-        with specializations for each fundamental type.
+ with specializations for each fundamental type.<br> C++ &#26631;&#20934;&#24211;&#30340; &lt;limits&gt; + &#22836;&#25991;&#20214;&#25552;&#20379;&#20102;&#19968;&#20010;&#31867;&#27169;&#26495; <code class="computeroutput"><span class="identifier">numeric_limits</span><span class="special">&lt;&gt;</span></code>&#65292;&#23427;&#23545;&#27599;&#31181;&#22522;&#26412;&#31867;&#22411;&#36827;&#34892;&#20102;&#29305;&#21270;&#12290;
       </p>
 <p>
- For integer types, the interesting members of <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">numeric_limits</span><span class="special">&lt;&gt;</span></code> are: + For integer types, the interesting members of <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">numeric_limits</span><span class="special">&lt;&gt;</span></code> are: <br> &#23545;&#20110;&#25972;&#25968;&#31867;&#22411;&#65292;&#35201;&#20851;&#27880;&#30340; + <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">numeric_limits</span><span class="special">&lt;&gt;</span></code>
+        &#25104;&#21592;&#26377;&#65306;
       </p>
-<pre class="programlisting"><span class="keyword">static</span> <span class="keyword">const</span> <span class="keyword">bool</span> <span class="identifier">is_specialized</span><span class="special">;</span> <span class="comment">// Will be true for integer types. -</span><span class="keyword">static</span> <span class="identifier">T</span> <span class="identifier">min</span><span class="special">()</span> <span class="keyword">throw</span><span class="special">();</span> <span class="comment">// Smallest representable value. -</span><span class="keyword">static</span> <span class="identifier">T</span> <span class="identifier">max</span><span class="special">()</span> <span class="keyword">throw</span><span class="special">();</span> <span class="comment">// Largest representable value. -</span><span class="keyword">static</span> <span class="keyword">const</span> <span class="keyword">int</span> <span class="identifier">digits</span><span class="special">;</span> <span class="comment">// For integers, the number of value bits. -</span><span class="keyword">static</span> <span class="keyword">const</span> <span class="keyword">int</span> <span class="identifier">digits10</span><span class="special">;</span> <span class="comment">// The number of base 10 digits that can be represented. -</span><span class="keyword">static</span> <span class="keyword">const</span> <span class="keyword">bool</span> <span class="identifier">is_signed</span><span class="special">;</span> <span class="comment">// True if the type is signed. -</span><span class="keyword">static</span> <span class="keyword">const</span> <span class="keyword">bool</span> <span class="identifier">is_integer</span><span class="special">;</span> <span class="comment">// Will be true for all integer types. +<pre class="programlisting"><span class="keyword">static</span> <span class="keyword">const</span> <span class="keyword">bool</span> <span class="identifier">is_specialized</span><span class="special">;</span> <span class="comment">// Will be true for integer types. &#23545;&#20110;&#25972;&#25968;&#31867;&#22411;&#20026;true&#12290; +</span><span class="keyword">static</span> <span class="identifier">T</span> <span class="identifier">min</span><span class="special">()</span> <span class="keyword">throw</span><span class="special">();</span> <span class="comment">// Smallest representable value. &#21487;&#34920;&#31034;&#30340;&#26368;&#23567;&#20540;&#12290; +</span><span class="keyword">static</span> <span class="identifier">T</span> <span class="identifier">max</span><span class="special">()</span> <span class="keyword">throw</span><span class="special">();</span> <span class="comment">// Largest representable value. &#21487;&#34920;&#31034;&#30340;&#26368;&#22823;&#20540;&#12290; +</span><span class="keyword">static</span> <span class="keyword">const</span> <span class="keyword">int</span> <span class="identifier">digits</span><span class="special">;</span> <span class="comment">// For integers, the number of value bits. &#23545;&#20110;&#25972;&#25968;&#65292;&#20026;&#20108;&#36827;&#21046;&#20301;&#25968;&#12290; +</span><span class="keyword">static</span> <span class="keyword">const</span> <span class="keyword">int</span> <span class="identifier">digits10</span><span class="special">;</span> <span class="comment">// The number of base 10 digits that can be represented. &#21487;&#34920;&#31034;&#30340;&#21313;&#36827;&#21046;&#20301;&#25968;&#12290; +</span><span class="keyword">static</span> <span class="keyword">const</span> <span class="keyword">bool</span> <span class="identifier">is_signed</span><span class="special">;</span> <span class="comment">// True if the type is signed. &#22914;&#26524;&#31867;&#22411;&#24102;&#31526;&#21495;&#21017;&#20026;true&#12290; +</span><span class="keyword">static</span> <span class="keyword">const</span> <span class="keyword">bool</span> <span class="identifier">is_integer</span><span class="special">;</span> <span class="comment">// Will be true for all integer types. &#23545;&#25152;&#26377;&#25972;&#25968;&#31867;&#22411;&#20026;true&#12290;
 </span></pre>
 <p>
For many uses, these are sufficient. But min() and max() are problematical because they are not constant expressions (std::5.19), yet some usages require
-        constant expressions.
+ constant expressions. <br> &#23545;&#20110;&#22810;&#25968;&#24212;&#29992;&#20026;&#35828;&#65292;&#36825;&#20123;&#24050;&#32463;&#36275;&#22815;&#20102;&#12290;&#20294;&#26159;&#23545;&#20110; + min() &#21644; max() &#23601;&#26377;&#38382;&#39064;&#65292;&#22240;&#20026;&#23427;&#20204;&#19981;&#26159;&#24120;&#37327;&#34920;&#36798;&#24335;(std::5.19)&#65292;&#36824;&#26377;&#19968;&#20123;&#24212;&#29992;&#20063;&#38656;&#35201;&#24120;&#37327;&#34920;&#36798;&#24335;&#12290;
       </p>
 <p>
The template class <code class="literal">integer_traits</code> addresses this problem. + <br> &#31867;&#27169;&#26495; <code class="literal">integer_traits</code> &#35299;&#20915;&#20102;&#36825;&#20010;&#38382;&#39064;&#12290;
       </p>
 </div>
 <div class="section" lang="en">
 <div class="titlepage"><div><div><h3 class="title">
-<a name="boost_integer.traits.synopsis"></a><a class="link" href="traits.html#boost_integer.traits.synopsis" title="Synopsis">Synopsis</a> +<a name="boost_integer.traits.synopsis"></a><a class="link" href="traits.html#boost_integer.traits.synopsis" title="Synopsis &#25688;&#35201;"> Synopsis &#25688;&#35201;</a>
 </h3></div></div></div>
<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">boost</span> <span class="special">{</span> <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">class</span> <span class="identifier">T</span><span class="special">&gt;</span>
@@ -75,6 +81,7 @@
      <span class="comment">//
</span> <span class="comment">// These members are defined only if T is a built-in
 </span>     <span class="comment">// integal type:
+</span> <span class="comment">// &#20197;&#19979;&#25104;&#21592;&#20165;&#24403;T&#20026;&#20869;&#24314;&#25972;&#25968;&#31867;&#22411;&#26102;&#34987;&#23450;&#20041;
 </span>     <span class="comment">//
</span> <span class="keyword">static</span> <span class="keyword">const</span> <span class="identifier">T</span> <span class="identifier">const_min</span> <span class="special">=</span> <span class="emphasis"><em>implementation-defined</em></span><span class="special">;</span> <span class="keyword">static</span> <span class="keyword">const</span> <span class="identifier">T</span> <span class="identifier">const_max</span> <span class="special">=</span> <span class="emphasis"><em>implementation-defined</em></span><span class="special">;</span>
@@ -84,7 +91,7 @@
 </div>
 <div class="section" lang="en">
 <div class="titlepage"><div><div><h3 class="title">
-<a name="boost_integer.traits.description"></a><a class="link" href="traits.html#boost_integer.traits.description" title="Description">Description</a> +<a name="boost_integer.traits.description"></a><a class="link" href="traits.html#boost_integer.traits.description" title="Description &#35828;&#26126;"> Description &#35828;&#26126;</a>
 </h3></div></div></div>
 <p>
Template class <code class="literal">integer_traits</code> is derived from <code class="literal">std::numeric_limits</code>.
@@ -92,7 +99,10 @@
<code class="literal">is_integral</code> with the compile-time constant value <code class="literal">false</code>. However, for all integral types <code class="literal">T</code> (std::3.9.1/7 [basic.fundamental]), there are specializations provided with the following compile-time constants
-        defined:
+ defined: <br> &#31867;&#27169;&#26495; <code class="literal">integer_traits</code> &#27966;&#29983;&#33258; <code class="literal">std::numeric_limits</code>. + &#23545;&#20110;&#20027;&#27169;&#26495;&#65292;&#23427;&#22686;&#21152;&#20102;&#21333;&#20010; <code class="literal">bool</code> &#25104;&#21592; <code class="literal">is_integral</code>&#65292;&#20855;&#26377;&#32534;&#35793;&#26399;&#24120;&#37327;&#20540; + <code class="literal">false</code>. &#19981;&#36807;&#65292;&#23545;&#20110;&#25152;&#26377;&#25972;&#25968;&#31867;&#22411; <code class="literal">T</code> + (std::3.9.1/7 [basic.fundamental]), &#37117;&#25552;&#20379;&#20102;&#29305;&#21270;&#29256;&#26412;&#65292;&#23450;&#20041;&#20102;&#20197;&#19979;&#32534;&#35793;&#26399;&#24120;&#37327;&#65306;
       </p>
 <div class="informaltable"><table class="table">
 <colgroup>
@@ -103,17 +113,17 @@
 <thead><tr>
 <th>
               <p>
-                member
+                member &#25104;&#21592;
               </p>
               </th>
 <th>
               <p>
-                type
+                type &#31867;&#22411;
               </p>
               </th>
 <th>
               <p>
-                value
+                value &#20540;
               </p>
               </th>
 </tr></thead>
@@ -148,7 +158,8 @@
               </td>
 <td>
               <p>
- equivalent to <code class="literal">std::numeric_limits&lt;T&gt;::min()</code> + equivalent to <code class="literal">std::numeric_limits&lt;T&gt;::min()</code><br> + &#30456;&#24403;&#20110; <code class="literal">std::numeric_limits&lt;T&gt;::min()</code>
               </p>
               </td>
 </tr>
@@ -165,7 +176,8 @@
               </td>
 <td>
               <p>
- equivalent to <code class="literal">std::numeric_limits&lt;T&gt;::max()</code> + equivalent to <code class="literal">std::numeric_limits&lt;T&gt;::max()</code><br> + &#30456;&#24403;&#20110; <code class="literal">std::numeric_limits&lt;T&gt;::max()</code>
               </p>
               </td>
 </tr>
@@ -176,21 +188,26 @@
integer class should specialize <code class="literal">std::numeric_limits&lt;&gt;::is_integer = true</code>, while compile-time constants <code class="literal">const_min</code> and <code class="literal">const_max</code> are not provided for that user-defined class,
-        unless boost::integer_traits is also specialized.
+ unless boost::integer_traits is also specialized. <br> &#27880;&#24847;&#65306;&#36825;&#37324;&#25552;&#20379;&#20102;&#19968;&#20010;&#26631;&#24535; + <span class="emphasis"><em>is_integral</em></span>, &#22240;&#20026;&#34429;&#28982;&#29992;&#25143;&#33258;&#23450;&#20041;&#30340;&#25972;&#25968;&#31867;&#20250;&#29305;&#21270; + <code class="literal">std::numeric_limits&lt;&gt;::is_integer = true</code>, &#20294;&#26159;&#23545;&#20110;&#29992;&#25143;&#33258;&#23450;&#20041;&#31867;&#65292;&#32534;&#35793;&#26399;&#24120;&#37327; + <code class="literal">const_min</code> &#21644; <code class="literal">const_max</code> &#20173;&#28982;&#26159;&#27809;&#26377;&#25552;&#20379;&#30340;&#12290;
       </p>
 </div>
 <div class="section" lang="en">
 <div class="titlepage"><div><div><h3 class="title">
-<a name="boost_integer.traits.test_program"></a><a class="link" href="traits.html#boost_integer.traits.test_program" title="Test Program">Test Program</a> +<a name="boost_integer.traits.test_program"></a><a class="link" href="traits.html#boost_integer.traits.test_program" title="Test Program &#27979;&#35797;&#31243;&#24207;"> Test Program &#27979;&#35797;&#31243;&#24207;</a>
 </h3></div></div></div>
 <p>
The program <code class="literal"><a href="../../../test/integer_traits_test.cpp" target="_top">integer_traits_test.cpp</a></code>
-        exercises the <code class="literal">integer_traits</code> class.
+ exercises the <code class="literal">integer_traits</code> class. <br> &#31243;&#24207; <code class="literal"><a href="../../../test/integer_traits_test.cpp" target="_top">integer_traits_test.cpp</a></code> + &#26816;&#39564;&#20102; <code class="literal">integer_traits</code> &#31867;&#12290;
       </p>
 </div>
 <div class="section" lang="en">
 <div class="titlepage"><div><div><h3 class="title">
-<a name="boost_integer.traits.acknowledgements"></a><a class="link" href="traits.html#boost_integer.traits.acknowledgements" title="Acknowledgements">Acknowledgements</a> +<a name="boost_integer.traits.acknowledgements"></a><a class="link" href="traits.html#boost_integer.traits.acknowledgements" title="Acknowledgements &#40483;&#35874;"> Acknowledgements
+      &#40483;&#35874;</a>
 </h3></div></div></div>
 <p>
Beman Dawes, Ed Brey, Steve Cleary, and Nathan Myers discussed the integer
=======================================
--- /trunk/libs/integer/doc/html/index.html     Mon Feb  8 07:24:10 2010
+++ /trunk/libs/integer/doc/html/index.html     Sun Mar 21 20:54:57 2010
@@ -3,9 +3,9 @@
 <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
 <title>Boost.Integer</title>
<link rel="stylesheet" href="../../../../doc/html/boostbook.css" type="text/css">
-<meta name="generator" content="DocBook XSL Stylesheets V1.74.0">
-<link rel="home" href="index.html" title="Boost.Integer">
-<link rel="next" href="boost_integer/cstdint.html" title="Standard Integer Types">
+<meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
+<link rel="start" href="index.html" title="Boost.Integer">
+<link rel="next" href="boost_integer/cstdint.html" title="Standard Integer Types &#26631;&#20934;&#25972;&#25968;&#31867;&#22411;">
 </head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
 <table cellpadding="2" width="100%"><tr>
@@ -40,7 +40,7 @@
<div><p class="copyright">Copyright &#169; 2001 -2009 Beman Dawes, Daryle Walker, Gennaro Prota,
       John Maddock</p></div>
 <div><div class="legalnotice">
-<a name="id771218"></a><p>
+<a name="id4850133"></a><p>
Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt"; target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
       </p>
@@ -51,19 +51,20 @@
 <div class="toc">
 <p><b>Table of Contents</b></p>
 <dl>
-<dt><span class="section"><a href="index.html#boost_integer.overview"> Overview</a></span></dt> -<dt><span class="section"><a href="boost_integer/cstdint.html"> Standard Integer Types</a></span></dt> +<dt><span class="section"><a href="index.html#boost_integer.overview"> Overview &#31616;&#20171;</a></span></dt> +<dt><span class="section"><a href="boost_integer/cstdint.html"> Standard Integer Types &#26631;&#20934;&#25972;&#25968;&#31867;&#22411;</a></span></dt> <dt><span class="section"><a href="boost_integer/traits.html"> Integer Traits</a></span></dt> -<dt><span class="section"><a href="boost_integer/integer.html"> Integer Type Selection</a></span></dt> -<dt><span class="section"><a href="boost_integer/mask.html"> Integer Masks</a></span></dt> -<dt><span class="section"><a href="boost_integer/log2.html"> Compile Time log2 Calculation</a></span></dt> -<dt><span class="section"><a href="boost_integer/minmax.html"> Compile time min/max calculation</a></span></dt> -<dt><span class="section"><a href="boost_integer/history.html"> History</a></span></dt> +<dt><span class="section"><a href="boost_integer/integer.html"> Integer Type Selection &#25972;&#25968;&#31867;&#22411;&#36873;&#25321;</a></span></dt> +<dt><span class="section"><a href="boost_integer/mask.html"> Integer Masks &#25972;&#25968;&#20301;&#25513;&#30721;&#27169;&#26495;</a></span></dt> +<dt><span class="section"><a href="boost_integer/log2.html"> Compile Time log2 Calculation &#20108;&#36827;&#21046;&#23545;&#25968;&#27169;&#26495;</a></span></dt> +<dt><span class="section"><a href="boost_integer/minmax.html"> Compile time min/max calculation
+    &#32534;&#35793;&#26399;min/max&#27169;&#26495;</a></span></dt>
+<dt><span class="section"><a href="boost_integer/history.html"> History &#21382;&#21490;</a></span></dt>
 </dl>
 </div>
 <div class="section" lang="en">
 <div class="titlepage"><div><div><h2 class="title" style="clear: both">
-<a name="boost_integer.overview"></a><a class="link" href="index.html#boost_integer.overview" title="Overview"> Overview</a> +<a name="boost_integer.overview"></a><a class="link" href="index.html#boost_integer.overview" title="Overview &#31616;&#20171;"> Overview &#31616;&#20171;</a>
 </h2></div></div></div>
 <p>
Boost.Integer provides integer type support, particularly helpful in generic
@@ -74,7 +75,13 @@
is a derivative of std::numeric_limits that provides integral constant expressions for <code class="computeroutput"><span class="identifier">min</span></code> and <code class="computeroutput"><span class="identifier">max</span></code>. Finally, it provides two compile-time algorithms: determining the highest power - of two in a compile-time value; and computing min and max of constant expressions. + of two in a compile-time value; and computing min and max of constant expressions.<br> + Boost.Integer &#25552;&#20379;&#20102;&#25972;&#25968;&#31867;&#22411;&#30340;&#25903;&#25345;&#65292;&#22312;&#27867;&#22411;&#32534;&#31243;&#20013;&#29305;&#21035;&#26377;&#24110;&#21161;&#12290;&#23427;&#25552;&#20379;&#20102;&#26631;&#20934;&#30340;C99&#25972;&#25968;&#31867;&#22411;&#65292;&#21363; + &lt;stdint.h&gt; &#20013;&#30340;&#31867;&#22411;&#65292;&#32780;&#19981;&#38656;&#35201;&#37027;&#20010;&#22836;&#25991;&#20214;&#12290; &#23427;&#25552;&#20379;&#20102;&#22522;&#20110;&#25972;&#25968;&#30340;&#29305;&#24615;&#26469;&#36873;&#25321;&#26576;&#20010;&#25972;&#25968;&#31867;&#22411;&#30340;&#33021;&#21147;&#65292;&#22914;&#22522;&#20110;&#20108;&#36827;&#21046;&#20301;&#25968;&#25110;&#21487;&#25903;&#25345;&#30340;&#26368;&#22823;&#20540;&#65292;&#20197;&#21450;&#32534;&#35793;&#26399;&#30340;&#20301;&#25513;&#30721;&#36873;&#23450;&#12290; + &#36824;&#26377;&#20102;&#19968;&#20010; std::numeric_limits &#30340;&#27920;&#29983;&#29289;&#65292;&#20026; <code class="computeroutput"><span class="identifier">min</span></code> + &#21644; <code class="computeroutput"><span class="identifier">max</span></code> &#25552;&#20379;&#25972;&#22411;&#24120;&#37327;&#34920;&#36798;&#24335;&#12290;&#26368;&#21518;&#65292;&#23427;&#25552;&#20379;&#20102;&#20004;&#20010;&#32534;&#35793;&#26399;&#31639;&#27861;&#65306; + &#29992;&#32534;&#35793;&#26399;&#20540;&#26469;&#30830;&#23450;2&#30340;&#26368;&#39640;&#24130;&#27425;&#65307;&#20197;&#21450;&#35745;&#31639;&#26576;&#20010;&#24120;&#37327;&#34920;&#36798;&#24335;&#30340;
+      min &#21644; max&#12290;
     </p>
 <div class="informaltable"><table class="table">
 <colgroup>
@@ -85,17 +92,17 @@
 <thead><tr>
 <th>
             <p>
-              Component
+              Component &#32452;&#20214;
             </p>
             </th>
 <th>
             <p>
-              Header
+              Header &#22836;&#25991;&#20214;
             </p>
             </th>
 <th>
             <p>
-              Purpose
+              Purpose &#30446;&#30340;
             </p>
             </th>
 </tr></thead>
@@ -103,7 +110,7 @@
 <tr>
 <td>
             <p>
-              Forward Declarations.
+              Forward Declarations.<br> &#21069;&#21521;&#22768;&#26126;
             </p>
             </td>
 <td>
@@ -114,14 +121,16 @@
 <td>
             <p>
Forward declarations of classes and class templates - for use when
-              just the name of a class is needed.
+ just the name of a class is needed.<br> &#31867;&#19982;&#31867;&#27169;&#26495;&#30340;&#21069;&#21521;&#22768;&#26126; + - &#22312;&#21482;&#38656;&#35201;&#31867;&#21517;&#26102;&#20351;&#29992;
             </p>
             </td>
 </tr>
 <tr>
 <td>
             <p>
- <a class="link" href="boost_integer/cstdint.html" title="Standard Integer Types">Standard Integer Types</a>. + <a class="link" href="boost_integer/cstdint.html" title="Standard Integer Types &#26631;&#20934;&#25972;&#25968;&#31867;&#22411;">Standard Integer Types<br>
+              &#26631;&#20934;&#25972;&#25968;&#31867;&#22411;</a>.
             </p>
             </td>
 <td>
@@ -133,7 +142,9 @@
             <p>
Provides typedef's based on the 1999 C Standard header <code class="computeroutput"><span class="special">&lt;</span><span class="identifier">stdint</span><span class="special">.</span><span class="identifier">h</span><span class="special">&gt;</span></code>, wrapped in namespace boost. This implementation may #include the compiler supplied <code class="computeroutput"><span class="special">&lt;</span><span class="identifier">stdint</span><span class="special">.</span><span class="identifier">h</span><span class="special">&gt;</span></code>,
-              if present.
+ if present.<br> &#25552;&#20379;&#22522;&#20110; 1999 C &#26631;&#20934;&#22836;&#25991;&#20214; &lt;stdint.h&gt; + &#30340;typedef, &#21253;&#35013;&#22312;&#21517;&#23383;&#31354;&#38388; boost &#20013;&#12290;&#21487;&#33021; #include &#32534;&#35793;&#22120;&#25552;&#20379;&#30340; + &lt;stdint.h&gt;, &#22914;&#26524;&#26377;&#30340;&#35805;&#12290;
             </p>
             </td>
 </tr>
@@ -152,14 +163,17 @@
             <p>
Class template <code class="literal">boost::integer_traits</code>, derives from <code class="literal">std::numeric_limits</code> and adds <code class="literal">const_min</code>
-              and <code class="literal">const_max</code> members.
+ and <code class="literal">const_max</code> members.<br> &#31867;&#27169;&#26495; <code class="literal">boost::integer_traits</code>, + &#27966;&#29983;&#33258; <code class="literal">std::numeric_limits</code> &#24182;&#22686;&#21152;&#20102; <code class="literal">const_min</code> + &#21644; <code class="literal">const_max</code> &#25104;&#21592;&#12290;
             </p>
             </td>
 </tr>
 <tr>
 <td>
             <p>
- <a class="link" href="boost_integer/integer.html" title="Integer Type Selection">Integer Type Selection</a>. + <a class="link" href="boost_integer/integer.html" title="Integer Type Selection &#25972;&#25968;&#31867;&#22411;&#36873;&#25321;">Integer Type Selection<br>
+              &#25972;&#25968;&#31867;&#22411;&#36873;&#25321;</a>.
             </p>
             </td>
 <td>
@@ -172,14 +186,14 @@
Templates for integer type selection based on properties such as maximum value or number of bits: Use to select the type of an integer when some property such as maximum value or number of bits is known. Useful
-              for generic programming.
+ for generic programming. <br> &#22522;&#20110;&#26368;&#22823;&#20540;&#25110;&#20108;&#36827;&#21046;&#20301;&#25968;&#31561;&#29305;&#24615;&#26469;&#36873;&#25321;&#25972;&#25968;&#31867;&#22411;&#30340;&#27169;&#26495;&#65306;&#29992;&#20110;&#22312;&#30693;&#36947;&#26576;&#20123;&#29305;&#24615;&#22914;&#26368;&#22823;&#20540;&#25110;&#20301;&#25968;&#26102;&#65292;&#36873;&#25321;&#26576;&#20010;&#25972;&#25968;&#31867;&#22411;&#12290;&#23545;&#20110;&#27867;&#22411;&#32534;&#31243;&#38750;&#24120;&#26377;&#29992;&#12290;
             </p>
             </td>
 </tr>
 <tr>
 <td>
             <p>
- <a class="link" href="boost_integer/mask.html" title="Integer Masks">Integer Masks</a>. + <a class="link" href="boost_integer/mask.html" title="Integer Masks &#25972;&#25968;&#20301;&#25513;&#30721;&#27169;&#26495;">Integer Masks</a>.
             </p>
             </td>
 <td>
@@ -192,14 +206,17 @@
Templates for the selection of integer masks, single or lowest group, based on the number of bits: Use to select a particular mask when the bit position(s) are based on a compile-time variable. Useful for generic
-              programming.
+ programming. <br> &#22522;&#20110;&#20108;&#36827;&#21046;&#20301;&#25968;&#36873;&#25321;&#25972;&#25968;&#30340;&#21333;&#20010;&#25110;&#26368;&#20302;&#20301;&#20803;&#32452; + mask &#30340;&#27169;&#26495;&#65306;&#29992;&#20110;&#22312;&#20301;&#20803;&#20301;&#32622;&#30001;&#32534;&#35793;&#26399;&#21464;&#37327;&#30830;&#23450;&#30340;&#24773;&#20917;&#19979;&#65292;&#36873;&#25321;&#29305;&#23450;&#30340; + mask. &#23545;&#20110;&#27867;&#22411;&#32534;&#31243;&#38750;&#24120;&#26377;&#29992;&#12290;
             </p>
             </td>
 </tr>
 <tr>
 <td>
             <p>
- <a class="link" href="boost_integer/log2.html" title="Compile Time log2 Calculation">Compile time log2 Calculation</a>. + <a class="link" href="boost_integer/log2.html" title="Compile Time log2 Calculation &#20108;&#36827;&#21046;&#23545;&#25968;&#27169;&#26495;">Compile time log2 Calculation<br>
+              &#32534;&#35793;&#26399;&#30340; log2 &#35745;&#31639;</a>.
             </p>
             </td>
 <td>
@@ -211,13 +228,15 @@
             <p>
Template for finding the highest power of two in a number: Use to find the bit-size/range based on a maximum value. Useful for generic programming. + <br> &#29992;&#20110;&#22312;&#26576;&#20010;&#25968;&#23383;&#20043;&#20869;&#26597;&#25214;&#26368;&#22823;&#30340;2&#30340;&#25972;&#25968;&#24130;&#30340;&#27169;&#26495;&#65306;&#22522;&#20110;&#26576;&#20010;&#26368;&#22823;&#20540;&#26597;&#25214;&#20301;&#20803;&#25968;/&#33539;&#22260;&#12290;&#23545;&#20110;&#27867;&#22411;&#32534;&#31243;&#38750;&#24120;&#26377;&#29992;&#12290;
             </p>
             </td>
 </tr>
 <tr>
 <td>
             <p>
- <a class="link" href="boost_integer/minmax.html" title="Compile time min/max calculation">Compile time min/max calculation</a>. + <a class="link" href="boost_integer/minmax.html" title="Compile time min/max calculation &#32534;&#35793;&#26399;min/max&#27169;&#26495;">Compile time min/max calculation<br> + &#32534;&#35793;&#26399;&#30340; min/max &#35745;&#31639;</a>.
             </p>
             </td>
 <td>
@@ -229,6 +248,7 @@
             <p>
Templates for finding the extrema of two numbers: Use to find a bound based on a minimum or maximum value. Useful for generic programming. + <br> &#29992;&#20110;&#26597;&#25214;&#20004;&#20010;&#25968;&#23383;&#30340;&#26368;&#22823;&#26368;&#23567;&#20540;&#30340;&#27169;&#26495;&#65306;&#29992;&#20110;&#26597;&#25214;&#26368;&#23567;&#25110;&#26368;&#22823;&#20540;&#12290;&#23545;&#20110;&#27867;&#22411;&#32534;&#31243;&#38750;&#24120;&#26377;&#29992;&#12290;
             </p>
             </td>
 </tr>
@@ -237,7 +257,7 @@
 </div>
 </div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision"; width="100%"><tr> -<td align="left"><p><small>Last revised: December 11, 2009 at 17:54:58 GMT</small></p></td> +<td align="left"><p><small>Last revised: March 22, 2010 at 03:50:24 GMT</small></p></td>
 <td align="right"><div class="copyright-footer"></div></td>
 </tr></table>
 <hr>
=======================================
--- /trunk/libs/integer/doc/integer.qbk Mon Feb  8 07:24:10 2010
+++ /trunk/libs/integer/doc/integer.qbk Sun Mar 21 20:54:57 2010
@@ -13,7 +13,7 @@

 [template super[x]'''<superscript>'''[x]'''</superscript>''']

-[section:overview Overview]
+[section:overview Overview 简介]

Boost.Integer provides integer type support, particularly helpful in generic programming. It provides standard C99 integer types, such as might be found in <stdint.h>, without requiring that header.
@@ -21,119 +21,158 @@
the maximum supported value, as well as compile-time bit mask selection. There is a derivative of std::numeric_limits that provides integral constant expressions for `min` and `max`. Finally, it provides two compile-time algorithms: determining the highest power of two in a
-compile-time value; and computing min and max of constant expressions.
+compile-time value; and computing min and max of constant expressions.\n
+Boost.Integer 提供了整数类型的支持,在泛型编程中特别有帮助。它提供了标准的 C99整数类型,即 <stdint.h> 中的类型,而不需要那个头文件。 +它提供了基于整数的特性来选择某个整数类型的能力,如基于二进制位数或可支持的 最大值,以及编译期的位掩码选定。 +还有了一个 std::numeric_limits 的?生物,为 `min` 和 `max` 提供整型常量表达 式。最后,它提供了两个编译期算法:
+用编译期值来确定2的最高幂次;以及计算某个常量表达式的 min 和 max。

 [table
-   [[Component][Header][Purpose]]
+   [[Component 组件][Header 头文件][Purpose 目的]]
    [
-      [Forward Declarations.]
+      [Forward Declarations.\n
+      前向声明]
       [[^[@../../../../boost/integer_fwd.hpp <boost/integer_fwd.hpp>]]]
- [Forward declarations of classes and class templates - for use when just the name of a class is needed.] + [Forward declarations of classes and class templates - for use when just the name of a class is needed.\n
+      类与类模板的前向声明 - 在只需要类名时使用]
    ]
    [
-      [[link boost_integer.cstdint Standard Integer Types].]
+      [[link boost_integer.cstdint Standard Integer Types\n
+      标准整数类型].]
       [[^[@../../../../boost/cstdint.hpp <boost/cstdint.hpp>]]]
[Provides typedef's based on the 1999 C Standard header `<stdint.h>`, wrapped in namespace boost. - This implementation may #include the compiler supplied `<stdint.h>`, if present.] + This implementation may #include the compiler supplied `<stdint.h>`, if present.\n + 提供基于 1999 C 标准头文件 <stdint.h> 的typedef, 包装在名字空间 boost 中。可能 #include 编译器提供的 <stdint.h>, 如果有的话。]
    ]
    [
       [[link boost_integer.traits Integer Traits].]
[[^[@../../../../boost/integer_traits.hpp <boost/integer_traits.hpp>]]] - [Class template [^boost::integer_traits], derives from [^std::numeric_limits] and adds [^const_min] and [^const_max] members.] + [Class template [^boost::integer_traits], derives from [^std::numeric_limits] and adds [^const_min] and [^const_max] members.\n + 类模板 [^boost::integer_traits], 派生自 [^std::numeric_limits] 并增加 了 [^const_min] 和 [^const_max] 成员。]
    ]
    [
-      [[link boost_integer.integer Integer Type Selection].]
+      [[link boost_integer.integer Integer Type Selection\n
+      整数类型选择].]
       [[^[@../../../../boost/hpp <boost/integer.hpp>]]]
[Templates for integer type selection based on properties such as maximum value or number of bits: Use to select the type of an integer when some property such as maximum value or number of bits is known.
-      Useful for generic programming. ]
+      Useful for generic programming. \n
+ 基于最大值或二进制位数等特性来选择整数类型的模板:用于在知道某些特性 如最大值或位数时,选择某个整数类型。对于泛型编程非常有用。]
    ]
    [
       [[link boost_integer.mask Integer Masks].]
[[^[@../../../../boost/integer/integer_mask.hpp <boost/integer/integer_mask.hpp>]]] [Templates for the selection of integer masks, single or lowest group, based on the number of bits: - Use to select a particular mask when the bit position(s) are based on a compile-time variable. Useful for generic programming. ] + Use to select a particular mask when the bit position(s) are based on a compile-time variable. Useful for generic programming. \n + 基于二进制位数选择整数的单个或最低位元组 mask 的模板:用于在位元位置 由编译期变量确定的情况下,选择特定的 mask.
+      对于泛型编程非常有用。]
    ]
    [
-      [[link boost_integer.log2 Compile time log2 Calculation].]
+      [[link boost_integer.log2 Compile time log2 Calculation\n
+      编译期的 log2 计算].]
[[^[@../../../../boost/integer/static_log2.hpp <boost/integer/static_log2.hpp>]]]
       [Template for finding the highest power of two in a number:
- Use to find the bit-size/range based on a maximum value. Useful for generic programming. ] + Use to find the bit-size/range based on a maximum value. Useful for generic programming. \n + 用于在某个数字之内查找最大的2的整数幂的模板:基于某个最大值查找位元数 /范围。对于泛型编程非常有用。]
    ]
    [
-      [[link boost_integer.minmax Compile time min/max calculation].]
+      [[link boost_integer.minmax Compile time min/max calculation\n
+      编译期的 min/max 计算].]
[[^[@../../../../boost/integer/static_min_max.hpp <boost/integer/static_min_max.hpp>]]]
       [Templates for finding the extrema of two numbers:
- Use to find a bound based on a minimum or maximum value. Useful for generic programming. ] + Use to find a bound based on a minimum or maximum value. Useful for generic programming. \n + 用于查找两个数字的最大最小值的模板:用于查找最小或最大值。对于泛型编 程非常有用。]
    ]
 ]

 [endsect]

-[section:cstdint Standard Integer Types]
-
-[section Overview]
+[section:cstdint Standard Integer Types 标准整数类型]
+
+[section:overview Overview 简介]

The header [^[@../../../../boost/cstdint.hpp <boost/cstdint.hpp>]] provides the typedef's useful -for writing portable code that requires certain integer widths. All typedef's are in namespace boost. +for writing portable code that requires certain integer widths. All typedef's are in namespace boost.\n +头文件 [^[@../../../../boost/cstdint.hpp <boost/cstdint.hpp>]] 提供了用于编 写要求指定整数宽度的可移植代码的 typedef.
+所有 typedef 均位于名字空间 boost.

The specifications for these types are based on the ISO/IEC 9899:1999 C Language standard header <stdint.h>. The 64-bit types required by the C standard are ['not required] in the boost header, -and may not be supplied for all platforms/compilers, because [^long long] is not [yet] included in the C++ standard.
-
-See [@../../test/cstdint_test.cpp cstdint_test.cpp] for a test program.
+and may not be supplied for all platforms/compilers, because [^long long] is not [yet] included in the C++ standard.\n +本规范是基于 ISO/IEC 9899:1999 C 语言标准的头文件 <stdint.h> 的。C标准所要 求的64位类型在 boost 头文件中['并不要求],
+也可能不被实现支持,因为 [^long long] ['还未]被包含在 C++ 标准中。
+
+See [@../../test/cstdint_test.cpp cstdint_test.cpp] for a test program.\n
+测试程序请见 [@../../test/cstdint_test.cpp cstdint_test.cpp].

 [endsect]

-[section:rationale Rationale]
+[section:rationale Rationale 原理]

The organization of the Boost.Integer headers and classes is designed to take advantage of <stdint.h> types from the 1999 C standard without causing undefined behavior in terms of the 1998 C++ standard. The header <boost/cstdint.hpp> makes the standard integer types safely available in namespace [^boost] without placing any names in namespace [^std]. The intension is to complement rather than compete with the C++ Standard Library. Should some future C++ standard include <stdint.h> and <cstdint>, -then <boost/cstdint.hpp> will continue to function, but will become redundant and may be safely deprecated. +then <boost/cstdint.hpp> will continue to function, but will become redundant and may be safely deprecated.\n +Boost.Integer 头文件和类的组织结构在设计上利用了来自 1999 C 标准的 <stdint.h> 类型,而没有采用 1998 C++ 标准的未定义行为。 +头文件 <boost/cstdint.hpp> 使得标准的整数类型安全地位于名字空间 [^boost] 中,没有往名字空间 [^std] 中增加任何东西。 +目的是要对C++标准库作出补充,而不是与之竞争。如果将来的C++标准包含了 <stdint.h> 和 <cstdint>, 则 <boost/cstdint.hpp> 仍可使用,
+不过那时就是多余的了,可以被安全地去掉。

Because these are boost headers, their names conform to boost header naming conventions rather than
-C++ Standard Library header naming conventions.
+C++ Standard Library header naming conventions.\n
+由于这些是 boost 头文件,所以它们的名字遵照 boost 头文件命名规则,而不是 C++ 标准库头文件的命名规则。

 [endsect]

-[section:ce ['Caveat emptor]]
+[section:ce ['Caveat emptor 需要小心的]]

As an implementation artifact, certain C <limits.h> macro names may possibly be visible to users of <boost/cstdint.hpp>. Don't use these macros; they are not part of -any Boost-specified interface. Use [^boost::integer_traits<>] or [^std::numeric_limits<>] instead. +any Boost-specified interface. Use [^boost::integer_traits<>] or [^std::numeric_limits<>] instead.\n +由于实现的原因,某些 C <limits.h> 宏名字可能会被 <boost/cstdint.hpp> 的用户 看到。不要使用这些宏;它们不属于 Boost-规范接口中的部分。
+请使用 [^boost::integer_traits<>] 或 [^std::numeric_limits<>] 来代替。

As another implementation artifact, certain C <stdint.h> typedef names may possibly be visible in the global namespace to users of <boost/cstdint.hpp>. Don't use these names, they are not part of -any Boost-specified interface. Use the respective names in namespace [^boost] instead. +any Boost-specified interface. Use the respective names in namespace [^boost] instead.\n +由于实现的原因,某些 C <stdint.h> typedef 名字可能会被 <boost/cstdint.hpp> 的用户在全局名字空间中看到。 +不要使用这些名字,它们不属于 Boost-规范接口中的部分。请使用名字空间 [^boost] 中的相应名字代替。

 [endsect]

-[section Exact-width integer types]
+[section:exact_width_integer_types Exact-width integer types 精确宽度的整数 类型]

The typedef [^int#_t], with # replaced by the width, designates a signed integer type of exactly # bits; for example [^int8_t] denotes an 8-bit signed integer type. Similarly, the typedef [^uint#_t] designates an unsigned
-integer type of exactly # bits.
+integer type of exactly # bits.\n
+typedef [^int#_t], 其中 # 代表宽度,表示一个宽度恰好为 # 位的有符号整数类 型;如 [^int8_t] 表示8-位的有符号整数类型。
+同样,typedef [^uint#_t] 表示一个宽度恰好为 # 位的无符号整数类型。

These types are optional. However, if a platform supports integer types with widths of 8, 16, 32, 64, or any combination thereof, then <boost/cstdint.hpp> does provide the
-corresponding typedefs.
-
-The absence of int64_t and uint64_t is indicated by the macro `BOOST_NO_INT64_T`.
+corresponding typedefs.\n
+这些类型是可选的。不过,如果一个平台支持宽度为 8, 16, 32, 64 或其它组合位数 的整数类型,则 <boost/cstdint.hpp> 就会提供相应的 typedef.
+
+The absence of int64_t and uint64_t is indicated by the macro `BOOST_NO_INT64_T`.\n
+宏 `BOOST_NO_INT64_T` 表示缺少 int64_t 和 uint64_t.

 [endsect]

-[section Minimum-width integer types]
+[section:minimum_width_integer_types Minimum-width integer types 最小宽度的 整数类型]

The typedef [^int_least#_t], with # replaced by the width, designates a signed integer type with a width of at least # bits, such that no signed integer type with lesser size has at least the specified width. Thus, [^int_least32_t] denotes the smallest signed integer type with a width of at least 32 bits. Similarly, the typedef name [^uint_least#_t] designates an unsigned integer type with a width of at least # bits, -such that no unsigned integer type with lesser size has at least the specified width.
-
-The following minimum-width integer types are provided for all platforms:
+such that no unsigned integer type with lesser size has at least the specified width.\n +typedef [^int_least#_t], 其中 # 代表宽度,表示一个宽度至少为 # 位的有符号整 数类型,且没有位数更少的有符号整数类型至少具有给定的宽度。 +因此,[^int_least32_t] 表示一个至少32位的有符号整数类型。同样,typedef [^uint_least#_t] 表示一个宽度至少为 # 位的无符号整数类型,
+且没有位数更少的无符号整数类型至少具有给定的宽度。
+
+The following minimum-width integer types are provided for all platforms:\n
+以下最小宽度整数类型在所有平台上均提供:

 * [^int_least8_t]
 * [^int_least16_t]
@@ -142,26 +181,32 @@
 * [^uint_least16_t]
 * [^uint_least32_t]

-The following types are available only if, after including <boost/cstdint.hpp>, the macro BOOST_NO_INT64_T is not defined: +The following types are available only if, after including <boost/cstdint.hpp>, the macro BOOST_NO_INT64_T is not defined:\n +以下类型则仅当包含了 <boost/cstdint.hpp> 且未定义 BOOST_NO_INT64_T 宏时可 用:

 * [^int_least64_t]
 * [^uint_least64_t]


-All other minimum-width integer types are optional.
+All other minimum-width integer types are optional.\n
+其它所有最小宽度整数类型都是可选的。

 [endsect]

-[section Fastest minimum-width integer types]
+[section:fastest_minimum_width_integer_types Fastest minimum-width integer types 最快最小宽度整数类型]

The typedef [^int_fast#_t], with # replaced by the width, designates the fastest signed integer type with a width of at least # bits. Similarly, the typedef name [^uint_fast#_t] designates the fastest
-unsigned integer type with a width of at least # bits.
+unsigned integer type with a width of at least # bits.\n
+typedef [^int_fast#_t], 其中 # 代表宽度,表示宽度至少为 # 位的且速度最快的 有符号整数类型。 +同样 typedef [^uint_fast#_t] 表示宽度至少为 # 位的且速度最快的无符号整数类 型。

There is no guarantee that these types are fastest for all purposes. In any case, however, they satisfy
-the signedness and width requirements.
-
-The following fastest minimum-width integer types are provided for all platforms:
+the signedness and width requirements.\n
+不能保证这些类型对于所有用途都是最快的。不过在任何情况下,它们都满足符号和 宽度的要求。
+
+The following fastest minimum-width integer types are provided for all platforms:\n
+以下最快最小宽度整数类型在所有平台上均提供:

 * [^int_fast8_t]
 * [^int_fast16_t]
@@ -170,40 +215,51 @@
 * [^uint_fast16_t]
 * [^uint_fast32_t]

-The following types are available only if, after including <boost/cstdint.hpp>, the macro BOOST_NO_INT64_T is not defined: +The following types are available only if, after including <boost/cstdint.hpp>, the macro BOOST_NO_INT64_T is not defined:\n +以下类型则仅当包含了 <boost/cstdint.hpp> 且未定义 BOOST_NO_INT64_T 宏时可 用:

 * [^int_fast64_t]
 * [^uint_fast64_t]

-All other fastest minimum-width integer types are optional.
+All other fastest minimum-width integer types are optional.\n
+其它所有最快最小宽度整数类型都是可选的。

 [endsect]

-[section Greatest-width integer types]
-
-The typedef [^intmax_t ]designates a signed integer type capable of representing any value of any signed integer type.
-
-The typedef [^uintmax_t] designates an unsigned integer type capable of representing any value of any unsigned integer type.
-
-These types are provided for all platforms.
+[section:greatest_width_integer_types Greatest-width integer types 最大宽度 整数类型]
+
+The typedef [^intmax_t ]designates a signed integer type capable of representing any value of any signed integer type.\n +typedef [^intmax_t] 表示一个有符号整数类型,它可以表示任意有符号整数类型的 值。
+
+The typedef [^uintmax_t] designates an unsigned integer type capable of representing any value of any unsigned integer type.\n +typedef [^uintmax_t] 表示一个无符号整数类型,它可以表示任意无符号整数类型的 值。
+
+These types are provided for all platforms.\n
+这两个类型在所有平台上均提供。

 [endsect]

-[section Integer Constant Macros]
+[section:integer_constant_macros Integer Constant Macros 整数常量宏]

The following macros are always defined after inclusion of this header, these allow
 integer constants of at least the specified width to be declared:
+INT8_C, UINT8_C, INT16_C, UINT16_C, INT32_C, UINT32_C, INTMAX_C, UINTMAX_C.\n +以下宏在包含了本头文件后将被定义,它们声明了至少具有指定宽度的各个整数常 量:
 INT8_C, UINT8_C, INT16_C, UINT16_C, INT32_C, UINT32_C, INTMAX_C, UINTMAX_C.

-The macros INT64_C and UINT64_C are also defined if the the macro BOOST_NO_INT64_T is not defined.
-
-The C99 macro __STDC_CONSTANT_MACROS is also defined as an artifact of the implementation.
-
-For example:
+The macros INT64_C and UINT64_C are also defined if the the macro BOOST_NO_INT64_T is not defined.\n
+宏 INT64_C 和 UINT64_C 也会被定义,如果宏 BOOST_NO_INT64_T 未定义。
+
+The C99 macro __STDC_CONSTANT_MACROS is also defined as an artifact of the implementation.\n
+C99宏 __STDC_CONSTANT_MACROS 也会依实现定义。
+
+For example:\n
+例如:

    #include <boost/cstdint.hpp>

    // Here the constant 0x1FFFFFFFF has the correct suffix applied:
+   // 以下常量 0x1FFFFFFFF 将被赋以正确的后缀:
    static const boost::uint64_t c = INT64_C(0x1FFFFFFFF);

 [endsect]
@@ -212,29 +268,33 @@

 [section:traits Integer Traits]

-[section Motivation]
-
-The C++ Standard Library <limits> header supplies a class template `numeric_limits<>` with specializations for each fundamental type.
-
-For integer types, the interesting members of `std::numeric_limits<>` are:
-
- static const bool is_specialized; // Will be true for integer types.
-   static T min() throw();                // Smallest representable value.
-   static T max() throw();                // Largest representable value.
- static const int digits; // For integers, the number of value bits. - static const int digits10; // The number of base 10 digits that can be represented.
-   static const bool is_signed;           // True if the type is signed.
- static const bool is_integer; // Will be true for all integer types.
+[section:motivation Motivation 动机]
+
+The C++ Standard Library <limits> header supplies a class template `numeric_limits<>` with specializations for each fundamental type.\n +C++ 标准库的 <limits> 头文件提供了一个类模板 `numeric_limits<>`,它对每种基 本类型进行了特化。
+
+For integer types, the interesting members of `std::numeric_limits<>` are: \n
+对于整数类型,要关注的 `std::numeric_limits<>` 成员有:
+
+ static const bool is_specialized; // Will be true for integer types. 对于整数类型为true。 + static T min() throw(); // Smallest representable value. 可表示的最小值。 + static T max() throw(); // Largest representable value. 可表示的最大值。 + static const int digits; // For integers, the number of value bits. 对于整数,为二进制位数。 + static const int digits10; // The number of base 10 digits that can be represented. 可表示的十进制位数。 + static const bool is_signed; // True if the type is signed. 如 果类型带符号则为true。 + static const bool is_integer; // Will be true for all integer types. 对所有整数类型为true。

 For many uses, these are sufficient.
But min() and max() are problematical because they are not constant expressions (std::5.19),
-yet some usages require constant expressions.
-
-The template class [^integer_traits] addresses this problem.
+yet some usages require constant expressions. \n
+对于多数应用为说,这些已经足够了。但是对于 min() 和 max() 就有问题,因为它 们不是常量表达式(std::5.19),还有一些应用也需要常量表达式。
+
+The template class [^integer_traits] addresses this problem. \n
+类模板 [^integer_traits] 解决了这个问题。

 [endsect]

-[section Synopsis]
+[section:synopsis Synopsis 摘要]

    namespace boost {
      template<class T>
@@ -245,6 +305,7 @@
         //
         // These members are defined only if T is a built-in
         // integal type:
+        // 以下成员仅当T为内建整数类型时被定义
         //
         static const T const_min = ``['implementation-defined]``;
         static const T const_max = ``['implementation-defined]``;
@@ -253,57 +314,66 @@

 [endsect]

-[section Description]
+[section:description Description 说明]

Template class [^integer_traits] is derived from [^std::numeric_limits]. The primary specialization adds the single [^bool] member [^is_integral] with the compile-time constant value [^false]. However, for all integral types [^T] (std::3.9.1/7 [basic.fundamental]), there are specializations
-provided with the following compile-time constants defined:
+provided with the following compile-time constants defined: \n
+类模板 [^integer_traits] 派生自 [^std::numeric_limits]. 对于主模板,它增加 了单个 [^bool] 成员 [^is_integral],具有编译期常量值 [^false]. +不过,对于所有整数类型 [^T] (std::3.9.1/7 [basic.fundamental]), 都提供了特 化版本,定义了以下编译期常量:

 [table
-   [[member][type][value]]
+   [[member 成员][type 类型][value 值]]
    [[[^is_integral]][bool][[^true]]]
-   [[[^const_min]][[^T]][equivalent to [^std::numeric_limits<T>::min()]]]
-   [[[^const_max]][[^T]][equivalent to [^std::numeric_limits<T>::max()]]]
+   [[[^const_min]][[^T]][equivalent to [^std::numeric_limits<T>::min()]\n
+   相当于 [^std::numeric_limits<T>::min()]]]
+   [[[^const_max]][[^T]][equivalent to [^std::numeric_limits<T>::max()]\n
+   相当于 [^std::numeric_limits<T>::max()]]]
 ]

Note: The /is_integral/ flag is provided, because a user-defined integer class should specialize
 [^std::numeric_limits<>::is_integer = true], while compile-time constants
-[^const_min] and [^const_max] are not provided for that user-defined class, unless boost::integer_traits is also specialized. +[^const_min] and [^const_max] are not provided for that user-defined class, unless boost::integer_traits is also specialized. \n +注意:这里提供了一个标志 /is_integral/, 因为虽然用户自定义的整数类会特化 [^std::numeric_limits<>::is_integer = true], +但是对于用户自定义类,编译期常量 [^const_min] 和 [^const_max] 仍然是没有提 供的。

 [endsect]

-[section Test Program]
-
-The program [^[@../../test/integer_traits_test.cpp integer_traits_test.cpp]] exercises the [^integer_traits] class.
+[section:test_program Test Program 测试程序]
+
+The program [^[@../../test/integer_traits_test.cpp integer_traits_test.cpp]] exercises the [^integer_traits] class. \n +程序 [^[@../../test/integer_traits_test.cpp integer_traits_test.cpp]] 检验 了 [^integer_traits] 类。

 [endsect]

-[section Acknowledgements]
+[section:acknowledgements Acknowledgements 鸣谢]

Beman Dawes, Ed Brey, Steve Cleary, and Nathan Myers discussed the integer traits idea on the boost mailing list in August 1999.

 [endsect]
 [endsect]

-[section:integer Integer Type Selection]
+[section:integer Integer Type Selection 整数类型选择]

The [@../../../../boost/integer.hpp <boost/integer.hpp>] type selection templates allow integer types to be selected based on desired characteristics such as number of bits or maximum value. -This facility is particularly useful for solving generic programming problems.
-
-[section:synopsis Synopsis]
+This facility is particularly useful for solving generic programming problems.\n +[@../../../../boost/integer.hpp <boost/integer.hpp>] 的类型选择模板可以基于 特定的属性,如位数或最大值,选择相应的整数类型。
+在解决泛型编程的问题时,这一工具特别有用。
+
+[section:synopsis Synopsis 摘要]

    namespace boost
    {
-     //  fast integers from least integers
+     //  fast integers from least integers 从最小整数得到快速整数
      template<typename LeastInt>
      struct int_fast_t
      {
          typedef ``['implementation-defined-type]``  type;
      };

-     //  signed
+     //  signed 有符号的
      template<int Bits>
      struct int_t
      {
@@ -313,7 +383,7 @@
          typedef int_fast_t<least>::fast      fast;
      };

-     //  unsigned
+     //  unsigned 无符号的
      template<int Bits>
      struct uint_t
      {
@@ -323,7 +393,7 @@
          typedef int_fast_t<least>::fast      fast;
      };

-     //  signed
+     //  signed 有符号的
      template<long long MaxValue>
      struct int_max_value_t
      {
@@ -338,7 +408,7 @@
          typedef int_fast_t<least>::fast      fast;
      };

-     //  unsigned
+     //  unsigned 无符号的
      template<unsigned long long Value>
      struct uint_value_t
      {
@@ -349,62 +419,77 @@

 [endsect]

-[section:easiest Easiest-to-Manipulate Types]
+[section:easiest Easiest-to-Manipulate Types 最容易操作的类型]

The [^int_fast_t] class template maps its input type to the next-largest type that the processor can manipulate the easiest, or to itself if the input type is already an easy-to-manipulate type. For instance, processing a bunch of [^char] objects may go faster if they were converted to [^int] objects before processing. The input type, passed as the only template parameter, must be a built-in integral type, except [^bool].
 Unsigned integral types can be used, as well as signed integral types.
-The output type is given as the nested type [^fast].
-
-[*Implementation Notes:]
+The output type is given as the nested type [^fast].\n
+[^int_fast_t] 类模板将它的输入类型映射为处理器最容易操作的稍大的类型,或者 如果输入类型已经是易于操作的就返回它本身。 +例如,在处理一串 [^char] 时,如果先将它们转换为 [^int] 则会处理得更快。唯一 的模板参数,即输入类型,必须是除了 [^bool] +以外的内建整数类型。可以象有符号整数类型一样使用无符号整数类型。输出类型由 类成员 [^fast] 给出。
+
+[*Implementation Notes 实现说明:]
By default, the output type is identical to the input type. Eventually, this code's implementation should be customized for each platform to give accurate mappings between the built-in types and the easiest-to-manipulate -built-in types. Also, there is no guarantee that the output type actually is easier to manipulate than the input type. +built-in types. Also, there is no guarantee that the output type actually is easier to manipulate than the input type.\n +缺省地,输出类型等同于输入类型。最后,该代码的实现要对每个平台进行特化,在 内建类型和最易操作类型之间给出精确的映射。
+此外,并不保证输出类型确实比输入类型更容易操作。

 [endsect]

-[section:sized Sized Types]
+[section:sized Sized Types 指定大小的类型]

The [^int_t], [^uint_t], [^int_max_value_t], [^int_min_value_t], and [^uint_value_t] class templates find the most appropiate built-in integral type for the given template parameter. This type is given by the nested type [^least]. The easiest-to-manipulate version of that type is given by the nested type [^fast].
-The following table describes each template's criteria.
-
-[table Criteria for the Sized Type Class Templates
+The following table describes each template's criteria.\n
+[^int_t], [^uint_t], [^int_max_value_t], [^int_min_value_t], 和 [^uint_value_t] 类模板根据给定的模板参数查找最合适的内建整数类型。 +该类型由类成员 [^least] 给出。该类型的最易操作类型由类成员 [^fast] 给出。下 表描述了各个模板的标准。
+
+[table Criteria for the Sized Type Class Templates 固定大小类型的类模板标准
    [
-      [Class Template][Template Parameter Mapping]
+      [Class Template 类模板][Template Parameter Mapping 模板参数映射]
    ]
    [
       [[^boost::int_t<N>::least]]
[The smallest, built-in, signed integral type with at least /N/ bits, including the sign bit. The parameter should be a positive number. A compile-time error results if the parameter is
-      larger than the number of bits in the largest integer type.]
+      larger than the number of bits in the largest integer type.\n
+ 至少具有 /N/ 位数的最小内建有符号整数类型,给定位数包含符号位。模板参 数应为一个正数。
+      如果参数大于最大整数类型的位数,将导致编译错误。]
    ]
    [
       [[^boost::int_t<N>::fast]]
[The easiest-to-manipulate, built-in, signed integral type with at least /N/ bits, including the sign bit. The parameter should be a positive number. A compile-time error results if the parameter is
-      larger than the number of bits in the largest integer type.]
+      larger than the number of bits in the largest integer type.\n
+ 至少具有 /N/ 位数的最易操作的内建有符号整数类型,给定位数包含符号位。 模板参数应为一个正数。
+      如果参数大于最大整数类型的位数,将导致编译错误。]
    ]
    [
       [[^boost::int_t<N>::exact]]
[A built-in, signed integral type with exactly /N/ bits, including the sign bit. The parameter should be a positive number. Note that the member /exact/ is defined
-      [*only] if there exists a type with exactly /N/ bits.]
+      [*only] if there exists a type with exactly /N/ bits.\n
+ 恰好具有 /N/ 位数的最小内建有符号整数类型,给定位数包含符号位。模板参 数应为一个正数。
+      注意,成员 /exact/ [*仅]当存在一个恰好为 /N/ 位的类型时被定义。]
    ]
    [
       [[^boost::uint_t<N>::least]]
[The smallest, built-in, unsigned integral type with at least /N/ bits. The parameter should be a positive number. A compile-time error results if the - parameter is larger than the number of bits in the largest integer type.] + parameter is larger than the number of bits in the largest integer type.\n + 至少具有 /N/ 位数的最小内建无符号整数类型。模板参数应为一个正数。如果 参数大于最大整数类型的位数,将导致编译错误。]
    ]
    [
       [[^boost::uint_t<N>::fast]]
[The easiest-to-manipulate, built-in, unsigned integral type with at least /N/ bits. The parameter should be a positive number. A compile-time error results if the - parameter is larger than the number of bits in the largest integer type.] + parameter is larger than the number of bits in the largest integer type.\n + 至少具有 /N/ 位数的最易操作的内建无符号整数类型。模板参数应为一个正 数。如果参数大于最大整数类型的位数,将导致编译错误。]
    ]
    [
       [[^boost::uint_t<N>::exact]]
@@ -412,43 +497,51 @@
The parameter should be a positive number. A compile-time error results if the parameter is larger than the number of bits in the largest integer type.
       Note that the member /exact/ is defined
-      [*only] if there exists a type with exactly N bits.]
+      [*only] if there exists a type with exactly N bits.\n
+ 恰好具有 /N/ 位数的最小内建无符号整数类型。模板参数应为一个正数。如果 参数大于最大整数类型的位数,将导致编译错误。
+      注意,成员 /exact/ [*仅]当存在一个恰好为 /N/ 位的类型时被定义。]
    ]
    [
-      [[^boost::int_max_value_t<V>::last]]
+      [[^boost::int_max_value_t<V>::least]]
[The smallest, built-in, signed integral type that can hold all the values in the inclusive range ['0 - V].
-      The parameter should be a positive number.]
+      The parameter should be a positive number.\n
+ 可以表示闭区间 ['0 - V] 中所有值的最小内建有符号整数类型。模板参数应 为一个正数。]
    ]
    [
       [[^boost::int_max_value_t<V>::fast]]
[The easiest-to-manipulate, built-in, signed integral type that can hold all the values in the inclusive range ['0 - V].
-      The parameter should be a positive number.]
+      The parameter should be a positive number.\n
+ 可以表示闭区间 ['0 - V] 中所有值的最易操作的内建有符号整数类型。模板 参数应为一个正数。]
    ]
    [
       [[^boost::int_min_value_t<V>::least]]
[The smallest, built-in, signed integral type that can hold all the values in the inclusive range ['V - 0].
-      The parameter should be a negative number.]
+      The parameter should be a negative number.\n
+ 可以表示闭区间 ['V - 0] 中所有值的最小内建有符号整数类型。模板参数应 为一个正数。]
    ]
    [
       [[^boost::int_min_value_t<V>::fast]]
[The easiest-to-manipulate, built-in, signed integral type that can hold all the values in the inclusive range ['V - 0].
-      The parameter should be a negative number.]
+      The parameter should be a negative number.\n
+ 可以表示闭区间 ['V - 0] 中所有值的最易操作的内建有符号整数类型。模板 参数应为一个正数。]
    ]
    [
       [[^boost::uint_value_t<V>::least]]
[The smallest, built-in, unsigned integral type that can hold all positive values
-      up to and including /V/. The parameter should be a positive number.]
+      up to and including /V/. The parameter should be a positive number.\n
+ 可以表示最大的 /V/ 的所有正值的最小内建无符号整数类型。模板参数应为一 个正数。]
    ]
    [
       [[^boost::uint_value_t<V>::fast]]
[The easiest-to-manipulate, built-in, unsigned integral type that can hold all positive values
-      up to and including /V/. The parameter should be a positive number.]
+      up to and including /V/. The parameter should be a positive number.\n
+ 可以表示最大的 /V/ 的所有正值的最易操作的内建无符号整数类型。模板参数 应为一个正数。]
    ]
 ]

 [endsect]

-[section Example]
+[section:example Example 例子]

    #include <boost/integer.hpp>

@@ -456,44 +549,51 @@

    int main()
    {
-       boost::int_t<24>::least my_var;  // my_var has at least 24-bits
+ boost::int_t<24>::least my_var; // my_var has at least 24-bits my_var为最少24位
        //...
-       // This one is guarenteed not to be truncated:
+       // This one is guarenteed not to be truncated:  保证不会被截断:
        boost::int_max_value_t<1000>::least my1000 = 1000;
        //...
        // This one is guarenteed not to be truncated, and as fast
        // to manipulate as possible, its size may be greater than
        // that of my1000:
+       // 保证不会被截断,且可以尽可能快地操作,大小可能会大于my1000:
        boost::int_max_value_t<1000>::fast my_fast1000 = 1000;
    }

 [endsect]

-[section Demonstration Program]
+[section:demonstration_program Demonstration Program 示范程序]

The program [@../../test/integer_test.cpp integer_test.cpp] is a simplistic demonstration of the results from instantiating
-various examples of the sized type class templates.
+various examples of the sized type class templates.\n
+程序 [@../../test/integer_test.cpp integer_test.cpp] 简单地示范了对各种 sized type 类模板的实例化结果。

 [endsect]

-[section Rationale]
-
-The rationale for the design of the templates in this header includes:
-
-* Avoid recursion because of concern about C++'s limited guaranteed recursion depth (17).
-* Avoid macros on general principles.
-* Try to keep the design as simple as possible.
+[section:rationale Rationale 原理]
+
+The rationale for the design of the templates in this header includes:\n
+该头文件中的模板的设计原理包括:
+
+* Avoid recursion because of concern about C++'s limited guaranteed recursion depth (17).\n
+  避免递归,因为这关系到 C++ 对递归深度的限制(17).
+* Avoid macros on general principles.\n
+  避免使用宏,因为众所周知的原因。
+* Try to keep the design as simple as possible.\n
+  使设计尽可能地简单。

 [endsect]

-[section Alternative]
+[section:alternative Alternative 其它选择]

If the number of bits required is known beforehand, it may be more appropriate to use the types supplied
-in [@../../../../boost/cstdint.hpp <boost/cstdint.hpp>].
+in [@../../../../boost/cstdint.hpp <boost/cstdint.hpp>].\n
+如果可以预先知道位数,则更适合使用 [@../../../../boost/cstdint.hpp <boost/cstdint.hpp>] 所提供的类型。

 [endsect]

-[section Credits]
+[section:credits Credits 鸣谢]

 The author of most of the Boost integer type choosing templates is
 [@http://www.boost.org/people/beman_dawes.html Beman Dawes].
@@ -506,17 +606,19 @@



-[section:mask Integer Masks]
-
-[section Overview]
+[section:mask Integer Masks 整数位掩码模板]
+
+[section:overview Overview 简介]

The class templates in [@../../../../boost/integer/integer_mask.hpp <boost/integer/integer_mask.hpp>] provide bit masks for a certain bit position or a contiguous-bit pack of a certain size. -The types of the masking constants come from the [link boost_integer.integer integer type selection templates] header. +The types of the masking constants come from the [link boost_integer.integer integer type selection templates] header.\n +[@../../../../boost/integer/integer_mask.hpp <boost/integer/integer_mask.hpp>] +中的类模板为特定的位元位置或特定大小的连续位元提供了位掩码。掩码常量的类型 来自于 [link boost_integer.integer 整数类型选择模板] 头文件。

 [endsect]

-[section Synopsis]
+[section:synopsis Synopsis 摘要]

    #include <cstddef>  // for std::size_t

@@ -548,57 +650,73 @@
    };

    // Specializations for low_bits_mask_t exist for certain bit counts.
+   // 针对 low_bits_mask_t 的特化,用于特定的位数

    }  // namespace boost

 [endsect]

-[section Single Bit-Mask Class Template]
+[section:single_bit_mask_class_template Single Bit-Mask Class Template 单位 元掩码类模板]

The [^boost::high_bit_mask_t] class template provides constants for bit masks representing the bit at a certain position. The masks are equivalent to the value 2[super Bit], where [^Bit] is the template parameter. The bit position must be a nonnegative number from zero to ['Max], where Max is one less than the number of bits supported by the largest unsigned built-in integral type. The following table describes
-the members of an instantiation of [^high_bit_mask_t].
-
-[table Members of the `boost::high_bit_mask_t` Class Template
-   [[Member][Meaning]]
- [[[^least]][The smallest, unsigned, built-in type that supports the given bit position.]]
-   [[[^fast]][The easiest-to-manipulate analog of [^least].]]
-   [[[^high_bit]][A [^least] constant of the value 2[super Bit].]]
-   [[[^high_bit_fast]][A [^fast] analog of [^high_bit].]]
- [[[^bit_position]][The value of the template parameter, in case its needed from a renamed instantiation of the class template.]]
+the members of an instantiation of [^high_bit_mask_t].\n
+[^boost::high_bit_mask_t] 类模板提供了表示特定位置的单个位元的掩码常数。该 掩码等于 2[super Bit], 其中 [^Bit] 为模板参数。 +位元的位置必须是从零到 ['Max] 的非负数字,其中 Max 最大的内建无符号整数类型 所支持的位数减一。下表描述了 [^high_bit_mask_t] 实例的成员。
+
+[table Members of the `boost::high_bit_mask_t` Class Template `boost::high_bit_mask_t`类模板的成员
+   [[Member 成员][Meaning 意义]]
+ [[[^least]][The smallest, unsigned, built-in type that supports the given bit position.\n
+   支持给定位元位置的最小无符号内建类型。]]
+   [[[^fast]][The easiest-to-manipulate analog of [^least].\n
+   快速操作的 [^least] 类似物。]]
+   [[[^high_bit]][A [^least] constant of the value 2[super Bit].\n
+   值为 2[super Bit] 的 [^least] 常数值。]]
+   [[[^high_bit_fast]][A [^fast] analog of [^high_bit].\n
+   [^high_bit] 的 [^fast] 类似物。]]
+ [[[^bit_position]][The value of the template parameter, in case its needed from a renamed instantiation of the class template.\n
+   模板参数的值,可用于该类模板的改名实例。]]
 ]

 [endsect]

-[section Group Bit-Mask Class Template]
+[section:group_bit_mask_class_template Group Bit-Mask Class Template 位元组 掩码类模板]

The [^boost::low_bits_mask_t] class template provides constants for bit masks equivalent to the value (2[super Bits] - 1), where [^Bits] is the template parameter.
 The parameter [^Bits] must be a non-negative integer from
zero to ['Max], where Max is the number of bits supported by the largest, unsigned, built-in integral type.
-The following table describes the members of [^low_bits_mask_t].
-
-[table Members of the [^boost::low_bits_mask_t] Class Template
-[[Member][Meaning]]
-[[[^least]][The smallest, unsigned built-in type that supports the given bit count.]]
-[[[^fast]][The easiest-to-manipulate analog of [^least].]]
-[[[^sig_bits]][A [^least] constant of the desired bit-masking value.]]
-[[[^sig_bits_fast]][A [^fast] analog of [^sig_bits].]]
-[[[^bit_count]][The value of the template parameter, in case its needed from a renamed instantiation of the class template.]]
+The following table describes the members of [^low_bits_mask_t].\n
+[^boost::low_bits_mask_t] 类模板提供了值为 (2[super Bits] - 1) 的掩码常 数,其中 [^Bits] 为模板参数。 +参数 [^Bits] 必须是从零到 ['Max] 的非负数字,其中 Max 最大的内建无符号整数 类型所支持的位数。下表描述了 [^low_bits_mask_t] 实例的成员。
+
+[table Members of the [^boost::low_bits_mask_t] Class Template [^boost::low_bits_mask_t]类模板的成员
+[[Member 成员][Meaning 意义]]
+[[[^least]][The smallest, unsigned built-in type that supports the given bit count.\n
+支持给定位元数的最小无符号内建类型]]
+[[[^fast]][The easiest-to-manipulate analog of [^least].\n
+快速操作的 [^least] 类似物]]
+[[[^sig_bits]][A [^least] constant of the desired bit-masking value.\n
+想要的位掩码值的 [^least] 常数值。]]
+[[[^sig_bits_fast]][A [^fast] analog of [^sig_bits].\n
+[^sig_bits] 的 [^fast] 类似物。]]
+[[[^bit_count]][The value of the template parameter, in case its needed from a renamed instantiation of the class template.\n
+模板参数的值,可用于该类模板的改名实例]]
 ]

 [endsect]

-[section Implementation Notes]
+[section:implementation_notes Implementation Notes 实现说明]

When [^Bits] is the exact size of a built-in unsigned type, the implementation has to change to -prevent undefined behavior. Therefore, there are specializations of [^low_bits_mask_t] at those bit counts. +prevent undefined behavior. Therefore, there are specializations of [^low_bits_mask_t] at those bit counts.\n +如果 [^Bits] 恰好为一个内建无符号类型的大小,该实现必须修改以防止未定义行 为。因此,针对这些位元数对 [^low_bits_mask_t] 进行特化。

 [endsect]

-[section Example]
+[section:example Example 例子]

    #include <boost/integer/integer_mask.hpp>

@@ -621,35 +739,40 @@

 [endsect]

-[section Demonstration Program]
+[section:demonstration_program Demonstration Program 示范程序]

The program [@../../test/integer_mask_test.cpp integer_mask_test.cpp] is a simplistic demonstration of the -results from instantiating various examples of the bit mask class templates. +results from instantiating various examples of the bit mask class templates.\n +程序 [@../../test/integer_mask_test.cpp integer_mask_test.cpp] 简单地示范了 对各种位元掩码类模板例子的实例化结果。

 [endsect]

-[section Rationale]
+[section:rationale Rationale 原理]

The class templates in this header are an extension of the [link boost_integer.integer integer type selection class templates]. The new class templates provide the same sized types, but also convenient masks to use when extracting the highest or all the significant bits when the containing built-in type contains more bits.
-This prevents contamination of values by the higher, unused bits.
+This prevents contamination of values by the higher, unused bits.\n
+该头文件中的类模板是 [link boost_integer.integer 整数类型选择类模板] 的扩 展。 +新的类模板提供了相同大小但更方便的掩码,用于在所含内建类型包含更多位元时取 出最高或所有重要位元。这防止了被更高位的无用位元污染。

 [endsect]

-[section Credits]
+[section:credits Credits 鸣谢]

The author of the Boost bit mask class templates is [@http://www.boost.org/people/daryle_walker.html Daryle Walker].

 [endsect]
 [endsect]

-[section:log2 Compile Time log2 Calculation]
+[section:log2 Compile Time log2 Calculation 二进制对数模板]

The class template in [@../../../../boost/integer/static_log2.hpp <boost/integer/static_log2.hpp>] -determines the position of the highest bit in a given value. This facility is useful for solving generic programming problems.
-
-[section Synopsis]
+determines the position of the highest bit in a given value. This facility is useful for solving generic programming problems.\n +[@../../../../boost/integer/static_log2.hpp <boost/integer/static_log2.hpp>] 中的类模板用于确定一个给定值中最高位的位 置。
+该工具可用于解决泛型编程的问题。
+
+[section:synopsis Synopsis 摘要]

    namespace boost
    {
@@ -667,7 +790,7 @@
      template < >
      struct static_log2< 0 >
      {
-       // The logarithm of zero is undefined.
+       // The logarithm of zero is undefined. 零的对数无定义
      };


@@ -675,40 +798,51 @@

 [endsect]

-[section Usage]
+[section:usage Usage 用法]

The [^boost::static_log2] class template takes one template parameter, a value of type [^static_log2_argument_type]. The template only defines one member, [^value], which gives the
-truncated, base-two logarithm of the template argument.
+truncated, base-two logarithm of the template argument.\n
+[^boost::static_log2] 类模板带一个模板参数,类型为 [^static_log2_argument_type] 的值。
+该模板只定义了一个成员 [^value], 它给出了模板参数的幂2对数向下取整后的值。

Since the logarithm of zero, for any base, is undefined, there is a specialization of [^static_log2] for a template argument of zero. This specialization has no members, so an attempt to use the base-two
-logarithm of zero results in a compile-time error.
-
-Note:
-
-* [^static_log2_argument_type] is an ['unsigned integer type] (C++ standard, 3.9.1p3).
-* [^static_log2_result_type] is an ['integer type] (C++ standard, 3.9.1p7).
+logarithm of zero results in a compile-time error.\n
+由于零对于任何基数的对数都是无定义的,所以 [^static_log2] 有一个模板参数为 零的特化。
+该特化版没有成员,因此试图使用零的对数将引发一个编译期错误。
+
+Note: \n
+注:
+
+* [^static_log2_argument_type] is an ['unsigned integer type] (C++ standard, 3.9.1p3).\n + [^static_log2_argument_type] 是一个 ['无符号整数类型] (C++ 标 准,3.9.1p3). +* [^static_log2_result_type] is an ['integer type] (C++ standard, 3.9.1p7).\n
+  [^static_log2_result_type] 是一个 ['整数类型] (C++ 标准,3.9.1p7).

 [endsect]

-[section Demonstration Program]
+[section:demonstration_program Demonstration Program 示例程序]

The program [@../../test/static_log2_test.cpp static_log2_test.cpp] is a simplistic -demonstration of the results from instantiating various examples of the binary logarithm class template. +demonstration of the results from instantiating various examples of the binary logarithm class template.\n +程序 [@../../test/static_log2_test.cpp static_log2_test.cpp] 简单地示范了对 多个二进制对数类模板例子的实例化结果。

 [endsect]

-[section Rationale]
+[section:rationale Rationale 原理]

The base-two (binary) logarithm, abbreviated lb, function is occasionally used to give order-estimates of computer algorithms. The truncated logarithm can be considered the highest power-of-two in a value, which corresponds to the value's highest set bit (for binary integers). Sometimes the highest-bit position -could be used in generic programming, which requires the position to be available statically (['i.e.] at compile-time). +could be used in generic programming, which requires the position to be available statically (['i.e.] at compile-time).\n +底数为二的(二进制)对数函数,缩写为 lb, 有时候被用于给出计算机算法的阶数估算 (order-estimates)。 +向下取整后的对数可被视为一个值中的最高的2的幂,对应于该值的最高一个被置位的 位(对于二进制整数)。 +有时这个最高位元的位置可以用于泛型编程,它要求该位置是静态(['即]在编译期)可 用的。

 [endsect]

-[section Credits]
+[section:credits Credits 鸣谢]

 The original version of the Boost binary logarithm class template was
written by [@http://www.boost.org/people/daryle_walker.html Daryle Walker] and then
@@ -719,13 +853,15 @@
 [endsect]
 [endsect]

-[section:minmax Compile time min/max calculation]
+[section:minmax Compile time min/max calculation 编译期min/max模板]

The class templates in [@../../../../boost/integer/static_min_max.hpp <boost/integer/static_min_max.hpp>] provide a compile-time evaluation of the minimum or maximum of two integers. These facilities are useful
-for generic programming problems.
-
-[section Synopsis]
+for generic programming problems.\n
+[@../../../../boost/integer/static_min_max.hpp <boost/integer/static_min_max.hpp>] +中的类模板提供了在编译期计算两个整数的最小或最大值的方法。在解决泛型编程的 问题时,这一工具特别有用。
+
+[section:synopsis Synopsis 摘要]

    namespace boost
    {
@@ -749,15 +885,17 @@

 [endsect]

-[section Usage]
+[section:usage Usage 用法]

The four class templates provide the combinations for finding the minimum or maximum of two [^signed] or [^unsigned] ([^long]) parameters, /Value1/ and /Value2/, at compile-time. Each template has a single static data member, -[^value], which is set to the respective minimum or maximum of the template's parameters. +[^value], which is set to the respective minimum or maximum of the template's parameters.\n +以上四个类模板提供了在编译期查找两个 [^signed] 或 [^unsigned] ([^long])参数 的最小或最大值的方法,这两个参数分别为 /Value1/ 和 /Value2/.
+每个模板有一个静态数据成员 [^value], 它分别被设置为模板参数的最小或最大值。

 [endsect]

-[section Example]
+[section:example Example 例子]

    #include <boost/integer/static_min_max.hpp>

@@ -791,50 +929,66 @@

 [endsect]

-[section Demonstration Program]
+[section:demonstration_program Demonstration Program 示范程序]

The program [@../../test/static_min_max_test.cpp static_min_max_test.cpp] is a simplistic demonstration of
-various comparisons using the compile-time extrema class templates.
+various comparisons using the compile-time extrema class templates.\n
+程序 [@../../test/static_min_max_test.cpp static_min_max_test.cpp] 是一个简 单的示范,使用编译器界限类模板进行了多次比较。

***The diff for this file has been truncated for email.***

Other related posts:

  • » [boost-doc-zh] r389 committed - 翻译 integer 库的 qbk 文件并生成 html 目录 - boost-doc-zh