[boost-doc-zh] r317 committed - 转换至1.40.0,第3批,完成以下库:...

  • From: codesite-noreply@xxxxxxxxxx
  • To: boost-doc-zh-notify@xxxxxxxxxxxxx
  • Date: Thu, 03 Sep 2009 03:33:31 +0000

Revision: 317
Author: alai04
Date: Wed Sep  2 20:31:58 2009
Log: 转换至1.40.0,第3批,完成以下库:
string_algo
thread
TR1
tribool
typeof
units
unordered
variant
xpressive
http://code.google.com/p/boost-doc-zh/source/detail?r=317

Added:
 /trunk/doc/html/BOOST_PROTO_LOCAL_LIMITS.html
 /trunk/doc/html/BOOST_PROTO_LOCAL_MACRO.html
 /trunk/doc/html/BOOST_PROTO_LOCAL_a.html
 /trunk/doc/html/boost/xpressive/as_id1448377.html
 /trunk/doc/html/boost/xpressive/const_cast_id1448458.html
 /trunk/doc/html/boost/xpressive/cref_id1448534.html
 /trunk/doc/html/boost/xpressive/dynamic_cast_id1448431.html
 /trunk/doc/html/boost/xpressive/has_fold_case_c_regex_t_id1455486.html
 /trunk/doc/html/boost/xpressive/has_fold_case_cpp_regex_id1456266.html
 /trunk/doc/html/boost/xpressive/operator_id1453542.html
 /trunk/doc/html/boost/xpressive/optional_id1452429.html
 /trunk/doc/html/boost/xpressive/ref_id1448510.html
 /trunk/doc/html/boost/xpressive/static_cast_id1448404.html
 /trunk/doc/html/boost/xpressive/swap_id1445453.html
 /trunk/doc/html/boost/xpressive/val.html
Deleted:
 /trunk/doc/html/boost/xpressive/BOOST_PROTO_DEFINE_FUNC_id3002459.html
 /trunk/doc/html/boost/xpressive/BOOST_PROTO_DEFINE_VARA_id3002548.html
 /trunk/doc/html/boost/xpressive/const_cast_.html
 /trunk/doc/html/boost/xpressive/cref_id3002524.html
 /trunk/doc/html/boost/xpressive/dynamic_cast_.html
 /trunk/doc/html/boost/xpressive/has_fold_case_c_regex_t_id3026682.html
 /trunk/doc/html/boost/xpressive/has_fold_case_cpp_regex_id3027462.html
 /trunk/doc/html/boost/xpressive/operator_id3024738.html
 /trunk/doc/html/boost/xpressive/optional_id3023625.html
 /trunk/doc/html/boost/xpressive/ref_id3002500.html
 /trunk/doc/html/boost/xpressive/static_cast_.html
 /trunk/doc/html/boost/xpressive/swap_id2999531.html
Modified:
 /trunk/doc/html/boost/unordered_map.html
 /trunk/doc/html/boost/unordered_multimap.html
 /trunk/doc/html/boost/unordered_multiset.html
 /trunk/doc/html/boost/unordered_set.html
 /trunk/doc/html/boost_units/Examples.html
 /trunk/doc/html/boost_units/Units.html
 /trunk/doc/html/boost_units.html
 /trunk/doc/html/string_algo/usage.html
 /trunk/doc/html/unordered/buckets.html
 /trunk/doc/html/unordered/changes.html
 /trunk/doc/html/unordered.html
 /trunk/doc/html/variant.html
 /trunk/doc/html/xpressive/reference.html
 /trunk/doc/html/xpressive/user_s_guide.html
 /trunk/doc/html/xpressive.html

=======================================
--- /dev/null
+++ /trunk/doc/html/BOOST_PROTO_LOCAL_LIMITS.html       Wed Sep  2 20:31:58 2009
@@ -0,0 +1,49 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+<title>Macro BOOST_PROTO_LOCAL_LIMITS</title>
+<link rel="stylesheet" href="boostbook.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
+<link rel="home" href="index.html" title="The Boost C++ Libraries BoostBook Documentation Subset"> +<link rel="up" href="xpressive/reference.html#header.boost.xpressive.regex_actions_hpp" title="Header &lt;boost/xpressive/regex_actions.hpp&gt;"> +<link rel="prev" href="BOOST_PROTO_LOCAL_a.html" title="Macro BOOST_PROTO_LOCAL_a"> +<link rel="next" href="boost/xpressive/regex_match.html" title="Function regex_match">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table cellpadding="2" width="100%"><tr>
+<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../boost.png"></td>
+<td align="center"><a href="../../index.html">Home</a></td>
+<td align="center"><a href="../../libs/libraries.htm">Libraries</a></td>
+<td align="center"><a href="http://www.boost.org/users/people.html";>People</a></td> +<td align="center"><a href="http://www.boost.org/users/faq.html";>FAQ</a></td>
+<td align="center"><a href="../../more/index.htm">More</a></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="BOOST_PROTO_LOCAL_a.html"><img src="../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="xpressive/reference.html#header.boost.xpressive.regex_actions_hpp"><img src="../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="index.html"><img src="../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="boost/xpressive/regex_match.html"><img src="../../doc/html/images/next.png" alt="Next"></a>
+</div>
+<div class="refentry" title="Macro BOOST_PROTO_LOCAL_LIMITS">
+<a name="BOOST_PROTO_LOCAL_LIMITS"></a><div class="titlepage"></div>
+<div class="refnamediv">
+<h2><span class="refentrytitle">Macro BOOST_PROTO_LOCAL_LIMITS</span></h2>
+<p>BOOST_PROTO_LOCAL_LIMITS</p>
+</div>
+<h2 xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision"; class="refsynopsisdiv-title">Synopsis</h2> +<div xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision"; class="refsynopsisdiv"><pre class="synopsis"><span class="emphasis"><em>// In header: &lt;<a class="link" href="xpressive/reference.html#header.boost.xpressive.regex_actions_hpp" title="Header &lt;boost/xpressive/regex_actions.hpp&gt;">boost/xpressive/regex_actions.hpp</a>&gt;
+
+</em></span>BOOST_PROTO_LOCAL_LIMITS</pre></div>
+</div>
+<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision"; width="100%"><tr>
+<td align="left"></td>
+<td align="right"><div class="copyright-footer">Copyright (c) 2007 Eric Niebler<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>
+</div></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="BOOST_PROTO_LOCAL_a.html"><img src="../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="xpressive/reference.html#header.boost.xpressive.regex_actions_hpp"><img src="../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="index.html"><img src="../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="boost/xpressive/regex_match.html"><img src="../../doc/html/images/next.png" alt="Next"></a>
+</div>
+</body>
+</html>
=======================================
--- /dev/null
+++ /trunk/doc/html/BOOST_PROTO_LOCAL_MACRO.html        Wed Sep  2 20:31:58 2009
@@ -0,0 +1,54 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+<title>Macro BOOST_PROTO_LOCAL_MACRO</title>
+<link rel="stylesheet" href="boostbook.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
+<link rel="home" href="index.html" title="The Boost C++ Libraries BoostBook Documentation Subset"> +<link rel="up" href="xpressive/reference.html#header.boost.xpressive.regex_actions_hpp" title="Header &lt;boost/xpressive/regex_actions.hpp&gt;"> +<link rel="prev" href="boost/xpressive/cref_id1448534.html" title="Function template cref"> +<link rel="next" href="BOOST_PROTO_LOCAL_a.html" title="Macro BOOST_PROTO_LOCAL_a">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table cellpadding="2" width="100%"><tr>
+<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../boost.png"></td>
+<td align="center"><a href="../../index.html">Home</a></td>
+<td align="center"><a href="../../libs/libraries.htm">Libraries</a></td>
+<td align="center"><a href="http://www.boost.org/users/people.html";>People</a></td> +<td align="center"><a href="http://www.boost.org/users/faq.html";>FAQ</a></td>
+<td align="center"><a href="../../more/index.htm">More</a></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="boost/xpressive/cref_id1448534.html"><img src="../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="xpressive/reference.html#header.boost.xpressive.regex_actions_hpp"><img src="../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="index.html"><img src="../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="BOOST_PROTO_LOCAL_a.html"><img src="../../doc/html/images/next.png" alt="Next"></a>
+</div>
+<div class="refentry" title="Macro BOOST_PROTO_LOCAL_MACRO">
+<a name="BOOST_PROTO_LOCAL_MACRO"></a><div class="titlepage"></div>
+<div class="refnamediv">
+<h2><span class="refentrytitle">Macro BOOST_PROTO_LOCAL_MACRO</span></h2>
+<p>BOOST_PROTO_LOCAL_MACRO</p>
+</div>
+<h2 xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision"; class="refsynopsisdiv-title">Synopsis</h2> +<div xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision"; class="refsynopsisdiv"><pre class="synopsis"><span class="emphasis"><em>// In header: &lt;<a class="link" href="xpressive/reference.html#header.boost.xpressive.regex_actions_hpp" title="Header &lt;boost/xpressive/regex_actions.hpp&gt;">boost/xpressive/regex_actions.hpp</a>&gt;
+
+</em></span>BOOST_PROTO_LOCAL_MACRO(N, typename_A, A_const_ref, A_const_ref_a, a)</pre></div>
+<div class="refsect1" title="Description">
+<a name="id2060649"></a><h2>Description</h2>
+<p>Usage: construct&lt;Type&gt;(arg1, arg2)</p>
+<p>Usage: throw_&lt;Exception&gt;(arg1, arg2) </p>
+</div>
+</div>
+<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision"; width="100%"><tr>
+<td align="left"></td>
+<td align="right"><div class="copyright-footer">Copyright (c) 2007 Eric Niebler<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>
+</div></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="boost/xpressive/cref_id1448534.html"><img src="../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="xpressive/reference.html#header.boost.xpressive.regex_actions_hpp"><img src="../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="index.html"><img src="../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="BOOST_PROTO_LOCAL_a.html"><img src="../../doc/html/images/next.png" alt="Next"></a>
+</div>
+</body>
+</html>
=======================================
--- /dev/null
+++ /trunk/doc/html/BOOST_PROTO_LOCAL_a.html    Wed Sep  2 20:31:58 2009
@@ -0,0 +1,49 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+<title>Macro BOOST_PROTO_LOCAL_a</title>
+<link rel="stylesheet" href="boostbook.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
+<link rel="home" href="index.html" title="The Boost C++ Libraries BoostBook Documentation Subset"> +<link rel="up" href="xpressive/reference.html#header.boost.xpressive.regex_actions_hpp" title="Header &lt;boost/xpressive/regex_actions.hpp&gt;"> +<link rel="prev" href="BOOST_PROTO_LOCAL_MACRO.html" title="Macro BOOST_PROTO_LOCAL_MACRO"> +<link rel="next" href="BOOST_PROTO_LOCAL_LIMITS.html" title="Macro BOOST_PROTO_LOCAL_LIMITS">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table cellpadding="2" width="100%"><tr>
+<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../boost.png"></td>
+<td align="center"><a href="../../index.html">Home</a></td>
+<td align="center"><a href="../../libs/libraries.htm">Libraries</a></td>
+<td align="center"><a href="http://www.boost.org/users/people.html";>People</a></td> +<td align="center"><a href="http://www.boost.org/users/faq.html";>FAQ</a></td>
+<td align="center"><a href="../../more/index.htm">More</a></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="BOOST_PROTO_LOCAL_MACRO.html"><img src="../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="xpressive/reference.html#header.boost.xpressive.regex_actions_hpp"><img src="../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="index.html"><img src="../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="BOOST_PROTO_LOCAL_LIMITS.html"><img src="../../doc/html/images/next.png" alt="Next"></a>
+</div>
+<div class="refentry" title="Macro BOOST_PROTO_LOCAL_a">
+<a name="BOOST_PROTO_LOCAL_a"></a><div class="titlepage"></div>
+<div class="refnamediv">
+<h2><span class="refentrytitle">Macro BOOST_PROTO_LOCAL_a</span></h2>
+<p>BOOST_PROTO_LOCAL_a</p>
+</div>
+<h2 xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision"; class="refsynopsisdiv-title">Synopsis</h2> +<div xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision"; class="refsynopsisdiv"><pre class="synopsis"><span class="emphasis"><em>// In header: &lt;<a class="link" href="xpressive/reference.html#header.boost.xpressive.regex_actions_hpp" title="Header &lt;boost/xpressive/regex_actions.hpp&gt;">boost/xpressive/regex_actions.hpp</a>&gt;
+
+</em></span>BOOST_PROTO_LOCAL_a</pre></div>
+</div>
+<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision"; width="100%"><tr>
+<td align="left"></td>
+<td align="right"><div class="copyright-footer">Copyright (c) 2007 Eric Niebler<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>
+</div></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="BOOST_PROTO_LOCAL_MACRO.html"><img src="../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="xpressive/reference.html#header.boost.xpressive.regex_actions_hpp"><img src="../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="index.html"><img src="../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="BOOST_PROTO_LOCAL_LIMITS.html"><img src="../../doc/html/images/next.png" alt="Next"></a>
+</div>
+</body>
+</html>
=======================================
--- /dev/null
+++ /trunk/doc/html/boost/xpressive/as_id1448377.html Wed Sep 2 20:31:58 2009
@@ -0,0 +1,54 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+<title>Function template as</title>
+<link rel="stylesheet" href="../../boostbook.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
+<link rel="home" href="../../index.html" title="The Boost C++ Libraries BoostBook Documentation Subset"> +<link rel="up" href="../../xpressive/reference.html#header.boost.xpressive.regex_actions_hpp" title="Header &lt;boost/xpressive/regex_actions.hpp&gt;">
+<link rel="prev" href="let.html" title="Global let">
+<link rel="next" href="static_cast_id1448404.html" title="Function template static_cast_">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table cellpadding="2" width="100%"><tr>
+<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../boost.png"></td>
+<td align="center"><a href="../../../../index.html">Home</a></td>
+<td align="center"><a href="../../../../libs/libraries.htm">Libraries</a></td> +<td align="center"><a href="http://www.boost.org/users/people.html";>People</a></td> +<td align="center"><a href="http://www.boost.org/users/faq.html";>FAQ</a></td>
+<td align="center"><a href="../../../../more/index.htm">More</a></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="let.html"><img src="../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../xpressive/reference.html#header.boost.xpressive.regex_actions_hpp"><img src="../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="static_cast_id1448404.html"><img src="../../../../doc/html/images/next.png" alt="Next"></a>
+</div>
+<div class="refentry" title="Function template as">
+<a name="boost.xpressive.as_id1448377"></a><div class="titlepage"></div>
+<div class="refnamediv">
+<h2><span class="refentrytitle">Function template as</span></h2>
+<p>boost::xpressive::as</p>
+</div>
+<h2 xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision"; class="refsynopsisdiv-title">Synopsis</h2> +<div xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision"; class="refsynopsisdiv"><pre class="synopsis"><span class="emphasis"><em>// In header: &lt;<a class="link" href="../../xpressive/reference.html#header.boost.xpressive.regex_actions_hpp" title="Header &lt;boost/xpressive/regex_actions.hpp&gt;">boost/xpressive/regex_actions.hpp</a>&gt;
+
+</em></span>
+<span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> X2_0, <span class="bold"><strong>typename</strong></span> A0&gt; <span class="type"><span class="emphasis"><em>unspecified</em></span></span> as(A0 <span class="bold"><strong>const</strong></span> &amp; a0);</pre></div>
+<div class="refsect1" title="Description">
+<a name="id2060198"></a><h2>Description</h2>
+<p>as (a.k.a., lexical_cast) </p>
+</div>
+</div>
+<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision"; width="100%"><tr>
+<td align="left"></td>
+<td align="right"><div class="copyright-footer">Copyright (c) 2007 Eric Niebler<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>
+</div></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="let.html"><img src="../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../xpressive/reference.html#header.boost.xpressive.regex_actions_hpp"><img src="../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="static_cast_id1448404.html"><img src="../../../../doc/html/images/next.png" alt="Next"></a>
+</div>
+</body>
+</html>
=======================================
--- /dev/null
+++ /trunk/doc/html/boost/xpressive/const_cast_id1448458.html Wed Sep 2 20:31:58 2009
@@ -0,0 +1,54 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+<title>Function template const_cast_</title>
+<link rel="stylesheet" href="../../boostbook.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
+<link rel="home" href="../../index.html" title="The Boost C++ Libraries BoostBook Documentation Subset"> +<link rel="up" href="../../xpressive/reference.html#header.boost.xpressive.regex_actions_hpp" title="Header &lt;boost/xpressive/regex_actions.hpp&gt;"> +<link rel="prev" href="dynamic_cast_id1448431.html" title="Function template dynamic_cast_">
+<link rel="next" href="val.html" title="Function template val">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table cellpadding="2" width="100%"><tr>
+<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../boost.png"></td>
+<td align="center"><a href="../../../../index.html">Home</a></td>
+<td align="center"><a href="../../../../libs/libraries.htm">Libraries</a></td> +<td align="center"><a href="http://www.boost.org/users/people.html";>People</a></td> +<td align="center"><a href="http://www.boost.org/users/faq.html";>FAQ</a></td>
+<td align="center"><a href="../../../../more/index.htm">More</a></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="dynamic_cast_id1448431.html"><img src="../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../xpressive/reference.html#header.boost.xpressive.regex_actions_hpp"><img src="../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="val.html"><img src="../../../../doc/html/images/next.png" alt="Next"></a>
+</div>
+<div class="refentry" title="Function template const_cast_">
+<a name="boost.xpressive.const_cast_id1448458"></a><div class="titlepage"></div>
+<div class="refnamediv">
+<h2><span class="refentrytitle">Function template const_cast_</span></h2>
+<p>boost::xpressive::const_cast_</p>
+</div>
+<h2 xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision"; class="refsynopsisdiv-title">Synopsis</h2> +<div xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision"; class="refsynopsisdiv"><pre class="synopsis"><span class="emphasis"><em>// In header: &lt;<a class="link" href="../../xpressive/reference.html#header.boost.xpressive.regex_actions_hpp" title="Header &lt;boost/xpressive/regex_actions.hpp&gt;">boost/xpressive/regex_actions.hpp</a>&gt;
+
+</em></span>
+<span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> X2_0, <span class="bold"><strong>typename</strong></span> A0&gt; <span class="type"><span class="emphasis"><em>unspecified</em></span></span> const_cast_(A0 <span class="bold"><strong>const</strong></span> &amp; a0);</pre></div>
+<div class="refsect1" title="Description">
+<a name="id2060399"></a><h2>Description</h2>
+<p>const_cast_ </p>
+</div>
+</div>
+<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision"; width="100%"><tr>
+<td align="left"></td>
+<td align="right"><div class="copyright-footer">Copyright (c) 2007 Eric Niebler<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>
+</div></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="dynamic_cast_id1448431.html"><img src="../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../xpressive/reference.html#header.boost.xpressive.regex_actions_hpp"><img src="../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="val.html"><img src="../../../../doc/html/images/next.png" alt="Next"></a>
+</div>
+</body>
+</html>
=======================================
--- /dev/null
+++ /trunk/doc/html/boost/xpressive/cref_id1448534.html Wed Sep 2 20:31:58 2009
@@ -0,0 +1,54 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+<title>Function template cref</title>
+<link rel="stylesheet" href="../../boostbook.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
+<link rel="home" href="../../index.html" title="The Boost C++ Libraries BoostBook Documentation Subset"> +<link rel="up" href="../../xpressive/reference.html#header.boost.xpressive.regex_actions_hpp" title="Header &lt;boost/xpressive/regex_actions.hpp&gt;">
+<link rel="prev" href="ref_id1448510.html" title="Function template ref">
+<link rel="next" href="../../BOOST_PROTO_LOCAL_MACRO.html" title="Macro BOOST_PROTO_LOCAL_MACRO">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table cellpadding="2" width="100%"><tr>
+<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../boost.png"></td>
+<td align="center"><a href="../../../../index.html">Home</a></td>
+<td align="center"><a href="../../../../libs/libraries.htm">Libraries</a></td> +<td align="center"><a href="http://www.boost.org/users/people.html";>People</a></td> +<td align="center"><a href="http://www.boost.org/users/faq.html";>FAQ</a></td>
+<td align="center"><a href="../../../../more/index.htm">More</a></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="ref_id1448510.html"><img src="../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../xpressive/reference.html#header.boost.xpressive.regex_actions_hpp"><img src="../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="../../BOOST_PROTO_LOCAL_MACRO.html"><img src="../../../../doc/html/images/next.png" alt="Next"></a>
+</div>
+<div class="refentry" title="Function template cref">
+<a name="boost.xpressive.cref_id1448534"></a><div class="titlepage"></div>
+<div class="refnamediv">
+<h2><span class="refentrytitle">Function template cref</span></h2>
+<p>boost::xpressive::cref</p>
+</div>
+<h2 xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision"; class="refsynopsisdiv-title">Synopsis</h2> +<div xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision"; class="refsynopsisdiv"><pre class="synopsis"><span class="emphasis"><em>// In header: &lt;<a class="link" href="../../xpressive/reference.html#header.boost.xpressive.regex_actions_hpp" title="Header &lt;boost/xpressive/regex_actions.hpp&gt;">boost/xpressive/regex_actions.hpp</a>&gt;
+
+</em></span>
+<span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> T&gt; <span class="type"><a class="link" href="reference.html" title="Struct template reference">reference</a>&lt; T <span class="bold"><strong>const</strong></span> &gt; <span class="bold"><strong>const</strong></span></span> cref(T <span class="bold"><strong>const</strong></span> &amp; t);</pre></div>
+<div class="refsect1" title="Description">
+<a name="id2060609"></a><h2>Description</h2>
+<p>cref() </p>
+</div>
+</div>
+<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision"; width="100%"><tr>
+<td align="left"></td>
+<td align="right"><div class="copyright-footer">Copyright (c) 2007 Eric Niebler<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>
+</div></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="ref_id1448510.html"><img src="../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../xpressive/reference.html#header.boost.xpressive.regex_actions_hpp"><img src="../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="../../BOOST_PROTO_LOCAL_MACRO.html"><img src="../../../../doc/html/images/next.png" alt="Next"></a>
+</div>
+</body>
+</html>
=======================================
--- /dev/null
+++ /trunk/doc/html/boost/xpressive/dynamic_cast_id1448431.html Wed Sep 2 20:31:58 2009
@@ -0,0 +1,54 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+<title>Function template dynamic_cast_</title>
+<link rel="stylesheet" href="../../boostbook.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
+<link rel="home" href="../../index.html" title="The Boost C++ Libraries BoostBook Documentation Subset"> +<link rel="up" href="../../xpressive/reference.html#header.boost.xpressive.regex_actions_hpp" title="Header &lt;boost/xpressive/regex_actions.hpp&gt;"> +<link rel="prev" href="static_cast_id1448404.html" title="Function template static_cast_"> +<link rel="next" href="const_cast_id1448458.html" title="Function template const_cast_">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table cellpadding="2" width="100%"><tr>
+<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../boost.png"></td>
+<td align="center"><a href="../../../../index.html">Home</a></td>
+<td align="center"><a href="../../../../libs/libraries.htm">Libraries</a></td> +<td align="center"><a href="http://www.boost.org/users/people.html";>People</a></td> +<td align="center"><a href="http://www.boost.org/users/faq.html";>FAQ</a></td>
+<td align="center"><a href="../../../../more/index.htm">More</a></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="static_cast_id1448404.html"><img src="../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../xpressive/reference.html#header.boost.xpressive.regex_actions_hpp"><img src="../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="const_cast_id1448458.html"><img src="../../../../doc/html/images/next.png" alt="Next"></a>
+</div>
+<div class="refentry" title="Function template dynamic_cast_">
+<a name="boost.xpressive.dynamic_cast_id1448431"></a><div class="titlepage"></div>
+<div class="refnamediv">
+<h2><span class="refentrytitle">Function template dynamic_cast_</span></h2>
+<p>boost::xpressive::dynamic_cast_</p>
+</div>
+<h2 xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision"; class="refsynopsisdiv-title">Synopsis</h2> +<div xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision"; class="refsynopsisdiv"><pre class="synopsis"><span class="emphasis"><em>// In header: &lt;<a class="link" href="../../xpressive/reference.html#header.boost.xpressive.regex_actions_hpp" title="Header &lt;boost/xpressive/regex_actions.hpp&gt;">boost/xpressive/regex_actions.hpp</a>&gt;
+
+</em></span>
+<span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> X2_0, <span class="bold"><strong>typename</strong></span> A0&gt; <span class="type"><span class="emphasis"><em>unspecified</em></span></span> dynamic_cast_(A0 <span class="bold"><strong>const</strong></span> &amp; a0);</pre></div>
+<div class="refsect1" title="Description">
+<a name="id2060332"></a><h2>Description</h2>
+<p>dynamic_cast_ </p>
+</div>
+</div>
+<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision"; width="100%"><tr>
+<td align="left"></td>
+<td align="right"><div class="copyright-footer">Copyright (c) 2007 Eric Niebler<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>
+</div></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="static_cast_id1448404.html"><img src="../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../xpressive/reference.html#header.boost.xpressive.regex_actions_hpp"><img src="../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="const_cast_id1448458.html"><img src="../../../../doc/html/images/next.png" alt="Next"></a>
+</div>
+</body>
+</html>
=======================================
--- /dev/null
+++ /trunk/doc/html/boost/xpressive/has_fold_case_c_regex_t_id1455486.html Wed Sep 2 20:31:58 2009
@@ -0,0 +1,51 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+<title>Struct has_fold_case&lt;c_regex_traits&lt; char &gt;&gt;</title>
+<link rel="stylesheet" href="../../boostbook.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
+<link rel="home" href="../../index.html" title="The Boost C++ Libraries BoostBook Documentation Subset"> +<link rel="up" href="../../xpressive/reference.html#header.boost.xpressive.traits.c_regex_traits_hpp" title="Header &lt;boost/xpressive/traits/c_regex_traits.hpp&gt;"> +<link rel="prev" href="c_regex_traits.html" title="Struct template c_regex_traits"> +<link rel="next" href="cpp_regex_traits.html" title="Struct template cpp_regex_traits">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table cellpadding="2" width="100%"><tr>
+<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../boost.png"></td>
+<td align="center"><a href="../../../../index.html">Home</a></td>
+<td align="center"><a href="../../../../libs/libraries.htm">Libraries</a></td> +<td align="center"><a href="http://www.boost.org/users/people.html";>People</a></td> +<td align="center"><a href="http://www.boost.org/users/faq.html";>FAQ</a></td>
+<td align="center"><a href="../../../../more/index.htm">More</a></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="c_regex_traits.html"><img src="../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../xpressive/reference.html#header.boost.xpressive.traits.c_regex_traits_hpp"><img src="../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="cpp_regex_traits.html"><img src="../../../../doc/html/images/next.png" alt="Next"></a>
+</div>
+<div class="refentry" title="Struct has_fold_case&lt;c_regex_traits&lt; char &gt;&gt;"> +<a name="boost.xpressive.has_fold_case_c_regex_t_id1455486"></a><div class="titlepage"></div>
+<div class="refnamediv">
+<h2><span class="refentrytitle">Struct has_fold_case&lt;c_regex_traits&lt; char &gt;&gt;</span></h2>
+<p>boost::xpressive::has_fold_case&lt;c_regex_traits&lt; char &gt;&gt;</p>
+</div>
+<h2 xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision"; class="refsynopsisdiv-title">Synopsis</h2> +<div xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision"; class="refsynopsisdiv"><pre class="synopsis"><span class="emphasis"><em>// In header: &lt;<a class="link" href="../../xpressive/reference.html#header.boost.xpressive.traits.c_regex_traits_hpp" title="Header &lt;boost/xpressive/traits/c_regex_traits.hpp&gt;">boost/xpressive/traits/c_regex_traits.hpp</a>&gt;
+
+</em></span>
+<span class="bold"><strong>struct</strong></span> <a class="link" href="has_fold_case_c_regex_t_id1455486.html" title="Struct has_fold_case&lt;c_regex_traits&lt; char &gt;&gt;">has_fold_case</a>&lt;c_regex_traits&lt; <span class="bold"><strong>char</strong></span> &gt;&gt; {
+};</pre></div>
+</div>
+<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision"; width="100%"><tr>
+<td align="left"></td>
+<td align="right"><div class="copyright-footer">Copyright (c) 2007 Eric Niebler<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>
+</div></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="c_regex_traits.html"><img src="../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../xpressive/reference.html#header.boost.xpressive.traits.c_regex_traits_hpp"><img src="../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="cpp_regex_traits.html"><img src="../../../../doc/html/images/next.png" alt="Next"></a>
+</div>
+</body>
+</html>
=======================================
--- /dev/null
+++ /trunk/doc/html/boost/xpressive/has_fold_case_cpp_regex_id1456266.html Wed Sep 2 20:31:58 2009
@@ -0,0 +1,51 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+<title>Struct has_fold_case&lt;cpp_regex_traits&lt; char &gt;&gt;</title>
+<link rel="stylesheet" href="../../boostbook.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
+<link rel="home" href="../../index.html" title="The Boost C++ Libraries BoostBook Documentation Subset"> +<link rel="up" href="../../xpressive/reference.html#header.boost.xpressive.traits.cpp_regex_traits_hpp" title="Header &lt;boost/xpressive/traits/cpp_regex_traits.hpp&gt;"> +<link rel="prev" href="cpp_regex_traits.html" title="Struct template cpp_regex_traits"> +<link rel="next" href="null_regex_traits.html" title="Struct template null_regex_traits">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table cellpadding="2" width="100%"><tr>
+<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../boost.png"></td>
+<td align="center"><a href="../../../../index.html">Home</a></td>
+<td align="center"><a href="../../../../libs/libraries.htm">Libraries</a></td> +<td align="center"><a href="http://www.boost.org/users/people.html";>People</a></td> +<td align="center"><a href="http://www.boost.org/users/faq.html";>FAQ</a></td>
+<td align="center"><a href="../../../../more/index.htm">More</a></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="cpp_regex_traits.html"><img src="../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../xpressive/reference.html#header.boost.xpressive.traits.cpp_regex_traits_hpp"><img src="../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="null_regex_traits.html"><img src="../../../../doc/html/images/next.png" alt="Next"></a>
+</div>
+<div class="refentry" title="Struct has_fold_case&lt;cpp_regex_traits&lt; char &gt;&gt;"> +<a name="boost.xpressive.has_fold_case_cpp_regex_id1456266"></a><div class="titlepage"></div>
+<div class="refnamediv">
+<h2><span class="refentrytitle">Struct has_fold_case&lt;cpp_regex_traits&lt; char &gt;&gt;</span></h2> +<p>boost::xpressive::has_fold_case&lt;cpp_regex_traits&lt; char &gt;&gt;</p>
+</div>
+<h2 xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision"; class="refsynopsisdiv-title">Synopsis</h2> +<div xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision"; class="refsynopsisdiv"><pre class="synopsis"><span class="emphasis"><em>// In header: &lt;<a class="link" href="../../xpressive/reference.html#header.boost.xpressive.traits.cpp_regex_traits_hpp" title="Header &lt;boost/xpressive/traits/cpp_regex_traits.hpp&gt;">boost/xpressive/traits/cpp_regex_traits.hpp</a>&gt;
+
+</em></span>
+<span class="bold"><strong>struct</strong></span> <a class="link" href="has_fold_case_cpp_regex_id1456266.html" title="Struct has_fold_case&lt;cpp_regex_traits&lt; char &gt;&gt;">has_fold_case</a>&lt;cpp_regex_traits&lt; <span class="bold"><strong>char</strong></span> &gt;&gt; {
+};</pre></div>
+</div>
+<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision"; width="100%"><tr>
+<td align="left"></td>
+<td align="right"><div class="copyright-footer">Copyright (c) 2007 Eric Niebler<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>
+</div></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="cpp_regex_traits.html"><img src="../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../xpressive/reference.html#header.boost.xpressive.traits.cpp_regex_traits_hpp"><img src="../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="null_regex_traits.html"><img src="../../../../doc/html/images/next.png" alt="Next"></a>
+</div>
+</body>
+</html>
=======================================
--- /dev/null
+++ /trunk/doc/html/boost/xpressive/operator_id1453542.html Wed Sep 2 20:31:58 2009
@@ -0,0 +1,84 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+<title>Function template operator&lt;&lt;</title>
+<link rel="stylesheet" href="../../boostbook.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
+<link rel="home" href="../../index.html" title="The Boost C++ Libraries BoostBook Documentation Subset"> +<link rel="up" href="../../xpressive/reference.html#header.boost.xpressive.sub_match_hpp" title="Header &lt;boost/xpressive/sub_match.hpp&gt;">
+<link rel="prev" href="sub_match.html" title="Struct template sub_match">
+<link rel="next" href="c_regex_traits.html" title="Struct template c_regex_traits">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table cellpadding="2" width="100%"><tr>
+<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../boost.png"></td>
+<td align="center"><a href="../../../../index.html">Home</a></td>
+<td align="center"><a href="../../../../libs/libraries.htm">Libraries</a></td> +<td align="center"><a href="http://www.boost.org/users/people.html";>People</a></td> +<td align="center"><a href="http://www.boost.org/users/faq.html";>FAQ</a></td>
+<td align="center"><a href="../../../../more/index.htm">More</a></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="sub_match.html"><img src="../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../xpressive/reference.html#header.boost.xpressive.sub_match_hpp"><img src="../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="c_regex_traits.html"><img src="../../../../doc/html/images/next.png" alt="Next"></a>
+</div>
+<div class="refentry" title="Function template operator&lt;&lt;">
+<a name="boost.xpressive.operator_id1453542"></a><div class="titlepage"></div>
+<div class="refnamediv">
+<h2><span class="refentrytitle">Function template operator&lt;&lt;</span></h2> +<p>boost::xpressive::operator&lt;&lt; &#8212; insertion operator for sending sub-matches to ostreams </p>
+</div>
+<h2 xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision"; class="refsynopsisdiv-title">Synopsis</h2> +<div xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision"; class="refsynopsisdiv"><pre class="synopsis"><span class="emphasis"><em>// In header: &lt;<a class="link" href="../../xpressive/reference.html#header.boost.xpressive.sub_match_hpp" title="Header &lt;boost/xpressive/sub_match.hpp&gt;">boost/xpressive/sub_match.hpp</a>&gt;
+
+</em></span>
+<span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> BidiIter, <span class="bold"><strong>typename</strong></span> Char, <span class="bold"><strong>typename</strong></span> Traits&gt;
+  <span class="type">std::basic_ostream&lt; Char, Traits &gt; &amp;</span>
+ <span class="bold"><strong>operator</strong></span>&lt;&lt;(std::basic_ostream&lt; Char, Traits &gt; &amp; sout, + <a class="link" href="sub_match.html" title="Struct template sub_match">sub_match</a>&lt; BidiIter &gt; <span class="bold"><strong>const</strong></span> &amp; sub);</pre></div>
+<div class="refsect1" title="Description">
+<a name="id2077546"></a><h2>Description</h2>
+<p>
+
+</p>
+<div class="variablelist"><table border="0">
+<col align="left" valign="top">
+<tbody>
+<tr>
+<td><p><span class="term">Parameters:</span></p></td>
+<td><div class="variablelist"><table border="0">
+<col align="left" valign="top">
+<tbody>
+<tr>
+<td><p><span class="term"><code class="computeroutput">sout</code></span></p></td>
+<td><p>output stream. </p></td>
+</tr>
+<tr>
+<td><p><span class="term"><code class="computeroutput">sub</code></span></p></td>
+<td><p>sub_match object to be written to the stream. </p></td>
+</tr>
+</tbody>
+</table></div></td>
+</tr>
+<tr>
+<td><p><span class="term">Returns:</span></p></td>
+<td><p>sout &lt;&lt; sub.str() </p></td>
+</tr>
+</tbody>
+</table></div>
+</div>
+</div>
+<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision"; width="100%"><tr>
+<td align="left"></td>
+<td align="right"><div class="copyright-footer">Copyright (c) 2007 Eric Niebler<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>
+</div></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="sub_match.html"><img src="../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../xpressive/reference.html#header.boost.xpressive.sub_match_hpp"><img src="../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="c_regex_traits.html"><img src="../../../../doc/html/images/next.png" alt="Next"></a>
+</div>
+</body>
+</html>
=======================================
--- /dev/null
+++ /trunk/doc/html/boost/xpressive/optional_id1452429.html Wed Sep 2 20:31:58 2009
@@ -0,0 +1,70 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+<title>Function template optional</title>
+<link rel="stylesheet" href="../../boostbook.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
+<link rel="home" href="../../index.html" title="The Boost C++ Libraries BoostBook Documentation Subset"> +<link rel="up" href="../../xpressive/reference.html#header.boost.xpressive.regex_primitives_hpp" title="Header &lt;boost/xpressive/regex_primitives.hpp&gt;">
+<link rel="prev" href="range.html" title="Function template range">
+<link rel="next" href="repeat.html" title="Function repeat">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table cellpadding="2" width="100%"><tr>
+<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../boost.png"></td>
+<td align="center"><a href="../../../../index.html">Home</a></td>
+<td align="center"><a href="../../../../libs/libraries.htm">Libraries</a></td> +<td align="center"><a href="http://www.boost.org/users/people.html";>People</a></td> +<td align="center"><a href="http://www.boost.org/users/faq.html";>FAQ</a></td>
+<td align="center"><a href="../../../../more/index.htm">More</a></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="range.html"><img src="../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../xpressive/reference.html#header.boost.xpressive.regex_primitives_hpp"><img src="../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="repeat.html"><img src="../../../../doc/html/images/next.png" alt="Next"></a>
+</div>
+<div class="refentry" title="Function template optional">
+<a name="boost.xpressive.optional_id1452429"></a><div class="titlepage"></div>
+<div class="refnamediv">
+<h2><span class="refentrytitle">Function template optional</span></h2>
+<p>boost::xpressive::optional &#8212; Make a sub-expression optional. Equivalent to !as_xpr(expr). </p>
+</div>
+<h2 xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision"; class="refsynopsisdiv-title">Synopsis</h2> +<div xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision"; class="refsynopsisdiv"><pre class="synopsis"><span class="emphasis"><em>// In header: &lt;<a class="link" href="../../xpressive/reference.html#header.boost.xpressive.regex_primitives_hpp" title="Header &lt;boost/xpressive/regex_primitives.hpp&gt;">boost/xpressive/regex_primitives.hpp</a>&gt;
+
+</em></span>
+<span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> Expr&gt; + <span class="type">proto::result_of::make_expr&lt; proto::tag::logical_not, proto::default_domain, Expr <span class="bold"><strong>const</strong></span> &amp; &gt;::type <span class="bold"><strong>const</strong></span></span> + optional(Expr <span class="bold"><strong>const</strong></span> &amp; expr);</pre></div>
+<div class="refsect1" title="Description">
+<a name="id2071761"></a><h2>Description</h2>
+<p>
+</p>
+<div class="variablelist"><table border="0">
+<col align="left" valign="top">
+<tbody><tr>
+<td><p><span class="term">Parameters:</span></p></td>
+<td><div class="variablelist"><table border="0">
+<col align="left" valign="top">
+<tbody><tr>
+<td><p><span class="term"><code class="computeroutput">expr</code></span></p></td>
+<td><p>The sub-expression to make optional. </p></td>
+</tr></tbody>
+</table></div></td>
+</tr></tbody>
+</table></div>
+</div>
+</div>
+<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision"; width="100%"><tr>
+<td align="left"></td>
+<td align="right"><div class="copyright-footer">Copyright (c) 2007 Eric Niebler<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>
+</div></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="range.html"><img src="../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../xpressive/reference.html#header.boost.xpressive.regex_primitives_hpp"><img src="../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="repeat.html"><img src="../../../../doc/html/images/next.png" alt="Next"></a>
+</div>
+</body>
+</html>
=======================================
--- /dev/null
+++ /trunk/doc/html/boost/xpressive/ref_id1448510.html Wed Sep 2 20:31:58 2009
@@ -0,0 +1,54 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+<title>Function template ref</title>
+<link rel="stylesheet" href="../../boostbook.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
+<link rel="home" href="../../index.html" title="The Boost C++ Libraries BoostBook Documentation Subset"> +<link rel="up" href="../../xpressive/reference.html#header.boost.xpressive.regex_actions_hpp" title="Header &lt;boost/xpressive/regex_actions.hpp&gt;">
+<link rel="prev" href="val.html" title="Function template val">
+<link rel="next" href="cref_id1448534.html" title="Function template cref">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table cellpadding="2" width="100%"><tr>
+<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../boost.png"></td>
+<td align="center"><a href="../../../../index.html">Home</a></td>
+<td align="center"><a href="../../../../libs/libraries.htm">Libraries</a></td> +<td align="center"><a href="http://www.boost.org/users/people.html";>People</a></td> +<td align="center"><a href="http://www.boost.org/users/faq.html";>FAQ</a></td>
+<td align="center"><a href="../../../../more/index.htm">More</a></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="val.html"><img src="../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../xpressive/reference.html#header.boost.xpressive.regex_actions_hpp"><img src="../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="cref_id1448534.html"><img src="../../../../doc/html/images/next.png" alt="Next"></a>
+</div>
+<div class="refentry" title="Function template ref">
+<a name="boost.xpressive.ref_id1448510"></a><div class="titlepage"></div>
+<div class="refnamediv">
+<h2><span class="refentrytitle">Function template ref</span></h2>
+<p>boost::xpressive::ref</p>
+</div>
+<h2 xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision"; class="refsynopsisdiv-title">Synopsis</h2> +<div xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision"; class="refsynopsisdiv"><pre class="synopsis"><span class="emphasis"><em>// In header: &lt;<a class="link" href="../../xpressive/reference.html#header.boost.xpressive.regex_actions_hpp" title="Header &lt;boost/xpressive/regex_actions.hpp&gt;">boost/xpressive/regex_actions.hpp</a>&gt;
+
+</em></span>
+<span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> T&gt; <span class="type"><a class="link" href="reference.html" title="Struct template reference">reference</a>&lt; T &gt; <span class="bold"><strong>const</strong></span></span> ref(T &amp; t);</pre></div>
+<div class="refsect1" title="Description">
+<a name="id2060533"></a><h2>Description</h2>
+<p>ref() </p>
+</div>
+</div>
+<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision"; width="100%"><tr>
+<td align="left"></td>
+<td align="right"><div class="copyright-footer">Copyright (c) 2007 Eric Niebler<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>
+</div></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="val.html"><img src="../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../xpressive/reference.html#header.boost.xpressive.regex_actions_hpp"><img src="../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="cref_id1448534.html"><img src="../../../../doc/html/images/next.png" alt="Next"></a>
+</div>
+</body>
+</html>
=======================================
--- /dev/null
+++ /trunk/doc/html/boost/xpressive/static_cast_id1448404.html Wed Sep 2 20:31:58 2009
@@ -0,0 +1,54 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+<title>Function template static_cast_</title>
+<link rel="stylesheet" href="../../boostbook.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
+<link rel="home" href="../../index.html" title="The Boost C++ Libraries BoostBook Documentation Subset"> +<link rel="up" href="../../xpressive/reference.html#header.boost.xpressive.regex_actions_hpp" title="Header &lt;boost/xpressive/regex_actions.hpp&gt;">
+<link rel="prev" href="as_id1448377.html" title="Function template as">
+<link rel="next" href="dynamic_cast_id1448431.html" title="Function template dynamic_cast_">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table cellpadding="2" width="100%"><tr>
+<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../boost.png"></td>
+<td align="center"><a href="../../../../index.html">Home</a></td>
+<td align="center"><a href="../../../../libs/libraries.htm">Libraries</a></td> +<td align="center"><a href="http://www.boost.org/users/people.html";>People</a></td> +<td align="center"><a href="http://www.boost.org/users/faq.html";>FAQ</a></td>
+<td align="center"><a href="../../../../more/index.htm">More</a></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="as_id1448377.html"><img src="../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../xpressive/reference.html#header.boost.xpressive.regex_actions_hpp"><img src="../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="dynamic_cast_id1448431.html"><img src="../../../../doc/html/images/next.png" alt="Next"></a>
+</div>
+<div class="refentry" title="Function template static_cast_">
+<a name="boost.xpressive.static_cast_id1448404"></a><div class="titlepage"></div>
+<div class="refnamediv">
+<h2><span class="refentrytitle">Function template static_cast_</span></h2>
+<p>boost::xpressive::static_cast_</p>
+</div>
+<h2 xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision"; class="refsynopsisdiv-title">Synopsis</h2> +<div xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision"; class="refsynopsisdiv"><pre class="synopsis"><span class="emphasis"><em>// In header: &lt;<a class="link" href="../../xpressive/reference.html#header.boost.xpressive.regex_actions_hpp" title="Header &lt;boost/xpressive/regex_actions.hpp&gt;">boost/xpressive/regex_actions.hpp</a>&gt;
+
+</em></span>
+<span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> X2_0, <span class="bold"><strong>typename</strong></span> A0&gt; <span class="type"><span class="emphasis"><em>unspecified</em></span></span> static_cast_(A0 <span class="bold"><strong>const</strong></span> &amp; a0);</pre></div>
+<div class="refsect1" title="Description">
+<a name="id2060265"></a><h2>Description</h2>
+<p>static_cast_ </p>
+</div>
+</div>
+<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision"; width="100%"><tr>
+<td align="left"></td>
+<td align="right"><div class="copyright-footer">Copyright (c) 2007 Eric Niebler<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>
+</div></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="as_id1448377.html"><img src="../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../xpressive/reference.html#header.boost.xpressive.regex_actions_hpp"><img src="../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="dynamic_cast_id1448431.html"><img src="../../../../doc/html/images/next.png" alt="Next"></a>
+</div>
+</body>
+</html>
=======================================
--- /dev/null
+++ /trunk/doc/html/boost/xpressive/swap_id1445453.html Wed Sep 2 20:31:58 2009
@@ -0,0 +1,87 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+<title>Function template swap</title>
+<link rel="stylesheet" href="../../boostbook.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
+<link rel="home" href="../../index.html" title="The Boost C++ Libraries BoostBook Documentation Subset"> +<link rel="up" href="../../xpressive/reference.html#header.boost.xpressive.basic_regex_hpp" title="Header &lt;boost/xpressive/basic_regex.hpp&gt;"> +<link rel="prev" href="basic_regex.html" title="Struct template basic_regex"> +<link rel="next" href="match_results.html" title="Struct template match_results">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table cellpadding="2" width="100%"><tr>
+<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../boost.png"></td>
+<td align="center"><a href="../../../../index.html">Home</a></td>
+<td align="center"><a href="../../../../libs/libraries.htm">Libraries</a></td> +<td align="center"><a href="http://www.boost.org/users/people.html";>People</a></td> +<td align="center"><a href="http://www.boost.org/users/faq.html";>FAQ</a></td>
+<td align="center"><a href="../../../../more/index.htm">More</a></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="basic_regex.html"><img src="../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../xpressive/reference.html#header.boost.xpressive.basic_regex_hpp"><img src="../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="match_results.html"><img src="../../../../doc/html/images/next.png" alt="Next"></a>
+</div>
+<div class="refentry" title="Function template swap">
+<a name="boost.xpressive.swap_id1445453"></a><div class="titlepage"></div>
+<div class="refnamediv">
+<h2><span class="refentrytitle">Function template swap</span></h2>
+<p>boost::xpressive::swap &#8212; Swaps the contents of two basic_regex objects. </p>
+</div>
+<h2 xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision"; class="refsynopsisdiv-title">Synopsis</h2> +<div xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision"; class="refsynopsisdiv"><pre class="synopsis"><span class="emphasis"><em>// In header: &lt;<a class="link" href="../../xpressive/reference.html#header.boost.xpressive.basic_regex_hpp" title="Header &lt;boost/xpressive/basic_regex.hpp&gt;">boost/xpressive/basic_regex.hpp</a>&gt;
+
+</em></span>
+<span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> BidiIter&gt; + <span class="type"><span class="bold"><strong>void</strong></span></span> swap(<a class="link" href="basic_regex.html" title="Struct template basic_regex">basic_regex</a>&lt; BidiIter &gt; &amp; left, <a class="link" href="basic_regex.html" title="Struct template basic_regex">basic_regex</a>&lt; BidiIter &gt; &amp; right);</pre></div>
+<div class="refsect1" title="Description">
+<a name="id2046488"></a><h2>Description</h2>
+<p>
+
+
+</p>
+<div class="variablelist"><table border="0">
+<col align="left" valign="top">
+<tbody>
+<tr>
+<td><p><span class="term">Parameters:</span></p></td>
+<td><div class="variablelist"><table border="0">
+<col align="left" valign="top">
+<tbody>
+<tr>
+<td><p><span class="term"><code class="computeroutput">left</code></span></p></td>
+<td><p>The first basic_regex object. </p></td>
+</tr>
+<tr>
+<td><p><span class="term"><code class="computeroutput">right</code></span></p></td>
+<td><p>The second basic_regex object. </p></td>
+</tr>
+</tbody>
+</table></div></td>
+</tr>
+<tr>
+<td><p><span class="term">Throws:</span></p></td>
+<td>Will not throw.</td>
+</tr>
+<tr>
+<td><p><span class="term">Notes:</span></p></td>
+<td><p>This is a shallow swap that does not do reference tracking. If you embed a basic_regex object by reference in another regular expression and then swap its contents with another basic_regex object, the change will not be visible to the enclosing regular expression. It is done this way to ensure that swap() cannot throw. </p></td>
+</tr>
+</tbody>
+</table></div>
+</div>
+</div>
+<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision"; width="100%"><tr>
+<td align="left"></td>
+<td align="right"><div class="copyright-footer">Copyright (c) 2007 Eric Niebler<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>
+</div></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="basic_regex.html"><img src="../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../xpressive/reference.html#header.boost.xpressive.basic_regex_hpp"><img src="../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="match_results.html"><img src="../../../../doc/html/images/next.png" alt="Next"></a>
+</div>
+</body>
+</html>
=======================================
--- /dev/null
+++ /trunk/doc/html/boost/xpressive/val.html    Wed Sep  2 20:31:58 2009
@@ -0,0 +1,54 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+<title>Function template val</title>
+<link rel="stylesheet" href="../../boostbook.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
+<link rel="home" href="../../index.html" title="The Boost C++ Libraries BoostBook Documentation Subset"> +<link rel="up" href="../../xpressive/reference.html#header.boost.xpressive.regex_actions_hpp" title="Header &lt;boost/xpressive/regex_actions.hpp&gt;"> +<link rel="prev" href="const_cast_id1448458.html" title="Function template const_cast_">
+<link rel="next" href="ref_id1448510.html" title="Function template ref">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table cellpadding="2" width="100%"><tr>
+<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../boost.png"></td>
+<td align="center"><a href="../../../../index.html">Home</a></td>
+<td align="center"><a href="../../../../libs/libraries.htm">Libraries</a></td> +<td align="center"><a href="http://www.boost.org/users/people.html";>People</a></td> +<td align="center"><a href="http://www.boost.org/users/faq.html";>FAQ</a></td>
+<td align="center"><a href="../../../../more/index.htm">More</a></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="const_cast_id1448458.html"><img src="../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../xpressive/reference.html#header.boost.xpressive.regex_actions_hpp"><img src="../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="ref_id1448510.html"><img src="../../../../doc/html/images/next.png" alt="Next"></a>
+</div>
+<div class="refentry" title="Function template val">
+<a name="boost.xpressive.val"></a><div class="titlepage"></div>
+<div class="refnamediv">
+<h2><span class="refentrytitle">Function template val</span></h2>
+<p>boost::xpressive::val</p>
+</div>
+<h2 xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision"; class="refsynopsisdiv-title">Synopsis</h2> +<div xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision"; class="refsynopsisdiv"><pre class="synopsis"><span class="emphasis"><em>// In header: &lt;<a class="link" href="../../xpressive/reference.html#header.boost.xpressive.regex_actions_hpp" title="Header &lt;boost/xpressive/regex_actions.hpp&gt;">boost/xpressive/regex_actions.hpp</a>&gt;
+
+</em></span>
+<span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> T&gt; <span class="type"><a class="link" href="value.html" title="Struct template value">value</a>&lt; T &gt; <span class="bold"><strong>const</strong></span></span> val(T <span class="bold"><strong>const</strong></span> &amp; t);</pre></div>
+<div class="refsect1" title="Description">
+<a name="id2060469"></a><h2>Description</h2>
+<p>val() </p>
+</div>
+</div>
+<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision"; width="100%"><tr>
+<td align="left"></td>
+<td align="right"><div class="copyright-footer">Copyright (c) 2007 Eric Niebler<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>
+</div></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="const_cast_id1448458.html"><img src="../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../xpressive/reference.html#header.boost.xpressive.regex_actions_hpp"><img src="../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="ref_id1448510.html"><img src="../../../../doc/html/images/next.png" alt="Next"></a>
+</div>
+</body>
+</html>
=======================================
--- /trunk/doc/html/boost/xpressive/BOOST_PROTO_DEFINE_FUNC_id3002459.html Wed Jun 24 00:35:24 2009
+++ /dev/null
@@ -1,50 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html><head>
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-
-<title>Function BOOST_PROTO_DEFINE_FUNCTION_TEMPLATE</title><link rel="stylesheet" href="../../boostbook.css" type="text/css">
-<meta name="generator" content="DocBook XSL Stylesheets V1.74.3">
-<link rel="home" href="../../index.html" title="The Boost C++ Libraries BoostBook Documentation Subset"> -<link rel="up" href="../../xpressive/reference.html#header.boost.xpressive.regex_actions_hpp" title="Header &lt;boost/xpressive/regex_actions.hpp&gt;">
-<link rel="prev" href="let.html" title="Global let">
-<link rel="next" href="ref_id3002500.html" title="Function template ref"></head> -<body alink="#0000ff" bgcolor="white" link="#0000ff" text="black" vlink="#840084">
-<table cellpadding="2" width="100%"><tbody><tr>
-<td valign="top"><img alt="Boost C++ Libraries" src="../../../../boost.png" height="86" width="277"></td>
-<td align="center"><a href="../../../../index.html">Home</a></td>
-<td align="center"><a href="../../../../libs/libraries.htm">Libraries</a></td> -<td align="center"><a href="http://www.boost.org/users/people.html";>People</a></td> -<td align="center"><a href="http://www.boost.org/users/faq.html";>FAQ</a></td>
-<td align="center"><a href="../../../../more/index.htm">More</a></td>
-</tr></tbody></table>
-<hr>
-<div class="spirit-nav">
-<a accesskey="p" href="let.html"><img src="../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../xpressive/reference.html#header.boost.xpressive.regex_actions_hpp"><img src="../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="ref_id3002500.html"><img src="../../../../doc/html/images/next.png" alt="Next"></a>
-</div>
-<div class="refentry" lang="en">
-<a name="boost.xpressive.BOOST_PROTO_DEFINE_FUNC_id3002459"></a><div class="titlepage"></div>
-<div class="refnamediv">
-<h2><span class="refentrytitle">Function BOOST_PROTO_DEFINE_FUNCTION_TEMPLATE</span></h2>
-<p>boost::xpressive::BOOST_PROTO_DEFINE_FUNCTION_TEMPLATE</p>
-</div>
-<h2 xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision"; class="refsynopsisdiv-title">Synopsis</h2> -<div xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision"; class="refsynopsisdiv"><pre class="synopsis"><span class="emphasis"><em>// In header: &lt;<a class="link" href="../../xpressive/reference.html#header.boost.xpressive.regex_actions_hpp" title="Header &lt;boost/xpressive/regex_actions.hpp&gt;">boost/xpressive/regex_actions.hpp</a>&gt;<br><br></em></span> -<span class="type"></span> BOOST_PROTO_DEFINE_FUNCTION_TEMPLATE(1, as, boost::proto::default_domain, <br> (boost::proto::tag::function), <br> ((<a class="link" href="op/as.html" title="Struct template as">op::as</a>)(<span class="bold"><strong>typename</strong></span>)));</pre></div>
-<div class="refsect1" lang="en">
-<a name="id4143903"></a><h2>Description</h2>
-<p>as (a.k.a., lexical_cast) static_cast_ </p>
-</div>
-</div>
-<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision"; width="100%"><tbody><tr>
-<td align="left"></td>
-<td align="right"><div class="copyright-footer">Copyright (c) 2007 Eric Niebler<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>
-</div></td>
-</tr></tbody></table>
-<hr>
-<div class="spirit-nav">
-<a accesskey="p" href="let.html"><img src="../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../xpressive/reference.html#header.boost.xpressive.regex_actions_hpp"><img src="../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="ref_id3002500.html"><img src="../../../../doc/html/images/next.png" alt="Next"></a>
-</div>
-</body></html>
=======================================
--- /trunk/doc/html/boost/xpressive/BOOST_PROTO_DEFINE_VARA_id3002548.html Wed Jun 24 00:35:24 2009
+++ /dev/null
@@ -1,50 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html><head>
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-
-<title>Function BOOST_PROTO_DEFINE_VARARG_FUNCTION_TEMPLATE</title><link rel="stylesheet" href="../../boostbook.css" type="text/css">
-<meta name="generator" content="DocBook XSL Stylesheets V1.74.3">
-<link rel="home" href="../../index.html" title="The Boost C++ Libraries BoostBook Documentation Subset"> -<link rel="up" href="../../xpressive/reference.html#header.boost.xpressive.regex_actions_hpp" title="Header &lt;boost/xpressive/regex_actions.hpp&gt;">
-<link rel="prev" href="cref_id3002524.html" title="Function template cref">
-<link rel="next" href="regex_match.html" title="Function regex_match"></head> -<body alink="#0000ff" bgcolor="white" link="#0000ff" text="black" vlink="#840084">
-<table cellpadding="2" width="100%"><tbody><tr>
-<td valign="top"><img alt="Boost C++ Libraries" src="../../../../boost.png" height="86" width="277"></td>
-<td align="center"><a href="../../../../index.html">Home</a></td>
-<td align="center"><a href="../../../../libs/libraries.htm">Libraries</a></td> -<td align="center"><a href="http://www.boost.org/users/people.html";>People</a></td> -<td align="center"><a href="http://www.boost.org/users/faq.html";>FAQ</a></td>
-<td align="center"><a href="../../../../more/index.htm">More</a></td>
-</tr></tbody></table>
-<hr>
-<div class="spirit-nav">
-<a accesskey="p" href="cref_id3002524.html"><img src="../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../xpressive/reference.html#header.boost.xpressive.regex_actions_hpp"><img src="../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="regex_match.html"><img src="../../../../doc/html/images/next.png" alt="Next"></a>
-</div>
-<div class="refentry" lang="en">
-<a name="boost.xpressive.BOOST_PROTO_DEFINE_VARA_id3002548"></a><div class="titlepage"></div>
-<div class="refnamediv">
-<h2><span class="refentrytitle">Function BOOST_PROTO_DEFINE_VARARG_FUNCTION_TEMPLATE</span></h2>
-<p>boost::xpressive::BOOST_PROTO_DEFINE_VARARG_FUNCTION_TEMPLATE</p>
-</div>
-<h2 xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision"; class="refsynopsisdiv-title">Synopsis</h2> -<div xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision"; class="refsynopsisdiv"><pre class="synopsis"><span class="emphasis"><em>// In header: &lt;<a class="link" href="../../xpressive/reference.html#header.boost.xpressive.regex_actions_hpp" title="Header &lt;boost/xpressive/regex_actions.hpp&gt;">boost/xpressive/regex_actions.hpp</a>&gt;<br><br></em></span> -<span class="type"></span> BOOST_PROTO_DEFINE_VARARG_FUNCTION_TEMPLATE(construct, <br> boost::proto::default_domain, <br> (boost::proto::tag::function), <br> ((<a class="link" href="op/construct.html" title="Struct template construct">op::construct</a>)(<span class="bold"><strong>typename</strong></span>)));</pre></div>
-<div class="refsect1" lang="en">
-<a name="id4144104"></a><h2>Description</h2>
-<p>Usage: construct&lt;Type&gt;(arg1, arg2) Usage: throw_&lt;Exception&gt;(arg1, arg2) </p>
-</div>
-</div>
-<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision"; width="100%"><tbody><tr>
-<td align="left"></td>
-<td align="right"><div class="copyright-footer">Copyright (c) 2007 Eric Niebler<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>
-</div></td>
-</tr></tbody></table>
-<hr>
-<div class="spirit-nav">
-<a accesskey="p" href="cref_id3002524.html"><img src="../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../xpressive/reference.html#header.boost.xpressive.regex_actions_hpp"><img src="../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="regex_match.html"><img src="../../../../doc/html/images/next.png" alt="Next"></a>
-</div>
-</body></html>
=======================================
--- /trunk/doc/html/boost/xpressive/const_cast_.html Wed Jun 24 00:35:24 2009
+++ /dev/null
@@ -1,45 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html><head>
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-
-<title>Global const_cast_</title><link rel="stylesheet" href="../../boostbook.css" type="text/css">
-<meta name="generator" content="DocBook XSL Stylesheets V1.74.3">
-<link rel="home" href="../../index.html" title="The Boost C++ Libraries BoostBook Documentation Subset"> -<link rel="up" href="../../xpressive/reference.html#header.boost.xpressive.regex_actions_hpp" title="Header &lt;boost/xpressive/regex_actions.hpp&gt;">
-<link rel="prev" href="dynamic_cast_.html" title="Global dynamic_cast_">
-<link rel="next" href="check.html" title="Global check"></head>
-<body alink="#0000ff" bgcolor="white" link="#0000ff" text="black" vlink="#840084">
-<table cellpadding="2" width="100%"><tbody><tr>
-<td valign="top"><img alt="Boost C++ Libraries" src="../../../../boost.png" height="86" width="277"></td>
-<td align="center"><a href="../../../../index.html">Home</a></td>
-<td align="center"><a href="../../../../libs/libraries.htm">Libraries</a></td> -<td align="center"><a href="http://www.boost.org/users/people.html";>People</a></td> -<td align="center"><a href="http://www.boost.org/users/faq.html";>FAQ</a></td>
-<td align="center"><a href="../../../../more/index.htm">More</a></td>
-</tr></tbody></table>
-<hr>
-<div class="spirit-nav">
-<a accesskey="p" href="dynamic_cast_.html"><img src="../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../xpressive/reference.html#header.boost.xpressive.regex_actions_hpp"><img src="../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="check.html"><img src="../../../../doc/html/images/next.png" alt="Next"></a>
-</div>
-<div class="refentry" lang="en">
-<a name="boost.xpressive.const_cast_"></a><div class="titlepage"></div>
-<div class="refnamediv">
-<h2><span class="refentrytitle">Global const_cast_</span></h2>
-<p>boost::xpressive::const_cast_</p>
-</div>
-<h2 xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision"; class="refsynopsisdiv-title">Synopsis</h2> -<div xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision"; class="refsynopsisdiv"><pre class="synopsis"><span class="emphasis"><em>// In header: &lt;<a class="link" href="../../xpressive/reference.html#header.boost.xpressive.regex_actions_hpp" title="Header &lt;boost/xpressive/regex_actions.hpp&gt;">boost/xpressive/regex_actions.hpp</a>&gt;<br><br></em></span>()() const_cast_;</pre></div>
-</div>
-<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision"; width="100%"><tbody><tr>
-<td align="left"></td>
-<td align="right"><div class="copyright-footer">Copyright (c) 2007 Eric Niebler<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>
-</div></td>
-</tr></tbody></table>
-<hr>
-<div class="spirit-nav">
-<a accesskey="p" href="dynamic_cast_.html"><img src="../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../xpressive/reference.html#header.boost.xpressive.regex_actions_hpp"><img src="../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="check.html"><img src="../../../../doc/html/images/next.png" alt="Next"></a>
-</div>
-</body></html>
=======================================
--- /trunk/doc/html/boost/xpressive/cref_id3002524.html Wed Jun 24 00:35:24 2009
+++ /dev/null
@@ -1,50 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html><head>
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-
-<title>Function template cref</title><link rel="stylesheet" href="../../boostbook.css" type="text/css">
-<meta name="generator" content="DocBook XSL Stylesheets V1.74.3">
-<link rel="home" href="../../index.html" title="The Boost C++ Libraries BoostBook Documentation Subset"> -<link rel="up" href="../../xpressive/reference.html#header.boost.xpressive.regex_actions_hpp" title="Header &lt;boost/xpressive/regex_actions.hpp&gt;">
-<link rel="prev" href="ref_id3002500.html" title="Function template ref">
-<link rel="next" href="BOOST_PROTO_DEFINE_VARA_id3002548.html" title="Function BOOST_PROTO_DEFINE_VARARG_FUNCTION_TEMPLATE"></head> -<body alink="#0000ff" bgcolor="white" link="#0000ff" text="black" vlink="#840084">
-<table cellpadding="2" width="100%"><tbody><tr>
-<td valign="top"><img alt="Boost C++ Libraries" src="../../../../boost.png" height="86" width="277"></td>
-<td align="center"><a href="../../../../index.html">Home</a></td>
-<td align="center"><a href="../../../../libs/libraries.htm">Libraries</a></td> -<td align="center"><a href="http://www.boost.org/users/people.html";>People</a></td> -<td align="center"><a href="http://www.boost.org/users/faq.html";>FAQ</a></td>
-<td align="center"><a href="../../../../more/index.htm">More</a></td>
-</tr></tbody></table>
-<hr>
-<div class="spirit-nav">
-<a accesskey="p" href="ref_id3002500.html"><img src="../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../xpressive/reference.html#header.boost.xpressive.regex_actions_hpp"><img src="../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="BOOST_PROTO_DEFINE_VARA_id3002548.html"><img src="../../../../doc/html/images/next.png" alt="Next"></a>
-</div>
-<div class="refentry" lang="en">
-<a name="boost.xpressive.cref_id3002524"></a><div class="titlepage"></div>
-<div class="refnamediv">
-<h2><span class="refentrytitle">Function template cref</span></h2>
-<p>boost::xpressive::cref</p>
-</div>
-<h2 xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision"; class="refsynopsisdiv-title">Synopsis</h2> -<div xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision"; class="refsynopsisdiv"><pre class="synopsis"><span class="emphasis"><em>// In header: &lt;<a class="link" href="../../xpressive/reference.html#header.boost.xpressive.regex_actions_hpp" title="Header &lt;boost/xpressive/regex_actions.hpp&gt;">boost/xpressive/regex_actions.hpp</a>&gt;<br><br></em></span> -<span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> T&gt; <span class="type"><a class="link" href="reference.html" title="Struct template reference">reference</a>&lt; T <span class="bold"><strong>const</strong></span> &gt; <span class="bold"><strong>const</strong></span></span> cref(T <span class="bold"><strong>const</strong></span> &amp; t);</pre></div>
-<div class="refsect1" lang="en">
-<a name="id4144043"></a><h2>Description</h2>
-<p>cref() </p>
-</div>
-</div>
-<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision"; width="100%"><tbody><tr>
-<td align="left"></td>
-<td align="right"><div class="copyright-footer">Copyright (c) 2007 Eric Niebler<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>
-</div></td>
-</tr></tbody></table>
-<hr>
-<div class="spirit-nav">
-<a accesskey="p" href="ref_id3002500.html"><img src="../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../xpressive/reference.html#header.boost.xpressive.regex_actions_hpp"><img src="../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="BOOST_PROTO_DEFINE_VARA_id3002548.html"><img src="../../../../doc/html/images/next.png" alt="Next"></a>
-</div>
-</body></html>
=======================================
--- /trunk/doc/html/boost/xpressive/dynamic_cast_.html Wed Jun 24 00:35:24 2009
+++ /dev/null
@@ -1,45 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html><head>
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-
-<title>Global dynamic_cast_</title><link rel="stylesheet" href="../../boostbook.css" type="text/css">
-<meta name="generator" content="DocBook XSL Stylesheets V1.74.3">
-<link rel="home" href="../../index.html" title="The Boost C++ Libraries BoostBook Documentation Subset"> -<link rel="up" href="../../xpressive/reference.html#header.boost.xpressive.regex_actions_hpp" title="Header &lt;boost/xpressive/regex_actions.hpp&gt;">
-<link rel="prev" href="static_cast_.html" title="Global static_cast_">
-<link rel="next" href="const_cast_.html" title="Global const_cast_"></head>
-<body alink="#0000ff" bgcolor="white" link="#0000ff" text="black" vlink="#840084">
-<table cellpadding="2" width="100%"><tbody><tr>
-<td valign="top"><img alt="Boost C++ Libraries" src="../../../../boost.png" height="86" width="277"></td>
-<td align="center"><a href="../../../../index.html">Home</a></td>
-<td align="center"><a href="../../../../libs/libraries.htm">Libraries</a></td> -<td align="center"><a href="http://www.boost.org/users/people.html";>People</a></td> -<td align="center"><a href="http://www.boost.org/users/faq.html";>FAQ</a></td>
-<td align="center"><a href="../../../../more/index.htm">More</a></td>
-</tr></tbody></table>
-<hr>
-<div class="spirit-nav">
-<a accesskey="p" href="static_cast_.html"><img src="../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../xpressive/reference.html#header.boost.xpressive.regex_actions_hpp"><img src="../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="const_cast_.html"><img src="../../../../doc/html/images/next.png" alt="Next"></a>
-</div>
-<div class="refentry" lang="en">
-<a name="boost.xpressive.dynamic_cast_"></a><div class="titlepage"></div>
-<div class="refnamediv">
-<h2><span class="refentrytitle">Global dynamic_cast_</span></h2>
-<p>boost::xpressive::dynamic_cast_</p>
-</div>
-<h2 xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision"; class="refsynopsisdiv-title">Synopsis</h2> -<div xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision"; class="refsynopsisdiv"><pre class="synopsis"><span class="emphasis"><em>// In header: &lt;<a class="link" href="../../xpressive/reference.html#header.boost.xpressive.regex_actions_hpp" title="Header &lt;boost/xpressive/regex_actions.hpp&gt;">boost/xpressive/regex_actions.hpp</a>&gt;<br><br></em></span>() dynamic_cast_;</pre></div>
-</div>
-<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision"; width="100%"><tbody><tr>
-<td align="left"></td>
-<td align="right"><div class="copyright-footer">Copyright (c) 2007 Eric Niebler<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>
-</div></td>
-</tr></tbody></table>
-<hr>
-<div class="spirit-nav">
-<a accesskey="p" href="static_cast_.html"><img src="../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../xpressive/reference.html#header.boost.xpressive.regex_actions_hpp"><img src="../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="const_cast_.html"><img src="../../../../doc/html/images/next.png" alt="Next"></a>
-</div>
-</body></html>
=======================================
--- /trunk/doc/html/boost/xpressive/has_fold_case_c_regex_t_id3026682.html Wed Jun 24 00:35:24 2009
+++ /dev/null
@@ -1,46 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html><head>
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-
-<title>Struct has_fold_case&lt;c_regex_traits&lt; char &gt;&gt;</title><link rel="stylesheet" href="../../boostbook.css" type="text/css">
-<meta name="generator" content="DocBook XSL Stylesheets V1.74.3">
-<link rel="home" href="../../index.html" title="The Boost C++ Libraries BoostBook Documentation Subset"> -<link rel="up" href="../../xpressive/reference.html#header.boost.xpressive.traits.c_regex_traits_hpp" title="Header &lt;boost/xpressive/traits/c_regex_traits.hpp&gt;"> -<link rel="prev" href="c_regex_traits.html" title="Struct template c_regex_traits"> -<link rel="next" href="cpp_regex_traits.html" title="Struct template cpp_regex_traits"></head> -<body alink="#0000ff" bgcolor="white" link="#0000ff" text="black" vlink="#840084">
-<table cellpadding="2" width="100%"><tbody><tr>
-<td valign="top"><img alt="Boost C++ Libraries" src="../../../../boost.png" height="86" width="277"></td>
-<td align="center"><a href="../../../../index.html">Home</a></td>
-<td align="center"><a href="../../../../libs/libraries.htm">Libraries</a></td> -<td align="center"><a href="http://www.boost.org/users/people.html";>People</a></td> -<td align="center"><a href="http://www.boost.org/users/faq.html";>FAQ</a></td>
-<td align="center"><a href="../../../../more/index.htm">More</a></td>
-</tr></tbody></table>
-<hr>
-<div class="spirit-nav">
-<a accesskey="p" href="c_regex_traits.html"><img src="../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../xpressive/reference.html#header.boost.xpressive.traits.c_regex_traits_hpp"><img src="../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="cpp_regex_traits.html"><img src="../../../../doc/html/images/next.png" alt="Next"></a>
-</div>
-<div class="refentry" lang="en">
-<a name="boost.xpressive.has_fold_case_c_regex_t_id3026682"></a><div class="titlepage"></div>
-<div class="refnamediv">
-<h2><span class="refentrytitle">Struct has_fold_case&lt;c_regex_traits&lt; char &gt;&gt;</span></h2>
-<p>boost::xpressive::has_fold_case&lt;c_regex_traits&lt; char &gt;&gt;</p>
-</div>
-<h2 xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision"; class="refsynopsisdiv-title">Synopsis</h2> -<div xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision"; class="refsynopsisdiv"><pre class="synopsis"><span class="emphasis"><em>// In header: &lt;<a class="link" href="../../xpressive/reference.html#header.boost.xpressive.traits.c_regex_traits_hpp" title="Header &lt;boost/xpressive/traits/c_regex_traits.hpp&gt;">boost/xpressive/traits/c_regex_traits.hpp</a>&gt;<br><br></em></span> -<span class="bold"><strong>struct</strong></span> <a class="link" href="has_fold_case_c_regex_t_id3026682.html" title="Struct has_fold_case&lt;c_regex_traits&lt; char &gt;&gt;">has_fold_case</a>&lt;c_regex_traits&lt; <span class="bold"><strong>char</strong></span> &gt;&gt; {<br>};</pre></div>
-</div>
-<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision"; width="100%"><tbody><tr>
-<td align="left"></td>
-<td align="right"><div class="copyright-footer">Copyright (c) 2007 Eric Niebler<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>
-</div></td>
-</tr></tbody></table>
-<hr>
-<div class="spirit-nav">
-<a accesskey="p" href="c_regex_traits.html"><img src="../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../xpressive/reference.html#header.boost.xpressive.traits.c_regex_traits_hpp"><img src="../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="cpp_regex_traits.html"><img src="../../../../doc/html/images/next.png" alt="Next"></a>
-</div>
-</body></html>
=======================================
--- /trunk/doc/html/boost/xpressive/has_fold_case_cpp_regex_id3027462.html Wed Jun 24 00:35:24 2009
+++ /dev/null
@@ -1,46 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html><head>
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-
-<title>Struct has_fold_case&lt;cpp_regex_traits&lt; char &gt;&gt;</title><link rel="stylesheet" href="../../boostbook.css" type="text/css">
-<meta name="generator" content="DocBook XSL Stylesheets V1.74.3">
-<link rel="home" href="../../index.html" title="The Boost C++ Libraries BoostBook Documentation Subset"> -<link rel="up" href="../../xpressive/reference.html#header.boost.xpressive.traits.cpp_regex_traits_hpp" title="Header &lt;boost/xpressive/traits/cpp_regex_traits.hpp&gt;"> -<link rel="prev" href="cpp_regex_traits.html" title="Struct template cpp_regex_traits"> -<link rel="next" href="null_regex_traits.html" title="Struct template null_regex_traits"></head> -<body alink="#0000ff" bgcolor="white" link="#0000ff" text="black" vlink="#840084">
-<table cellpadding="2" width="100%"><tbody><tr>
-<td valign="top"><img alt="Boost C++ Libraries" src="../../../../boost.png" height="86" width="277"></td>
-<td align="center"><a href="../../../../index.html">Home</a></td>
-<td align="center"><a href="../../../../libs/libraries.htm">Libraries</a></td> -<td align="center"><a href="http://www.boost.org/users/people.html";>People</a></td> -<td align="center"><a href="http://www.boost.org/users/faq.html";>FAQ</a></td>
-<td align="center"><a href="../../../../more/index.htm">More</a></td>
-</tr></tbody></table>
-<hr>
-<div class="spirit-nav">
-<a accesskey="p" href="cpp_regex_traits.html"><img src="../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../xpressive/reference.html#header.boost.xpressive.traits.cpp_regex_traits_hpp"><img src="../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="null_regex_traits.html"><img src="../../../../doc/html/images/next.png" alt="Next"></a>
-</div>
-<div class="refentry" lang="en">
-<a name="boost.xpressive.has_fold_case_cpp_regex_id3027462"></a><div class="titlepage"></div>
-<div class="refnamediv">
-<h2><span class="refentrytitle">Struct has_fold_case&lt;cpp_regex_traits&lt; char &gt;&gt;</span></h2> -<p>boost::xpressive::has_fold_case&lt;cpp_regex_traits&lt; char &gt;&gt;</p>
-</div>
-<h2 xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision"; class="refsynopsisdiv-title">Synopsis</h2> -<div xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision"; class="refsynopsisdiv"><pre class="synopsis"><span class="emphasis"><em>// In header: &lt;<a class="link" href="../../xpressive/reference.html#header.boost.xpressive.traits.cpp_regex_traits_hpp" title="Header &lt;boost/xpressive/traits/cpp_regex_traits.hpp&gt;">boost/xpressive/traits/cpp_regex_traits.hpp</a>&gt;<br><br></em></span> -<span class="bold"><strong>struct</strong></span> <a class="link" href="has_fold_case_cpp_regex_id3027462.html" title="Struct has_fold_case&lt;cpp_regex_traits&lt; char &gt;&gt;">has_fold_case</a>&lt;cpp_regex_traits&lt; <span class="bold"><strong>char</strong></span> &gt;&gt; {<br>};</pre></div>
-</div>
-<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision"; width="100%"><tbody><tr>
-<td align="left"></td>
-<td align="right"><div class="copyright-footer">Copyright (c) 2007 Eric Niebler<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>
-</div></td>
-</tr></tbody></table>
-<hr>
-<div class="spirit-nav">
-<a accesskey="p" href="cpp_regex_traits.html"><img src="../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../xpressive/reference.html#header.boost.xpressive.traits.cpp_regex_traits_hpp"><img src="../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="null_regex_traits.html"><img src="../../../../doc/html/images/next.png" alt="Next"></a>
-</div>
-</body></html>
=======================================
--- /trunk/doc/html/boost/xpressive/operator_id3024738.html Wed Jun 24 00:35:24 2009
+++ /dev/null
@@ -1,77 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html><head>
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-
-<title>Function template operator&lt;&lt;</title><link rel="stylesheet" href="../../boostbook.css" type="text/css">
-<meta name="generator" content="DocBook XSL Stylesheets V1.74.3">
-<link rel="home" href="../../index.html" title="The Boost C++ Libraries BoostBook Documentation Subset"> -<link rel="up" href="../../xpressive/reference.html#header.boost.xpressive.sub_match_hpp" title="Header &lt;boost/xpressive/sub_match.hpp&gt;">
-<link rel="prev" href="sub_match.html" title="Struct template sub_match">
-<link rel="next" href="c_regex_traits.html" title="Struct template c_regex_traits"></head> -<body alink="#0000ff" bgcolor="white" link="#0000ff" text="black" vlink="#840084">
-<table cellpadding="2" width="100%"><tbody><tr>
-<td valign="top"><img alt="Boost C++ Libraries" src="../../../../boost.png" height="86" width="277"></td>
-<td align="center"><a href="../../../../index.html">Home</a></td>
-<td align="center"><a href="../../../../libs/libraries.htm">Libraries</a></td> -<td align="center"><a href="http://www.boost.org/users/people.html";>People</a></td> -<td align="center"><a href="http://www.boost.org/users/faq.html";>FAQ</a></td>
-<td align="center"><a href="../../../../more/index.htm">More</a></td>
-</tr></tbody></table>
-<hr>
-<div class="spirit-nav">
-<a accesskey="p" href="sub_match.html"><img src="../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../xpressive/reference.html#header.boost.xpressive.sub_match_hpp"><img src="../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="c_regex_traits.html"><img src="../../../../doc/html/images/next.png" alt="Next"></a>
-</div>
-<div class="refentry" lang="en">
-<a name="boost.xpressive.operator_id3024738"></a><div class="titlepage"></div>
-<div class="refnamediv">
-<h2><span class="refentrytitle">Function template operator&lt;&lt;</span></h2> -<p>boost::xpressive::operator&lt;&lt; -- insertion operator for sending sub-matches to ostreams<br>boost::xpressive::operator&lt;&lt; -- 插入操作 符,将子匹配送至 ostreams </p>
-</div>
-<h2 xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision"; class="refsynopsisdiv-title">Synopsis</h2> -<div xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision"; class="refsynopsisdiv"><pre class="synopsis"><span class="emphasis"><em>// In header: &lt;<a class="link" href="../../xpressive/reference.html#header.boost.xpressive.sub_match_hpp" title="Header &lt;boost/xpressive/sub_match.hpp&gt;">boost/xpressive/sub_match.hpp</a>&gt;<br><br></em></span> -<span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> BidiIter, <span class="bold"><strong>typename</strong></span> Char, <span class="bold"><strong>typename</strong></span> Traits&gt; <br> <span class="type">std::basic_ostream&lt; Char, Traits &gt; &amp;</span> <br> <span class="bold"><strong>operator</strong></span>&lt;&lt;(std::basic_ostream&lt; Char, Traits &gt; &amp; sout, <br> <a class="link" href="sub_match.html" title="Struct template sub_match">sub_match</a>&lt; BidiIter &gt; <span class="bold"><strong>const</strong></span> &amp; sub);</pre></div>
-<div class="refsect1" lang="en">
-<a name="id4178146"></a><h2>Description</h2>
-<p>
-
-</p>
-<div class="variablelist"><table border="0">
-<col align="left" valign="top">
-<tbody>
-<tr>
-<td><p><span class="term">Parameters:</span></p></td>
-<td><div class="variablelist"><table border="0">
-<col align="left" valign="top">
-<tbody>
-<tr>
-<td><p><span class="term"><code class="computeroutput">sout</code></span></p></td>
-<td><p>output stream.<br>输出流。 </p></td>
-</tr>
-<tr>
-<td><p><span class="term"><code class="computeroutput">sub</code></span></p></td> -<td><p>sub_match object to be written to the stream.<br>被输出至流的 sub_match 对象。 </p></td>
-</tr>
-</tbody>
-</table></div></td>
-</tr>
-<tr>
-<td><p><span class="term">Returns:</span></p></td>
-<td><p>sout &lt;&lt; sub.str() </p></td>
-</tr>
-</tbody>
-</table></div>
-</div>
-</div>
-<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision"; width="100%"><tbody><tr>
-<td align="left"></td>
-<td align="right"><div class="copyright-footer">Copyright (c) 2007 Eric Niebler<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>
-</div></td>
-</tr></tbody></table>
-<hr>
-<div class="spirit-nav">
-<a accesskey="p" href="sub_match.html"><img src="../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../xpressive/reference.html#header.boost.xpressive.sub_match_hpp"><img src="../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="c_regex_traits.html"><img src="../../../../doc/html/images/next.png" alt="Next"></a>
-</div>
-</body></html>
=======================================
--- /trunk/doc/html/boost/xpressive/optional_id3023625.html Wed Jun 24 00:35:24 2009
+++ /dev/null
@@ -1,64 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html><head>
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-
-<title>Function template optional</title><link rel="stylesheet" href="../../boostbook.css" type="text/css">
-<meta name="generator" content="DocBook XSL Stylesheets V1.74.3">
-<link rel="home" href="../../index.html" title="The Boost C++ Libraries BoostBook Documentation Subset"> -<link rel="up" href="../../xpressive/reference.html#header.boost.xpressive.regex_primitives_hpp" title="Header &lt;boost/xpressive/regex_primitives.hpp&gt;">
-<link rel="prev" href="range.html" title="Function template range">
-<link rel="next" href="repeat.html" title="Function repeat"></head>
-<body alink="#0000ff" bgcolor="white" link="#0000ff" text="black" vlink="#840084">
-<table cellpadding="2" width="100%"><tbody><tr>
-<td valign="top"><img alt="Boost C++ Libraries" src="../../../../boost.png" height="86" width="277"></td>
-<td align="center"><a href="../../../../index.html">Home</a></td>
-<td align="center"><a href="../../../../libs/libraries.htm">Libraries</a></td> -<td align="center"><a href="http://www.boost.org/users/people.html";>People</a></td> -<td align="center"><a href="http://www.boost.org/users/faq.html";>FAQ</a></td>
-<td align="center"><a href="../../../../more/index.htm">More</a></td>
-</tr></tbody></table>
-<hr>
-<div class="spirit-nav">
-<a accesskey="p" href="range.html"><img src="../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../xpressive/reference.html#header.boost.xpressive.regex_primitives_hpp"><img src="../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="repeat.html"><img src="../../../../doc/html/images/next.png" alt="Next"></a>
-</div>
-<div class="refentry" lang="en">
-<a name="boost.xpressive.optional_id3023625"></a><div class="titlepage"></div>
-<div class="refnamediv">
-<h2><span class="refentrytitle">Function template optional</span></h2>
-<p>boost::xpressive::optional -- Make a sub-expression optional. Equivalent to !as_xpr(expr).<br>boost::xpressive::optional -- 将一个子表达式变为可选的。 等价于 !as_xpr(expr). </p>
-</div>
-<h2 xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision"; class="refsynopsisdiv-title">Synopsis</h2> -<div xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision"; class="refsynopsisdiv"><pre class="synopsis"><span class="emphasis"><em>// In header: &lt;<a class="link" href="../../xpressive/reference.html#header.boost.xpressive.regex_primitives_hpp" title="Header &lt;boost/xpressive/regex_primitives.hpp&gt;">boost/xpressive/regex_primitives.hpp</a>&gt;<br><br></em></span> -<span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> Expr&gt; <br> <span class="type">proto::result_of::make_expr&lt; proto::tag::logical_not, proto::default_domain, Expr <span class="bold"><strong>const</strong></span> &amp; &gt;::type <span class="bold"><strong>const</strong></span></span> <br> optional(Expr <span class="bold"><strong>const</strong></span> &amp; expr);</pre></div>
-<div class="refsect1" lang="en">
-<a name="id4154888"></a><h2>Description</h2>
-<p>
-</p>
-<div class="variablelist"><table border="0">
-<col align="left" valign="top">
-<tbody><tr>
-<td><p><span class="term">Parameters:</span></p></td>
-<td><div class="variablelist"><table border="0">
-<col align="left" valign="top">
-<tbody><tr>
-<td><p><span class="term"><code class="computeroutput">expr</code></span></p></td> -<td><p>The sub-expression to make optional.<br>要变为可选的子表达式。 </p></td>
-</tr></tbody>
-</table></div></td>
-</tr></tbody>
-</table></div>
-</div>
-</div>
-<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision"; width="100%"><tbody><tr>
-<td align="left"></td>
-<td align="right"><div class="copyright-footer">Copyright (c) 2007 Eric Niebler<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>
-</div></td>
-</tr></tbody></table>
-<hr>
-<div class="spirit-nav">
-<a accesskey="p" href="range.html"><img src="../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../xpressive/reference.html#header.boost.xpressive.regex_primitives_hpp"><img src="../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="repeat.html"><img src="../../../../doc/html/images/next.png" alt="Next"></a>
-</div>
-</body></html>
=======================================
--- /trunk/doc/html/boost/xpressive/ref_id3002500.html Wed Jun 24 00:35:24 2009
+++ /dev/null
@@ -1,50 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html><head>
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-
-<title>Function template ref</title><link rel="stylesheet" href="../../boostbook.css" type="text/css">
-<meta name="generator" content="DocBook XSL Stylesheets V1.74.3">
-<link rel="home" href="../../index.html" title="The Boost C++ Libraries BoostBook Documentation Subset"> -<link rel="up" href="../../xpressive/reference.html#header.boost.xpressive.regex_actions_hpp" title="Header &lt;boost/xpressive/regex_actions.hpp&gt;"> -<link rel="prev" href="BOOST_PROTO_DEFINE_FUNC_id3002459.html" title="Function BOOST_PROTO_DEFINE_FUNCTION_TEMPLATE"> -<link rel="next" href="cref_id3002524.html" title="Function template cref"></head> -<body alink="#0000ff" bgcolor="white" link="#0000ff" text="black" vlink="#840084">
-<table cellpadding="2" width="100%"><tbody><tr>
-<td valign="top"><img alt="Boost C++ Libraries" src="../../../../boost.png" height="86" width="277"></td>
-<td align="center"><a href="../../../../index.html">Home</a></td>
-<td align="center"><a href="../../../../libs/libraries.htm">Libraries</a></td> -<td align="center"><a href="http://www.boost.org/users/people.html";>People</a></td> -<td align="center"><a href="http://www.boost.org/users/faq.html";>FAQ</a></td>
-<td align="center"><a href="../../../../more/index.htm">More</a></td>
-</tr></tbody></table>
-<hr>
-<div class="spirit-nav">
-<a accesskey="p" href="BOOST_PROTO_DEFINE_FUNC_id3002459.html"><img src="../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../xpressive/reference.html#header.boost.xpressive.regex_actions_hpp"><img src="../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="cref_id3002524.html"><img src="../../../../doc/html/images/next.png" alt="Next"></a>
-</div>
-<div class="refentry" lang="en">
-<a name="boost.xpressive.ref_id3002500"></a><div class="titlepage"></div>
-<div class="refnamediv">
-<h2><span class="refentrytitle">Function template ref</span></h2>
-<p>boost::xpressive::ref</p>
-</div>
-<h2 xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision"; class="refsynopsisdiv-title">Synopsis</h2> -<div xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision"; class="refsynopsisdiv"><pre class="synopsis"><span class="emphasis"><em>// In header: &lt;<a class="link" href="../../xpressive/reference.html#header.boost.xpressive.regex_actions_hpp" title="Header &lt;boost/xpressive/regex_actions.hpp&gt;">boost/xpressive/regex_actions.hpp</a>&gt;<br><br></em></span> -<span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> T&gt; <span class="type"><a class="link" href="reference.html" title="Struct template reference">reference</a>&lt; T &gt; <span class="bold"><strong>const</strong></span></span> ref(T &amp; t);</pre></div>
-<div class="refsect1" lang="en">
-<a name="id4143968"></a><h2>Description</h2>
-<p>ref() </p>
-</div>
-</div>
-<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision"; width="100%"><tbody><tr>
-<td align="left"></td>
-<td align="right"><div class="copyright-footer">Copyright (c) 2007 Eric Niebler<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>
-</div></td>
-</tr></tbody></table>
-<hr>
-<div class="spirit-nav">
-<a accesskey="p" href="BOOST_PROTO_DEFINE_FUNC_id3002459.html"><img src="../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../xpressive/reference.html#header.boost.xpressive.regex_actions_hpp"><img src="../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="cref_id3002524.html"><img src="../../../../doc/html/images/next.png" alt="Next"></a>
-</div>
-</body></html>
=======================================
--- /trunk/doc/html/boost/xpressive/static_cast_.html Wed Jun 24 00:35:24 2009
+++ /dev/null
@@ -1,45 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html><head>
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-
-<title>Global static_cast_</title><link rel="stylesheet" href="../../boostbook.css" type="text/css">
-<meta name="generator" content="DocBook XSL Stylesheets V1.74.3">
-<link rel="home" href="../../index.html" title="The Boost C++ Libraries BoostBook Documentation Subset"> -<link rel="up" href="../../xpressive/reference.html#header.boost.xpressive.regex_actions_hpp" title="Header &lt;boost/xpressive/regex_actions.hpp&gt;">
-<link rel="prev" href="make_pair.html" title="Global make_pair">
-<link rel="next" href="dynamic_cast_.html" title="Global dynamic_cast_"></head> -<body alink="#0000ff" bgcolor="white" link="#0000ff" text="black" vlink="#840084">
-<table cellpadding="2" width="100%"><tbody><tr>
-<td valign="top"><img alt="Boost C++ Libraries" src="../../../../boost.png" height="86" width="277"></td>
-<td align="center"><a href="../../../../index.html">Home</a></td>
-<td align="center"><a href="../../../../libs/libraries.htm">Libraries</a></td> -<td align="center"><a href="http://www.boost.org/users/people.html";>People</a></td> -<td align="center"><a href="http://www.boost.org/users/faq.html";>FAQ</a></td>
-<td align="center"><a href="../../../../more/index.htm">More</a></td>
-</tr></tbody></table>
-<hr>
-<div class="spirit-nav">
-<a accesskey="p" href="make_pair.html"><img src="../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../xpressive/reference.html#header.boost.xpressive.regex_actions_hpp"><img src="../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="dynamic_cast_.html"><img src="../../../../doc/html/images/next.png" alt="Next"></a>
-</div>
-<div class="refentry" lang="en">
-<a name="boost.xpressive.static_cast_"></a><div class="titlepage"></div>
-<div class="refnamediv">
-<h2><span class="refentrytitle">Global static_cast_</span></h2>
-<p>boost::xpressive::static_cast_</p>
-</div>
-<h2 xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision"; class="refsynopsisdiv-title">Synopsis</h2> -<div xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision"; class="refsynopsisdiv"><pre class="synopsis"><span class="emphasis"><em>// In header: &lt;<a class="link" href="../../xpressive/reference.html#header.boost.xpressive.regex_actions_hpp" title="Header &lt;boost/xpressive/regex_actions.hpp&gt;">boost/xpressive/regex_actions.hpp</a>&gt;<br><br></em></span> static_cast_;</pre></div>
-</div>
-<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision"; width="100%"><tbody><tr>
-<td align="left"></td>
-<td align="right"><div class="copyright-footer">Copyright (c) 2007 Eric Niebler<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>
-</div></td>
-</tr></tbody></table>
-<hr>
-<div class="spirit-nav">
-<a accesskey="p" href="make_pair.html"><img src="../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../xpressive/reference.html#header.boost.xpressive.regex_actions_hpp"><img src="../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="dynamic_cast_.html"><img src="../../../../doc/html/images/next.png" alt="Next"></a>
-</div>
-</body></html>
=======================================
--- /trunk/doc/html/boost/xpressive/swap_id2999531.html Wed Jun 24 01:00:19 2009
+++ /dev/null
@@ -1,86 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html><head>
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-
-<title>Function template swap</title><link rel="stylesheet" href="../../boostbook.css" type="text/css">
-<meta name="generator" content="DocBook XSL Stylesheets V1.74.3">
-<link rel="home" href="../../index.html" title="The Boost C++ Libraries BoostBook Documentation Subset"> -<link rel="up" href="../../xpressive/reference.html#header.boost.xpressive.basic_regex_hpp" title="Header &lt;boost/xpressive/basic_regex.hpp&gt;"> -<link rel="prev" href="basic_regex.html" title="Struct template basic_regex"> -<link rel="next" href="match_results.html" title="Struct template match_results"></head> -<body alink="#0000ff" bgcolor="white" link="#0000ff" text="black" vlink="#840084">
-<table cellpadding="2" width="100%"><tbody><tr>
-<td valign="top"><img alt="Boost C++ Libraries" src="../../../../boost.png" height="86" width="277"></td>
-<td align="center"><a href="../../../../index.html">Home</a></td>
-<td align="center"><a href="../../../../libs/libraries.htm">Libraries</a></td> -<td align="center"><a href="http://www.boost.org/users/people.html";>People</a></td> -<td align="center"><a href="http://www.boost.org/users/faq.html";>FAQ</a></td>
-<td align="center"><a href="../../../../more/index.htm">More</a></td>
-</tr></tbody></table>
-<hr>
-<div class="spirit-nav">
-<a accesskey="p" href="basic_regex.html"><img src="../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../xpressive/reference.html#header.boost.xpressive.basic_regex_hpp"><img src="../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="match_results.html"><img src="../../../../doc/html/images/next.png" alt="Next"></a>
-</div>
-<div class="refentry" lang="en">
-<a name="boost.xpressive.swap_id2999531"></a><div class="titlepage"></div>
-<div class="refnamediv">
-<h2><span class="refentrytitle">Function template swap</span></h2>
-<p>boost::xpressive::swap -- Swaps the contents of two basic_regex objects.<br>boost::xpressive::swap -- 交换两个 basic_regex 对象的内容。 </p>
-</div>
-<h2 xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision"; class="refsynopsisdiv-title">Synopsis</h2> -<div xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision"; class="refsynopsisdiv"><pre class="synopsis"><span class="emphasis"><em>// In header: &lt;<a class="link" href="../../xpressive/reference.html#header.boost.xpressive.basic_regex_hpp" title="Header &lt;boost/xpressive/basic_regex.hpp&gt;">boost/xpressive/basic_regex.hpp</a>&gt;<br><br></em></span> -<span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> BidiIter&gt; <br> <span class="type"><span class="bold"><strong>void</strong></span></span> swap(<a class="link" href="basic_regex.html" title="Struct template basic_regex">basic_regex</a>&lt; BidiIter &gt; &amp; left, <a class="link" href="basic_regex.html" title="Struct template basic_regex">basic_regex</a>&lt; BidiIter &gt; &amp; right);</pre></div>
-<div class="refsect1" lang="en">
-<a name="id4112842"></a><h2>Description</h2>
-<p>
-
-
-</p>
-<div class="variablelist"><table border="0">
-<col align="left" valign="top">
-<tbody>
-<tr>
-<td><p><span class="term">Parameters:</span></p></td>
-<td><div class="variablelist"><table border="0">
-<col align="left" valign="top">
-<tbody>
-<tr>
-<td><p><span class="term"><code class="computeroutput">left</code></span></p></td>
-<td><p>The first basic_regex object.<br>第一个 basic_regex 对象。 </p></td>
-</tr>
-<tr>
-<td><p><span class="term"><code class="computeroutput">right</code></span></p></td> -<td><p>The second basic_regex object.<br>第二个 basic_regex 对象。 </p></td>
-</tr>
-</tbody>
-</table></div></td>
-</tr>
-<tr>
-<td><p><span class="term">Throws:</span></p></td>
-<td>Will not throw.<br>无抛出。</td>
-</tr>
-<tr>
-<td><p><span class="term">Notes:</span></p></td>
-<td><p>This is a shallow swap that does not do reference tracking. If
-you embed a basic_regex object by reference in another regular
-expression and then swap its contents with another basic_regex object,
-the change will not be visible to the enclosing regular expression. It
-is done this way to ensure that swap() cannot throw.<br>这是一个浅交换,不 进行引用跟踪。如果你以引用方式将一个 basic_regex 对象嵌入到另一个正则表达式 中,然后将它与另一个 basic_regex 对象交换内容,此变化对于内部的正则表达式是 不可见的。这样做的原因是为了保证 swap() 不会抛出。 </p></td>
-</tr>
-</tbody>
-</table></div>
-</div>
-</div>
-<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision"; width="100%"><tbody><tr>
-<td align="left"></td>
-<td align="right"><div class="copyright-footer">Copyright (c) 2007 Eric Niebler<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>
-</div></td>
-</tr></tbody></table>
-<hr>
-<div class="spirit-nav">
-<a accesskey="p" href="basic_regex.html"><img src="../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../xpressive/reference.html#header.boost.xpressive.basic_regex_hpp"><img src="../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="match_results.html"><img src="../../../../doc/html/images/next.png" alt="Next"></a>
-</div>
-</body></html>
=======================================
--- /trunk/doc/html/boost/unordered_map.html    Mon Nov 10 22:58:23 2008
+++ /trunk/doc/html/boost/unordered_map.html    Wed Sep  2 20:31:58 2009
@@ -292,7 +292,9 @@
 <td>
<p>Can invalidate iterators, but only if the insert causes the load factor to be greater to or equal to the maximum load factor.<br>可能使迭代器失 效,但仅当插入操作导致负载因子大于或等于最大负载因子时。</p> <p>Pointers and references to elements are never invalidated.<br>指向元素的 指针和引用不会失效。</p> -<p>Only available on compilers with support for variadic template arguments and rvalue references.<br>仅在支持可变参数模板和右值引用的编译器上 可用。</p>
+<p>If the compiler doesn't support variadic template arguments or rvalue
+references, this is emulated for up to 10 arguments, with no support for rvalue +references or move semantics.<br>如果编译器不支持可变数量模板参数或右值引 用,则模拟至最多10个参数,且不支持右值引用或转移语义。</p>
 </td>
 </tr>
 </tbody>
@@ -323,7 +325,9 @@
supports is to point to an existing element with the same key.<br>标准对于 提示的意义相当含糊。不过使用它的唯一可行的方法,也是 Boost.Unordered 支持的 唯一方法是,指向具有相同值的元素。 </p> <p>Can invalidate iterators, but only if the insert causes the load factor to be greater to or equal to the maximum load factor.<br>可能使迭代器失 效,但仅当插入操作导致负载因子大于或等于最大负载因子时。</p> <p>Pointers and references to elements are never invalidated.<br>指向元素的 指针和引用不会失效。</p> -<p>Only available on compilers with support for variadic template arguments and rvalue references.<br>仅在支持可变参数模板和右值引用的编译器上 可用。</p>
+<p>If the compiler doesn't support variadic template arguments or rvalue
+references, this is emulated for up to 10 arguments, with no support for rvalue +references or move semantics.<br>如果编译器不支持可变数量模板参数或右值引 用,则模拟至最多10个参数,且不支持右值引用或转移语义。</p>
 </td>
 </tr>
 </tbody>
=======================================
--- /trunk/doc/html/boost/unordered_multimap.html       Mon Nov 10 22:58:23 2008
+++ /trunk/doc/html/boost/unordered_multimap.html       Wed Sep  2 20:31:58 2009
@@ -287,7 +287,9 @@
 <td>
<p>Can invalidate iterators, but only if the insert causes the load factor to be greater to or equal to the maximum load factor.<br>可能使迭代器失 效,但仅当插入操作导致负载因子大于或等于最大负载因子时。</p> <p>Pointers and references to elements are never invalidated.<br>指向元素的 指针和引用不会失效。</p> -<p>Only available on compilers with support for variadic template arguments and rvalue references.<br>仅在支持可变参数模板和右值引用的编译器上 可用。</p>
+<p>If the compiler doesn't support variadic template arguments or rvalue
+references, this is emulated for up to 10 arguments, with no support for rvalue +references or move semantics.<br>如果编译器不支持可变数量模板参数或右值引 用,则模拟至最多10个参数,且不支持右值引用或转移语义。</p>
 </td>
 </tr>
 </tbody>
@@ -316,7 +318,9 @@
supports is to point to an existing element with the same key.<br>标准对于 提示的意义相当含糊。不过使用它的唯一可行的方法,也是 Boost.Unordered 支持的 唯一方法是,指向具有相同值的元素。 </p> <p>Can invalidate iterators, but only if the insert causes the load factor to be greater to or equal to the maximum load factor.<br>可能使迭代器失 效,但仅当插入操作导致负载因子大于或等于最大负载因子时。</p> <p>Pointers and references to elements are never invalidated.<br>指向元素的 指针和引用不会失效。</p> -<p>Only available on compilers with support for variadic template arguments and rvalue references.<br>仅在支持可变参数模板和右值引用的编译器上 可用。</p>
+<p>If the compiler doesn't support variadic template arguments or rvalue
+references, this is emulated for up to 10 arguments, with no support for rvalue +references or move semantics.<br>如果编译器不支持可变数量模板参数或右值引 用,则模拟至最多10个参数,且不支持右值引用或转移语义。</p>
 </td>
 </tr>
 </tbody>
=======================================
--- /trunk/doc/html/boost/unordered_multiset.html       Mon Nov 10 22:58:23 2008
+++ /trunk/doc/html/boost/unordered_multiset.html       Wed Sep  2 20:31:58 2009
@@ -288,7 +288,9 @@
 <td>
<p>Can invalidate iterators, but only if the insert causes the load factor to be greater to or equal to the maximum load factor.<br>可能使迭代器失 效,但仅当插入操作导致负载因子大于或等于最大负载因子时。</p> <p>Pointers and references to elements are never invalidated.<br>指向元素的 指针和引用不会失效。</p> -<p>Only available on compilers with support for variadic template arguments and rvalue references.<br>仅在支持可变参数模板和右值引用的编译器上 可用。</p>
+<p>If the compiler doesn't support variadic template arguments or rvalue
+references, this is emulated for up to 10 arguments, with no support for rvalue +references or move semantics.<br>如果编译器不支持可变数量模板参数或右值引 用,则模拟至最多10个参数,且不支持右值引用或转移语义。</p>
 </td>
 </tr>
 </tbody>
@@ -320,7 +322,9 @@
supports is to point to an existing element with the same value.</p>标准对 于提示的意义相当含糊。不过使用它的唯一可行的方法,也是 Boost.Unordered 支持 的唯一方法是,指向具有相同值的元素。<br> <p>Can invalidate iterators, but only if the insert causes the load factor to be greater to or equal to the maximum load factor.<br>可能使迭代器失 效,但仅当插入操作导致负载因子大于或等于最大负载因子时。</p> <p>Pointers and references to elements are never invalidated.<br>指向元素的 指针和引用不会失效。</p> -<p>Only available on compilers with support for variadic template arguments and rvalue references.<br>仅在支持可变参数模板和右值引用的编译器上 可用。</p>
+<p>If the compiler doesn't support variadic template arguments or rvalue
+references, this is emulated for up to 10 arguments, with no support for rvalue +references or move semantics.<br>如果编译器不支持可变数量模板参数或右值引 用,则模拟至最多10个参数,且不支持右值引用或转移语义。</p>
 </td>
 </tr>
 </tbody>
=======================================
--- /trunk/doc/html/boost/unordered_set.html    Mon Nov 10 22:58:23 2008
+++ /trunk/doc/html/boost/unordered_set.html    Wed Sep  2 20:31:58 2009
@@ -280,7 +280,9 @@
 <td>
<p>Can invalidate iterators, but only if the insert causes the load factor to be greater to or equal to the maximum load factor.<br>可能使迭代器失 效,但仅当插入操作导致负载因子大于或等于最大负载因子时。</p> <p>Pointers and references to elements are never invalidated.<br>指向元素的 指针和引用不会失效。</p> -<p>Only available on compilers with support for variadic template arguments and rvalue references.<br>仅在支持可变参数模板和右值引用的编译器上 可用。</p>
+<p>If the compiler doesn't support variadic template arguments or rvalue
+references, this is emulated for up to 10 arguments, with no support for rvalue +references or move semantics.<br>如果编译器不支持可变数量模板参数或右值引 用,则模拟至最多10个参数,且不支持右值引用或转移语义。</p>
 </td>
 </tr>
 </tbody>
@@ -311,7 +313,9 @@
supports is to point to an existing element with the same value.</p>标准对 于提示的意义相当含糊。不过使用它的唯一可行的方法,也是 Boost.Unordered 支持 的唯一方法是,指向具有相同值的元素。 <p>Can invalidate iterators, but only if the insert causes the load factor to be greater to or equal to the maximum load factor.<br>可能使迭代器失 效,但仅当插入操作导致负载因子大于或等于最大负载因子时。</p> <p>Pointers and references to elements are never invalidated.<br>指向元素的 指针和引用不会失效。</p> -<p>Only available on compilers with support for variadic template arguments and rvalue references.<br>仅在支持可变参数模板和右值引用的编译器上 可用。</p>
+<p>If the compiler doesn't support variadic template arguments or rvalue
+references, this is emulated for up to 10 arguments, with no support for rvalue +references or move semantics.<br>如果编译器不支持可变数量模板参数或右值引 用,则模拟至最多10个参数,且不支持右值引用或转移语义。</p>
 </td>
 </tr>
 </tbody>
=======================================
--- /trunk/doc/html/boost_units/Examples.html   Tue Sep 16 01:18:46 2008
+++ /trunk/doc/html/boost_units/Examples.html   Wed Sep  2 20:31:58 2009
@@ -1,29 +1,28 @@
-<html>
-<head>
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html><head>
 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
-<title>Examples</title>
-<link rel="stylesheet" href="../boostbook.css" type="text/css">
+
+<title>Examples</title><link rel="stylesheet" href="../boostbook.css" type="text/css">
 <meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
<link rel="start" href="../index.html" title="The Boost C++ Libraries BoostBook Documentation Subset"> -<link rel="up" href="../boost_units.html" title="Chapter 22. Boost.Units 1.0.0"> +<link rel="up" href="../boost_units.html" title="Chapter&nbsp;22.&nbsp;Boost.Units 1.0.0">
 <link rel="prev" href="Quantities.html" title="Quantities">
-<link rel="next" href="Utilities.html" title="Utilities">
-</head>
-<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
-<table cellpadding="2" width="100%"><tr>
-<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../boost.png"></td>
+<link rel="next" href="Utilities.html" title="Utilities"></head>
+<body alink="#0000ff" bgcolor="white" link="#0000ff" text="black" vlink="#840084">
+<table cellpadding="2" width="100%"><tbody><tr>
+<td valign="top"><img alt="Boost C++ Libraries" src="../../../boost.png" height="86" width="277"></td>
 <td align="center"><a href="../../../index.html">Home</a></td>
 <td align="center"><a href="../../../libs/libraries.htm">Libraries</a></td>
<td align="center"><a href="http://www.boost.org/users/people.html";>People</a></td> <td align="center"><a href="http://www.boost.org/users/faq.html";>FAQ</a></td>
 <td align="center"><a href="../../../more/index.htm">More</a></td>
-</tr></table>
+</tr></tbody></table>
 <hr>
 <div class="spirit-nav">
<a accesskey="p" href="Quantities.html"><img src="../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../boost_units.html"><img src="../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="Utilities.html"><img src="../../../doc/html/images/next.png" alt="Next"></a>
 </div>
 <div class="section" lang="en">
-<div class="titlepage"><div><div><h2 class="title" style="clear: both">
+<div class="titlepage"><div><div><h2 class="title" style="clear: both;">
<a name="boost_units.Examples"></a><a class="link" href="Examples.html" title="Examples"> Examples</a>
 </h2></div></div></div>
 <div class="toc"><dl>
@@ -66,9 +65,11 @@
it is possible to perform compile time arithmetic according to the dimensional analysis rules described <a class="link" href="Dimensional_Analysis.html" title="Dimensional Analysis">above</a>
         to produce new composite dimensions :
-        <br />
- 在复合量纲(composite dimension)(定义于<code class="computeroutput"><a class="link" href="Reference.html#header.boost.units.dimension.hpp" title="Header &lt;boost/units/dimension.hpp&gt;">boost/units/dimension.hpp</a></code>文件 )基础上通过MPL元函数(metafunction)和模板特化(template specialization)按照之 前介绍的量纲分析法则(dimensional analysis rules)执行编译时运算(perform compile time arithmetic)得到新的复合量纲(composite dimension):
-      </p>
+        <br>
+ 在复合量纲(composite dimension)(定义于<code class="computeroutput"><a class="link" href="Reference.html#header.boost.units.dimension.hpp" title="Header &lt;boost/units/dimension.hpp&gt;">boost/units/dimension.hpp</a></code>文
+件)基础上通过MPL元函数(metafunction)和模板特化(template
+specialization)按照之前介绍的量纲分析法则(dimensional analysis rules)执行编 译时运算(perform
+compile time arithmetic)得到新的复合量纲(composite dimension): </p>
 <p>
         </p>
 <p>
@@ -87,7 +88,7 @@
       </p>
 <p>
outputting (with symbol demangling, implemented in <code class="computeroutput">boost/units/detail/utility.hpp</code>)
-        <br />
+        <br>
通过在<code class="computeroutput">boost/units/detail/utility.hpp</code>中实现的符号重整 (symbol demangling)后输出(下面的数字11、21应该是1、2,原文应该错了,译者注)
       </p>
 <p>
@@ -119,7 +120,7 @@
This example demonstrates the use of the simple but functional unit system implemented in <code class="computeroutput">libs/units/example/test_system.hpp</code>
         :
-        <br />
+        <br>
这个例子展示了一个简单但实用的单位系统,在<code class="computeroutput">libs/units/example/test_system.hpp</code>文件中实现:
       </p>
 <p>
@@ -129,8 +130,7 @@
 </p>
<pre class="programlisting"><span class="keyword">const</span> <span class="identifier">length</span> <span class="identifier">L</span><span class="special">;</span> <span class="keyword">const</span> <span class="identifier">mass</span> <span class="identifier">M</span><span class="special">;</span> -<span class="comment">// needs to be namespace-qualified because of global time definition -</span><span class="keyword">const</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">units</span><span class="special">::</span><span class="identifier">test</span><span class="special">::</span><span class="identifier">time</span> <span class="identifier">T</span><span class="special">;</span> +<span class="comment">// needs to be namespace-qualified because of global time definition<br></span><span class="keyword">const</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">units</span><span class="special">::</span><span class="identifier">test</span><span class="special">::</span><span class="identifier">time</span> <span class="identifier">T</span><span class="special">;</span> <span class="keyword">const</span> <span class="identifier">energy</span> <span class="identifier">E</span><span class="special">;</span>
 </pre>
 <p>
@@ -140,7 +140,7 @@
 <p>
We can perform various algebraic operations on these units, resulting in
         the following output:
-        <br />
+        <br>
         我们可以在这些单位上执行很多代数运算,输出如下:
       </p>
 <p>
@@ -151,8 +151,7 @@
<pre class="programlisting"><span class="identifier">L</span> <span class="special">=</span> <span class="identifier">m</span> <span class="identifier">L</span><span class="special">+</span><span class="identifier">L</span> <span class="special">=</span> <span class="identifier">m</span> <span class="identifier">L</span><span class="special">-</span><span class="identifier">L</span> <span class="special">=</span> <span class="identifier">m</span> -<span class="identifier">L</span><span class="special">/</span><span class="identifier">L</span> <span class="special">=</span> <span class="identifier">dimensionless</span> -<span class="identifier">meter</span><span class="special">*</span><span class="identifier">meter</span> <span class="special">=</span> <span class="identifier">m</span><span class="special">^</span><span class="number">2</span> +<span class="identifier">L</span><span class="special">/</span><span class="identifier">L</span> <span class="special">=</span> <span class="identifier">dimensionless</span> <br><span class="identifier">meter</span><span class="special">*</span><span class="identifier">meter</span> <span class="special">=</span> <span class="identifier">m</span><span class="special">^</span><span class="number">2</span> <span class="identifier">M</span><span class="special">*(</span><span class="identifier">L</span><span class="special">/</span><span class="identifier">T</span><span class="special">)*(</span><span class="identifier">L</span><span class="special">/</span><span class="identifier">T</span><span class="special">)</span> <span class="special">=</span> <span class="identifier">m</span><span class="special">^</span><span class="number">2</span> <span class="identifier">kg</span> <span class="identifier">s</span><span class="special">^-</span><span class="number">2</span> <span class="identifier">M</span><span class="special">*(</span><span class="identifier">L</span><span class="special">/</span><span class="identifier">T</span><span class="special">)^</span><span class="number">2</span> <span class="special">=</span> <span class="identifier">m</span><span class="special">^</span><span class="number">2</span> <span class="identifier">kg</span> <span class="identifier">s</span><span class="special">^-</span><span class="number">2</span> <span class="identifier">L</span><span class="special">^</span><span class="number">3</span> <span class="special">=</span> <span class="identifier">m</span><span class="special">^</span><span class="number">3</span>
@@ -174,7 +173,7 @@
       </p>
 <p>
This example demonstrates how to use quantities of our toy unit system :
-        <br />
+        <br>
这个例子展示了如何在我们的单位系统(unit system)上使用数量 (quantity):
       </p>
 <p>
@@ -182,16 +181,14 @@
 <p>

 </p>
-<pre class="programlisting"><span class="identifier">quantity</span><span class="special">&lt;</span><span class="identifier">length</span><span class="special">&gt;</span> <span class="identifier">L</span> <span class="special">=</span> <span class="number">2.0</span><span class="special">*</span><span class="identifier">meters</span><span class="special">;</span> <span class="comment">// quantity of length -</span><span class="identifier">quantity</span><span class="special">&lt;</span><span class="identifier">energy</span><span class="special">&gt;</span> <span class="identifier">E</span> <span class="special">=</span> <span class="identifier">kilograms</span><span class="special">*</span><span class="identifier">pow</span><span class="special">&lt;</span><span class="number">2</span><span class="special">&gt;(</span><span class="identifier">L</span><span class="special">/</span><span class="identifier">seconds</span><span class="special">);</span> <span class="comment">// quantity of energy
-</span></pre>
+<pre class="programlisting"><span class="identifier">quantity</span><span class="special">&lt;</span><span class="identifier">length</span><span class="special">&gt;</span> <span class="identifier">L</span> <span class="special">=</span> <span class="number">2.0</span><span class="special">*</span><span class="identifier">meters</span><span class="special">;</span> <span class="comment">// quantity of length<br></span><span class="identifier">quantity</span><span class="special">&lt;</span><span class="identifier">energy</span><span class="special">&gt;</span> <span class="identifier">E</span> <span class="special">=</span> <span class="identifier">kilograms</span><span class="special">*</span><span class="identifier">pow</span><span class="special">&lt;</span><span class="number">2</span><span class="special">&gt;(</span><span class="identifier">L</span><span class="special">/</span><span class="identifier">seconds</span><span class="special">);</span> <span class="comment">// quantity of energy<br></span></pre>
 <p>
         </p>
 <p>
       </p>
 <p>
         giving us the basic quantity functionality :
-        <br />
+        <br>
         会有最基本的数量(quantity)的功能:
       </p>
 <p>
@@ -203,8 +200,7 @@
<span class="identifier">L</span><span class="special">+</span><span class="identifier">L</span> <span class="special">=</span> <span class="number">4</span> <span class="identifier">m</span> <span class="identifier">L</span><span class="special">-</span><span class="identifier">L</span> <span class="special">=</span> <span class="number">0</span> <span class="identifier">m</span> <span class="identifier">L</span><span class="special">*</span><span class="identifier">L</span> <span class="special">=</span> <span class="number">4</span> <span class="identifier">m</span><span class="special">^</span><span class="number">2</span> -<span class="identifier">L</span><span class="special">/</span><span class="identifier">L</span> <span class="special">=</span> <span class="number">1</span> <span class="identifier">dimensionless</span> -<span class="identifier">L</span><span class="special">*</span><span class="identifier">meter</span> <span class="special">=</span> <span class="number">2</span> <span class="identifier">m</span><span class="special">^</span><span class="number">2</span> +<span class="identifier">L</span><span class="special">/</span><span class="identifier">L</span> <span class="special">=</span> <span class="number">1</span> <span class="identifier">dimensionless</span> <br><span class="identifier">L</span><span class="special">*</span><span class="identifier">meter</span> <span class="special">=</span> <span class="number">2</span> <span class="identifier">m</span><span class="special">^</span><span class="number">2</span> <span class="identifier">kilograms</span><span class="special">*(</span><span class="identifier">L</span><span class="special">/</span><span class="identifier">seconds</span><span class="special">)*(</span><span class="identifier">L</span><span class="special">/</span><span class="identifier">seconds</span><span class="special">)</span> <span class="special">=</span> <span class="number">4</span> <span class="identifier">m</span><span class="special">^</span><span class="number">2</span> <span class="identifier">kg</span> <span class="identifier">s</span><span class="special">^-</span><span class="number">2</span> <span class="identifier">kilograms</span><span class="special">*(</span><span class="identifier">L</span><span class="special">/</span><span class="identifier">seconds</span><span class="special">)^</span><span class="number">2</span> <span class="special">=</span> <span class="number">4</span> <span class="identifier">m</span><span class="special">^</span><span class="number">2</span> <span class="identifier">kg</span> <span class="identifier">s</span><span class="special">^-</span><span class="number">2</span> <span class="identifier">L</span><span class="special">^</span><span class="number">3</span> <span class="special">=</span> <span class="number">8</span> <span class="identifier">m</span><span class="special">^</span><span class="number">3</span>
@@ -220,7 +216,7 @@
As a further demonstration of the flexibility of the system, we replace the <code class="computeroutput"><span class="keyword">double</span></code> value type with a <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">complex</span><span class="special">&lt;</span><span class="keyword">double</span><span class="special">&gt;</span></code> value type (ignoring the question of
         the meaningfulness of complex lengths and energies) :
-        <br />
+        <br>
为了进一步展示系统的适应性(flexibility),我们把数值类型(value type)从<code class="computeroutput"><span class="keyword">double</span></code>换成<code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">complex</span><span class="special">&lt;</span><span class="keyword">double</span><span class="special">&gt;</span></code>(请无视 长度和能量的复数含义):
       </p>
 <p>
@@ -239,7 +235,7 @@
and find that the code functions exactly as expected with no additional work, delegating operations to <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">complex</span><span class="special">&lt;</span><span class="keyword">double</span><span class="special">&gt;</span></code> and performing the appropriate dimensional
         analysis :
-        <br />
+        <br>
这些代码只是把操作符转发给<code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">complex</span><span class="special">&lt;</span><span class="keyword">double</span><span class="special">&gt;</span></code>类并执 行了适当的量纲分析:
       </p>
 <p>
@@ -251,8 +247,7 @@
<span class="identifier">L</span><span class="special">+</span><span class="identifier">L</span> <span class="special">=</span> <span class="special">(</span><span class="number">6</span><span class="special">,</span><span class="number">8</span><span class="special">)</span> <span class="identifier">m</span> <span class="identifier">L</span><span class="special">-</span><span class="identifier">L</span> <span class="special">=</span> <span class="special">(</span><span class="number">0</span><span class="special">,</span><span class="number">0</span><span class="special">)</span> <span class="identifier">m</span> <span class="identifier">L</span><span class="special">*</span><span class="identifier">L</span> <span class="special">=</span> <span class="special">(-</span><span class="number">7</span><span class="special">,</span><span class="number">24</span><span class="special">)</span> <span class="identifier">m</span><span class="special">^</span><span class="number">2</span> -<span class="identifier">L</span><span class="special">/</span><span class="identifier">L</span> <span class="special">=</span> <span class="special">(</span><span class="number">1</span><span class="special">,</span><span class="number">0</span><span class="special">)</span> <span class="identifier">dimensionless</span> -<span class="identifier">L</span><span class="special">*</span><span class="identifier">meter</span> <span class="special">=</span> <span class="special">(</span><span class="number">3</span><span class="special">,</span><span class="number">4</span><span class="special">)</span> <span class="identifier">m</span><span class="special">^</span><span class="number">2</span> +<span class="identifier">L</span><span class="special">/</span><span class="identifier">L</span> <span class="special">=</span> <span class="special">(</span><span class="number">1</span><span class="special">,</span><span class="number">0</span><span class="special">)</span> <span class="identifier">dimensionless</span> <br><span class="identifier">L</span><span class="special">*</span><span class="identifier">meter</span> <span class="special">=</span> <span class="special">(</span><span class="number">3</span><span class="special">,</span><span class="number">4</span><span class="special">)</span> <span class="identifier">m</span><span class="special">^</span><span class="number">2</span> <span class="identifier">kilograms</span><span class="special">*(</span><span class="identifier">L</span><span class="special">/</span><span class="identifier">seconds</span><span class="special">)*(</span><span class="identifier">L</span><span class="special">/</span><span class="identifier">seconds</span><span class="special">)</span> <span class="special">=</span> <span class="special">(-</span><span class="number">7</span><span class="special">,</span><span class="number">24</span><span class="special">)</span> <span class="identifier">m</span><span class="special">^</span><span class="number">2</span> <span class="identifier">kg</span> <span class="identifier">s</span><span class="special">^-</span><span class="number">2</span> <span class="identifier">kilograms</span><span class="special">*(</span><span class="identifier">L</span><span class="special">/</span><span class="identifier">seconds</span><span class="special">)^</span><span class="number">2</span> <span class="special">=</span> <span class="special">(-</span><span class="number">7</span><span class="special">,</span><span class="number">24</span><span class="special">)</span> <span class="identifier">m</span><span class="special">^</span><span class="number">2</span> <span class="identifier">kg</span> <span class="identifier">s</span><span class="special">^-</span><span class="number">2</span> <span class="identifier">L</span><span class="special">^</span><span class="number">3</span> <span class="special">=</span> <span class="special">(-</span><span class="number">117</span><span class="special">,</span><span class="number">44</span><span class="special">)</span> <span class="identifier">m</span><span class="special">^</span><span class="number">3</span>
@@ -279,12 +274,12 @@
This example provides a fairly extensive set of tests covering most of the <span class="underline"><code class="computeroutput"><a class="link" href="../boost/units/quantity.html" title="Class template quantity">quantity</a></code></span> functionality. It uses the SI unit system defined in <code class="computeroutput"><a class="link" href="Reference.html#header.boost.units.systems.si.hpp" title="Header &lt;boost/units/systems/si.hpp&gt;">boost/units/systems/si.hpp</a></code>.
-        <br />
+        <br>
这个例子为<span class="underline"><code class="computeroutput"><a class="link" href="../boost/units/quantity.html" title="Class template quantity">quantity</a></code></span>的功能提供了一个比较全面的测试,使用定义 在<code class="computeroutput"><a class="link" href="Reference.html#header.boost.units.systems.si.hpp" title="Header &lt;boost/units/systems/si.hpp&gt;">boost/units/systems/si.hpp</a></code>文 件中的SI单位系统。
       </p>
 <p>
         If we define a few units and associated quantities,
-        <br />
+        <br>
         我们定义几个单位(unit)和数量(quantity),
       </p>
 <p>
@@ -292,18 +287,15 @@
 <p>

 </p>
-<pre class="programlisting"><span class="comment">/// scalar
-</span><span class="keyword">const</span> <span class="keyword">double</span> <span class="identifier">s1</span> <span class="special">=</span> <span class="number">2</span><span class="special">;</span> +<pre class="programlisting"><span class="comment">/// scalar<br></span><span class="keyword">const</span> <span class="keyword">double</span> <span class="identifier">s1</span> <span class="special">=</span> <span class="number">2</span><span class="special">;</span>

<span class="keyword">const</span> <span class="keyword">long</span> <span class="identifier">x1</span> <span class="special">=</span> <span class="number">2</span><span class="special">;</span> <span class="keyword">const</span> <span class="identifier">static_rational</span><span class="special">&lt;</span><span class="number">4</span><span class="special">,</span><span class="number">3</span><span class="special">&gt;</span> <span class="identifier">x2</span><span class="special">;</span>

-<span class="comment">/// define some units
-</span><span class="identifier">force</span> <span class="identifier">u1</span> <span class="special">=</span> <span class="identifier">newton</span><span class="special">;</span> +<span class="comment">/// define some units<br></span><span class="identifier">force</span> <span class="identifier">u1</span> <span class="special">=</span> <span class="identifier">newton</span><span class="special">;</span> <span class="identifier">energy</span> <span class="identifier">u2</span> <span class="special">=</span> <span class="identifier">joule</span><span class="special">;</span>

-<span class="comment">/// define some quantities
-</span><span class="identifier">quantity</span><span class="special">&lt;</span><span class="identifier">force</span><span class="special">&gt;</span> <span class="identifier">q1</span><span class="special">(</span><span class="number">1.0</span><span class="special">*</span><span class="identifier">u1</span><span class="special">);</span> +<span class="comment">/// define some quantities<br></span><span class="identifier">quantity</span><span class="special">&lt;</span><span class="identifier">force</span><span class="special">&gt;</span> <span class="identifier">q1</span><span class="special">(</span><span class="number">1.0</span><span class="special">*</span><span class="identifier">u1</span><span class="special">);</span> <span class="identifier">quantity</span><span class="special">&lt;</span><span class="identifier">energy</span><span class="special">&gt;</span> <span class="identifier">q2</span><span class="special">(</span><span class="number">2.0</span><span class="special">*</span><span class="identifier">u2</span><span class="special">);</span>
 </pre>
 <p>
@@ -312,7 +304,7 @@
       </p>
 <p>
the various algebraic operations between scalars, units, and quantities give
-        <br />
+        <br>
         这几个标量、单位和数量之间的代数运算结果是
       </p>
 <p>
@@ -334,7 +326,7 @@
       </p>
 <p>
         Scalar/unit operations :
-        <br />
+        <br>
         标量和单位之间的运算:
       </p>
 <p>
@@ -353,7 +345,7 @@
       </p>
 <p>
         Unit/unit operations and integral/rational powers of units :
-        <br />
+        <br>
         单位和单位之间的运算以及单位的整数/有理数乘方:
       </p>
 <p>
@@ -378,7 +370,7 @@
       </p>
 <p>
         Scalar/quantity operations :
-        <br />
+        <br>
         标量和数量之间的运算:
       </p>
 <p>
@@ -397,7 +389,7 @@
       </p>
 <p>
         Unit/quantity operations :
-        <br />
+        <br>
         单位和数量之间的运算:
       </p>
 <p>
@@ -416,7 +408,7 @@
       </p>
 <p>
Quantity/quantity operations and integral/rational powers of quantities :
-        <br />
+        <br>
         数量和数量之间的运算以及数量的整数/有理数次乘方:
       </p>
 <p>
@@ -443,7 +435,7 @@
       </p>
 <p>
         Logical comparison operators are also defined between quantities :
-        <br />
+        <br>
         数量之间同样定义了逻辑比较运算:
       </p>
 <p>
@@ -451,8 +443,7 @@
 <p>

 </p>
-<pre class="programlisting"><span class="comment">/// check comparison tests -</span><span class="identifier">quantity</span><span class="special">&lt;</span><span class="identifier">length</span><span class="special">&gt;</span> <span class="identifier">l1</span><span class="special">(</span><span class="number">1.0</span><span class="special">*</span><span class="identifier">meter</span><span class="special">),</span> +<pre class="programlisting"><span class="comment">/// check comparison tests<br></span><span class="identifier">quantity</span><span class="special">&lt;</span><span class="identifier">length</span><span class="special">&gt;</span> <span class="identifier">l1</span><span class="special">(</span><span class="number">1.0</span><span class="special">*</span><span class="identifier">meter</span><span class="special">),</span> <span class="identifier">l2</span><span class="special">(</span><span class="number">2.0</span><span class="special">*</span><span class="identifier">meters</span><span class="special">);</span>
 </pre>
 <p>
@@ -481,7 +472,7 @@
 <p>
Implicit conversion is allowed between dimensionless quantities and their
         corresponding value types :
-        <br />
+        <br>
         无量纲数量和其数值类型之间可以隐式转换:
       </p>
 <p>
@@ -489,8 +480,7 @@
 <p>

 </p>
-<pre class="programlisting"><span class="comment">/// check implicit unit conversion from dimensionless to value_type -</span><span class="keyword">const</span> <span class="keyword">double</span> <span class="identifier">dimless</span> <span class="special">=</span> <span class="special">(</span><span class="identifier">q1</span><span class="special">/</span><span class="identifier">q1</span><span class="special">);</span> +<pre class="programlisting"><span class="comment">/// check implicit unit conversion from dimensionless to value_type <br></span><span class="keyword">const</span> <span class="keyword">double</span> <span class="identifier">dimless</span> <span class="special">=</span> <span class="special">(</span><span class="identifier">q1</span><span class="special">/</span><span class="identifier">q1</span><span class="special">);</span>
 </pre>
 <p>
         </p>
@@ -500,7 +490,7 @@
A generic function for computing mechanical work can be defined that takes force and distance arguments in an arbitrary unit system and returns energy
         in the same system:
-        <br />
+        <br>
下面这个计算机械功的泛型函数接受任意单位系统的力和距离作为参数并返 回相同系统的功:
       </p>
 <p>
@@ -508,10 +498,8 @@
 <p>

 </p>
-<pre class="programlisting"><span class="comment">/// the physical definition of work - computed for an arbitrary unit system -</span><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">class</span> <span class="identifier">System</span><span class="special">,</span><span class="keyword">class</span> <span class="identifier">Y</span><span class="special">&gt;</span> -<span class="identifier">quantity</span><span class="special">&lt;</span><span class="identifier">unit</span><span class="special">&lt;</span><span class="identifier">energy_dimension</span><span class="special">,</span><span class="identifier">System</span><span class="special">&gt;,</span><span class="identifier">Y</span><span class="special">&gt;</span> -<span class="identifier">work</span><span class="special">(</span><span class="identifier">quantity</span><span class="special">&lt;</span><span class="identifier">unit</span><span class="special">&lt;</span><span class="identifier">force_dimension</span><span class="special">,</span><span class="identifier">System</span><span class="special">&gt;,</span><span class="identifier">Y</span><span class="special">&gt;</span> <span class="identifier">F</span><span class="special">,</span> +<pre class="programlisting"><span class="comment">/// the physical definition of work - computed for an arbitrary unit system <br></span><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">class</span> <span class="identifier">System</span><span class="special">,</span><span class="keyword">class</span> <span class="identifier">Y</span><span class="special">&gt;</span> +<span class="identifier">quantity</span><span class="special">&lt;</span><span class="identifier">unit</span><span class="special">&lt;</span><span class="identifier">energy_dimension</span><span class="special">,</span><span class="identifier">System</span><span class="special">&gt;,</span><span class="identifier">Y</span><span class="special">&gt;</span> <br><span class="identifier">work</span><span class="special">(</span><span class="identifier">quantity</span><span class="special">&lt;</span><span class="identifier">unit</span><span class="special">&lt;</span><span class="identifier">force_dimension</span><span class="special">,</span><span class="identifier">System</span><span class="special">&gt;,</span><span class="identifier">Y</span><span class="special">&gt;</span> <span class="identifier">F</span><span class="special">,</span> <span class="identifier">quantity</span><span class="special">&lt;</span><span class="identifier">unit</span><span class="special">&lt;</span><span class="identifier">length_dimension</span><span class="special">,</span><span class="identifier">System</span><span class="special">&gt;,</span><span class="identifier">Y</span><span class="special">&gt;</span> <span class="identifier">dx</span><span class="special">)</span>
 <span class="special">{</span>
<span class="keyword">return</span> <span class="identifier">F</span><span class="special">*</span><span class="identifier">dx</span><span class="special">;</span>
@@ -526,8 +514,7 @@
 <p>

 </p>
-<pre class="programlisting"><span class="comment">/// test calcuation of work -</span><span class="identifier">quantity</span><span class="special">&lt;</span><span class="identifier">force</span><span class="special">&gt;</span> <span class="identifier">F</span><span class="special">(</span><span class="number">1.0</span><span class="special">*</span><span class="identifier">newton</span><span class="special">);</span> +<pre class="programlisting"><span class="comment">/// test calcuation of work<br></span><span class="identifier">quantity</span><span class="special">&lt;</span><span class="identifier">force</span><span class="special">&gt;</span> <span class="identifier">F</span><span class="special">(</span><span class="number">1.0</span><span class="special">*</span><span class="identifier">newton</span><span class="special">);</span> <span class="identifier">quantity</span><span class="special">&lt;</span><span class="identifier">length</span><span class="special">&gt;</span> <span class="identifier">dx</span><span class="special">(</span><span class="number">1.0</span><span class="special">*</span><span class="identifier">meter</span><span class="special">);</span> <span class="identifier">quantity</span><span class="special">&lt;</span><span class="identifier">energy</span><span class="special">&gt;</span> <span class="identifier">E</span><span class="special">(</span><span class="identifier">work</span><span class="special">(</span><span class="identifier">F</span><span class="special">,</span><span class="identifier">dx</span><span class="special">));</span>
 </pre>
@@ -537,7 +524,7 @@
       </p>
 <p>
         which functions as expected for SI quantities :
-        <br />
+        <br>
         对于SI数量函数工作正确:
       </p>
 <p>
@@ -555,7 +542,7 @@
       </p>
 <p>
         The ideal gas law can also be implemented in SI units :
-        <br />
+        <br>
         理想气体定律同样可以用SI单位实现:
       </p>
 <p>
@@ -563,22 +550,7 @@
 <p>

 </p>
-<pre class="programlisting"><span class="comment">/// the ideal gas law in si units -</span><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">class</span> <span class="identifier">Y</span><span class="special">&gt;</span> -<span class="identifier">quantity</span><span class="special">&lt;</span><span class="identifier">si</span><span class="special">::</span><span class="identifier">amount</span><span class="special">,</span><span class="identifier">Y</span><span class="special">&gt;</span> -<span class="identifier">idealGasLaw</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">quantity</span><span class="special">&lt;</span><span class="identifier">si</span><span class="special">::</span><span class="identifier">pressure</span><span class="special">,</span><span class="identifier">Y</span><span class="special">&gt;&amp;</span> <span class="identifier">P</span><span class="special">,</span> - <span class="keyword">const</span> <span class="identifier">quantity</span><span class="special">&lt;</span><span class="identifier">si</span><span class="special">::</span><span class="identifier">volume</span><span class="special">,</span><span class="identifier">Y</span><span class="special">&gt;&amp;</span> <span class="identifier">V</span><span class="special">,</span> - <span class="keyword">const</span> <span class="identifier">quantity</span><span class="special">&lt;</span><span class="identifier">si</span><span class="special">::</span><span class="identifier">temperature</span><span class="special">,</span><span class="identifier">Y</span><span class="special">&gt;&amp;</span> <span class="identifier">T</span><span class="special">)</span>
-<span class="special">{</span>
- <span class="keyword">using</span> <span class="keyword">namespace</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">units</span><span class="special">::</span><span class="identifier">si</span><span class="special">;</span>
-
- <span class="preprocessor">#if</span> <span class="identifier">BOOST_UNITS_HAS_TYPEOF</span> - <span class="keyword">using</span> <span class="keyword">namespace</span> <span class="identifier">constants</span><span class="special">::</span><span class="identifier">codata</span><span class="special">;</span> - <span class="keyword">return</span> <span class="special">(</span><span class="identifier">P</span><span class="special">*</span><span class="identifier">V</span><span class="special">/(</span><span class="identifier">R</span><span class="special">*</span><span class="identifier">T</span><span class="special">));</span>
-    <span class="preprocessor">#else</span>
- <span class="keyword">return</span> <span class="identifier">P</span><span class="special">*</span><span class="identifier">V</span><span class="special">/(</span><span class="number">8.314472</span><span class="special">*(</span><span class="identifier">joules</span><span class="special">/(</span><span class="identifier">kelvin</span><span class="special">*</span><span class="identifier">mole</span><span class="special">))*</span><span class="identifier">T</span><span class="special">);</span> - <span class="preprocessor">#endif</span> <span class="comment">// BOOST_UNITS_HAS_TYPEOF
-</span><span class="special">}</span>
+<pre class="programlisting"><span class="comment">/// the ideal gas law in si units<br></span><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">class</span> <span class="identifier">Y</span><span class="special">&gt;</span><br><span class="identifier">quantity</span><span class="special">&lt;</span><span class="identifier">si</span><span class="special">::</span><span class="identifier">amount</span><span class="special">,</span><span class="identifier">Y</span><span class="special">&gt;</span> <br><span class="identifier">idealGasLaw</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">quantity</span><span class="special">&lt;</span><span class="identifier">si</span><span class="special">::</span><span class="identifier">pressure</span><span class="special">,</span><span class="identifier">Y</span><span class="special">&gt;&amp;</span> <span class="identifier">P</span><span class="special">,</span><br> <span class="keyword">const</span> <span class="identifier">quantity</span><span class="special">&lt;</span><span class="identifier">si</span><span class="special">::</span><span class="identifier">volume</span><span class="special">,</span><span class="identifier">Y</span><span class="special">&gt;&amp;</span> <span class="identifier">V</span><span class="special">,</span><br> <span class="keyword">const</span> <span class="identifier">quantity</span><span class="special">&lt;</span><span class="identifier">si</span><span class="special">::</span><span class="identifier">temperature</span><span class="special">,</span><span class="identifier">Y</span><span class="special">&gt;&amp;</span> <span class="identifier">T</span><span class="special">)</span><br><span class="special">{</span><br> <span class="keyword">using</span> <span class="keyword">namespace</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">units</span><span class="special">::</span><span class="identifier">si</span><span class="special">;</span><br> <br> <span class="keyword">using</span> <span class="keyword">namespace</span> <span class="identifier">constants</span><span class="special">::</span><span class="identifier">codata</span><span class="special">;</span><br> <span class="keyword">return</span> <span class="special">(</span><span class="identifier">P</span><span class="special">*</span><span class="identifier">V</span><span class="special">/(</span><span class="identifier">R</span><span class="special">*</span><span class="identifier">T</span><span class="special">));</span><br><span class="special">}</span><span class="special"></span>
 </pre>
 <p>
         </p>
@@ -589,8 +561,7 @@
 <p>

 </p>
-<pre class="programlisting"><span class="comment">/// test ideal gas law
-</span><span class="identifier">quantity</span><span class="special">&lt;</span><span class="identifier">temperature</span><span class="special">&gt;</span> <span class="identifier">T</span> <span class="special">=</span> <span class="special">(</span><span class="number">273.</span><span class="special">+</span><span class="number">37.</span><span class="special">)*</span><span class="identifier">kelvin</span><span class="special">;</span> +<pre class="programlisting"><span class="comment">/// test ideal gas law<br></span><span class="identifier">quantity</span><span class="special">&lt;</span><span class="identifier">temperature</span><span class="special">&gt;</span> <span class="identifier">T</span> <span class="special">=</span> <span class="special">(</span><span class="number">273.</span><span class="special">+</span><span class="number">37.</span><span class="special">)*</span><span class="identifier">kelvin</span><span class="special">;</span> <span class="identifier">quantity</span><span class="special">&lt;</span><span class="identifier">pressure</span><span class="special">&gt;</span> <span class="identifier">P</span> <span class="special">=</span> <span class="number">1.01325e5</span><span class="special">*</span><span class="identifier">pascals</span><span class="special">;</span> <span class="identifier">quantity</span><span class="special">&lt;</span><span class="identifier">length</span><span class="special">&gt;</span> <span class="identifier">r</span> <span class="special">=</span> <span class="number">0.5e-6</span><span class="special">*</span><span class="identifier">meters</span><span class="special">;</span> <span class="identifier">quantity</span><span class="special">&lt;</span><span class="identifier">volume</span><span class="special">&gt;</span> <span class="identifier">V</span> <span class="special">=</span> <span class="special">(</span><span class="number">4.0</span><span class="special">/</span><span class="number">3.0</span><span class="special">)*</span><span class="number">3.141592</span><span class="special">*</span><span class="identifier">pow</span><span class="special">&lt;</span><span class="number">3</span><span class="special">&gt;(</span><span class="identifier">r</span><span class="special">);</span>
@@ -626,14 +597,14 @@
These behave as one expects, with trigonometric functions taking an angular quantity and returning a dimensionless quantity, while the inverse trigonometric functions take a dimensionless quantity and return an angular quantity :
-        <br />
+        <br>
         三角函数和反三角函数也能在任意提供角度基础量纲的单位系统上实现。
对于弧度,这些函数定义在<code class="computeroutput"><a class="link" href="Reference.html#header.boost.units.cmath.hpp" title="Header &lt;boost/units/cmath.hpp&gt;">boost/units/cmath.hpp</a></code>。 这些函数就像你想的那样,三角函数以弧度数量为参数返回一个无量纲数 量,反三角函数以无量纲数量为参数返回一个弧度数量:
       </p>
 <p>
         Defining a few angular quantities,
-        <br />
+        <br>
         定义几个弧度数量,
       </p>
 <p>
@@ -641,8 +612,7 @@
 <p>

 </p>
-<pre class="programlisting"><span class="comment">/// test trig stuff
-</span><span class="identifier">quantity</span><span class="special">&lt;</span><span class="identifier">plane_angle</span><span class="special">&gt;</span> <span class="identifier">theta</span> <span class="special">=</span> <span class="number">0.375</span><span class="special">*</span><span class="identifier">radians</span><span class="special">;</span> +<pre class="programlisting"><span class="comment">/// test trig stuff<br></span><span class="identifier">quantity</span><span class="special">&lt;</span><span class="identifier">plane_angle</span><span class="special">&gt;</span> <span class="identifier">theta</span> <span class="special">=</span> <span class="number">0.375</span><span class="special">*</span><span class="identifier">radians</span><span class="special">;</span> <span class="identifier">quantity</span><span class="special">&lt;</span><span class="identifier">dimensionless</span><span class="special">&gt;</span> <span class="identifier">sin_theta</span> <span class="special">=</span> <span class="identifier">sin</span><span class="special">(</span><span class="identifier">theta</span><span class="special">);</span> <span class="identifier">quantity</span><span class="special">&lt;</span><span class="identifier">plane_angle</span><span class="special">&gt;</span> <span class="identifier">thetap</span> <span class="special">=</span> <span class="identifier">asin</span><span class="special">(</span><span class="identifier">sin_theta</span><span class="special">);</span>
 </pre>
@@ -669,7 +639,7 @@
 <p>
Dealing with complex quantities is trivial. Here is the calculation of complex
         impedance :
-        <br />
+        <br>
         复数的数量也是一样的。下面就是复数电阻的计算:
       </p>
 <p>
@@ -719,7 +689,7 @@
class that models a numerical measurement with an associated measurement error and the appropriate algebra and demonstrates its use as a quantity value type; the full code is found in <a href="../../../libs/units/example/measurement.hpp" target="_top">measurement.hpp</a>.
-          <br />
+          <br>
用户自定义的数值类型如果支持这些算术运算,就可以自动地支持数量的 运算。 数量的数值类型默认支持的运算有:取正、取负、加、减、乘、除、等 于、不等于、小于、小于等于、大于和大于等于。 支持有理数次乘方开方可以通过添加<span class="underline"><code class="computeroutput"><a class="link" href="../boost/units/power_typeof_helper.html" title="Struct template power_typeof_helper">power_typeofo_helper</a></code></span>和<span class="underline"><code class="computeroutput"><a class="link" href="../boost/units/root_typeof_helper.html" title="Struct template root_typeof_helper">root_typeof_helper</a></code></span>类的特化(原文为 overload,但应该是特化,而不是重载,译者注)来实现。
@@ -764,7 +734,7 @@
 <p>
If we implement the overloaded helper classes for rational powers and roots then we can also compute rational powers of measurement quantities :
-          <br />
+          <br>
如果我们特化(overload,译者注)了乘方和开方的helper classes,就可 以计算measurement数量的乘方了:
         </p>
 <p>
@@ -791,7 +761,7 @@
 <p>
This example demonstrates the various allowed conversions between SI and
         CGS units. Defining some quantities
-        <br />
+        <br>
         这个例子展示了SI和CGS单位之间的转换。先定义几个数量
       </p>
 <p>
@@ -812,7 +782,7 @@
from double to int is treated as an explicit conversion because there is no way to emulate the exact behavior of the built-in conversion. Explicit
         constructors allow conversions for two cases:
-        <br />
+        <br>
举例说明了当数值类型之间可以隐式转换的时候,数量才可以隐式转换。 N.B. 从double到int的转换是显式转换,因为没有办法模仿内置转换的准确行为。 (???)
         显式构造可以支持以下两种转换:
@@ -821,7 +791,7 @@
explicit casting of a <span class="underline"><code class="computeroutput"><a class="link" href="../boost/units/quantity.html" title="Class template quantity">quantity</a></code></span> to a different <code class="computeroutput"><span class="identifier">value_type</span></code>
           :
-          <br />
+          <br>
显式将一个<span class="underline"><code class="computeroutput"><a class="link" href="../boost/units/quantity.html" title="Class template quantity">quantity</a></code></span>转换到不同的<code class="computeroutput"><span class="identifier">数值类型(value type)</span></code>:
         </li></ul></div>
 <p>
@@ -838,7 +808,7 @@
 <div class="itemizedlist"><ul type="disc"><li>
and explicit casting of a <span class="underline"><code class="computeroutput"><a class="link" href="../boost/units/quantity.html" title="Class template quantity">quantity</a></code></span>
           to a different unit :
-          <br />
+          <br>
显式将一个<span class="underline"><code class="computeroutput"><a class="link" href="../boost/units/quantity.html" title="Class template quantity">quantity</a></code></span>转换到不同的单位:
         </li></ul></div>
 <p>
@@ -874,7 +844,7 @@
       </p>
 <p>
         A few more explicit unit system conversions :
-        <br />
+        <br>
         几个单位系统之间的显式转换:
       </p>
 <p>
@@ -882,16 +852,13 @@
 <p>

 </p>
-<pre class="programlisting"><span class="identifier">quantity</span><span class="special">&lt;</span><span class="identifier">si</span><span class="special">::</span><span class="identifier">volume</span><span class="special">&gt;</span> <span class="identifier">vs</span><span class="special">(</span><span class="number">1.0</span><span class="special">*</span><span class="identifier">pow</span><span class="special">&lt;</span><span class="number">3</span><span class="special">&gt;(</span><span class="identifier">si</span><span class="special">::</span><span class="identifier">meter</span><span class="special">));</span> -<span class="identifier">quantity</span><span class="special">&lt;</span><span class="identifier">cgs</span><span class="special">::</span><span class="identifier">volume</span><span class="special">&gt;</span> <span class="identifier">vc</span><span class="special">(</span><span class="identifier">vs</span><span class="special">);</span> +<pre class="programlisting"><span class="identifier">quantity</span><span class="special">&lt;</span><span class="identifier">si</span><span class="special">::</span><span class="identifier">volume</span><span class="special">&gt;</span> <span class="identifier">vs</span><span class="special">(</span><span class="number">1.0</span><span class="special">*</span><span class="identifier">pow</span><span class="special">&lt;</span><span class="number">3</span><span class="special">&gt;(</span><span class="identifier">si</span><span class="special">::</span><span class="identifier">meter</span><span class="special">));</span> <br><span class="identifier">quantity</span><span class="special">&lt;</span><span class="identifier">cgs</span><span class="special">::</span><span class="identifier">volume</span><span class="special">&gt;</span> <span class="identifier">vc</span><span class="special">(</span><span class="identifier">vs</span><span class="special">);</span> <span class="identifier">quantity</span><span class="special">&lt;</span><span class="identifier">si</span><span class="special">::</span><span class="identifier">volume</span><span class="special">&gt;</span> <span class="identifier">vs2</span><span class="special">(</span><span class="identifier">vc</span><span class="special">);</span>

-<span class="identifier">quantity</span><span class="special">&lt;</span><span class="identifier">si</span><span class="special">::</span><span class="identifier">energy</span><span class="special">&gt;</span> <span class="identifier">es</span><span class="special">(</span><span class="number">1.0</span><span class="special">*</span><span class="identifier">si</span><span class="special">::</span><span class="identifier">joule</span><span class="special">);</span> -<span class="identifier">quantity</span><span class="special">&lt;</span><span class="identifier">cgs</span><span class="special">::</span><span class="identifier">energy</span><span class="special">&gt;</span> <span class="identifier">ec</span><span class="special">(</span><span class="identifier">es</span><span class="special">);</span> +<span class="identifier">quantity</span><span class="special">&lt;</span><span class="identifier">si</span><span class="special">::</span><span class="identifier">energy</span><span class="special">&gt;</span> <span class="identifier">es</span><span class="special">(</span><span class="number">1.0</span><span class="special">*</span><span class="identifier">si</span><span class="special">::</span><span class="identifier">joule</span><span class="special">);</span> <br><span class="identifier">quantity</span><span class="special">&lt;</span><span class="identifier">cgs</span><span class="special">::</span><span class="identifier">energy</span><span class="special">&gt;</span> <span class="identifier">ec</span><span class="special">(</span><span class="identifier">es</span><span class="special">);</span> <span class="identifier">quantity</span><span class="special">&lt;</span><span class="identifier">si</span><span class="special">::</span><span class="identifier">energy</span><span class="special">&gt;</span> <span class="identifier">es2</span><span class="special">(</span><span class="identifier">ec</span><span class="special">);</span>

-<span class="identifier">quantity</span><span class="special">&lt;</span><span class="identifier">si</span><span class="special">::</span><span class="identifier">velocity</span><span class="special">&gt;</span> <span class="identifier">v1</span> <span class="special">=</span> <span class="number">2.0</span><span class="special">*</span><span class="identifier">si</span><span class="special">::</span><span class="identifier">meters</span><span class="special">/</span><span class="identifier">si</span><span class="special">::</span><span class="identifier">second</span><span class="special">,</span> - <span class="identifier">v2</span><span class="special">(</span><span class="number">2.0</span><span class="special">*</span><span class="identifier">cgs</span><span class="special">::</span><span class="identifier">centimeters</span><span class="special">/</span><span class="identifier">cgs</span><span class="special">::</span><span class="identifier">second</span><span class="special">);</span> +<span class="identifier">quantity</span><span class="special">&lt;</span><span class="identifier">si</span><span class="special">::</span><span class="identifier">velocity</span><span class="special">&gt;</span> <span class="identifier">v1</span> <span class="special">=</span> <span class="number">2.0</span><span class="special">*</span><span class="identifier">si</span><span class="special">::</span><span class="identifier">meters</span><span class="special">/</span><span class="identifier">si</span><span class="special">::</span><span class="identifier">second</span><span class="special">,</span> <br> <span class="identifier">v2</span><span class="special">(</span><span class="number">2.0</span><span class="special">*</span><span class="identifier">cgs</span><span class="special">::</span><span class="identifier">centimeters</span><span class="special">/</span><span class="identifier">cgs</span><span class="special">::</span><span class="identifier">second</span><span class="special">);</span>
 </pre>
 <p>
         </p>
@@ -935,7 +902,7 @@
<span class="underline"><code class="computeroutput"><a class="link" href="../boost/units/power_typeof_helper.html" title="Struct template power_typeof_helper">power_typeof_helper</a></code></span> and <span class="underline"><code class="computeroutput"><a class="link" href="../boost/units/root_typeof_helper.html" title="Struct template root_typeof_helper">root_typeof_helper</a></code></span>
         for powers and roots, respectively:
-        <br />
+        <br>
这个例子展示了使用<code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">math</span><span class="special">::</span><span class="identifier">quaternion</span></code>(四元数)作为<span class="underline"><code class="computeroutput"><a class="link" href="../boost/units/quantity.html" title="Class template quantity">quantity</a></code></span>的数值类型(value type) and the converse(???)。 对于第一种情况,我们首先为乘方和开方定义<span class="underline"><code class="computeroutput"><a class="link" href="../boost/units/power_typeof_helper.html" title="Struct template power_typeof_helper">power_typeof_helper</a></code></span>和<span class="underline"><code class="computeroutput"><a class="link" href="../boost/units/root_typeof_helper.html" title="Struct template root_typeof_helper">root_typeof_helper</a></code></span>的特化
       </p>
@@ -944,20 +911,12 @@
 <p>

 </p>
-<pre class="programlisting"><span class="comment">/// specialize power typeof helper -</span><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">class</span> <span class="identifier">Y</span><span class="special">,</span><span class="keyword">long</span> <span class="identifier">N</span><span class="special">,</span><span class="keyword">long</span> <span class="identifier">D</span><span class="special">&gt;</span> -<span class="keyword">struct</span> <span class="identifier">power_typeof_helper</span><span class="special">&lt;</span><span class="identifier">boost</span><span class="special">::</span><span class="identifier">math</span><span class="special">::</span><span class="identifier">quaternion</span><span class="special">&lt;</span><span class="identifier">Y</span><span class="special">&gt;,</span><span class="identifier">static_rational</span><span class="special">&lt;</span><span class="identifier">N</span><span class="special">,</span><span class="identifier">D</span><span class="special">&gt;</span> <span class="special">&gt;</span>
-<span class="special">{</span>
- <span class="comment">// boost::math::quaternion only supports integer powers -</span> <span class="identifier">BOOST_STATIC_ASSERT</span><span class="special">(</span><span class="identifier">D</span><span class="special">==</span><span class="number">1</span><span class="special">);</span> +<pre class="programlisting"><span class="comment">/// specialize power typeof helper<br></span><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">class</span> <span class="identifier">Y</span><span class="special">,</span><span class="keyword">long</span> <span class="identifier">N</span><span class="special">,</span><span class="keyword">long</span> <span class="identifier">D</span><span class="special">&gt;</span> <br><span class="keyword">struct</span> <span class="identifier">power_typeof_helper</span><span class="special">&lt;</span><span class="identifier">boost</span><span class="special">::</span><span class="identifier">math</span><span class="special">::</span><span class="identifier">quaternion</span><span class="special">&lt;</span><span class="identifier">Y</span><span class="special">&gt;,</span><span class="identifier">static_rational</span><span class="special">&lt;</span><span class="identifier">N</span><span class="special">,</span><span class="identifier">D</span><span class="special">&gt;</span> <span class="special">&gt;</span> +<span class="special">{</span> <br> <span class="comment">// boost::math::quaternion only supports integer powers<br></span> <span class="identifier">BOOST_STATIC_ASSERT</span><span class="special">(</span><span class="identifier">D</span><span class="special">==</span><span class="number">1</span><span class="special">);</span>

<span class="keyword">typedef</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">math</span><span class="special">::</span><span class="identifier">quaternion</span><span class="special">&lt;</span> <span class="keyword">typename</span> <span class="identifier">power_typeof_helper</span><span class="special">&lt;</span><span class="identifier">Y</span><span class="special">,</span><span class="identifier">static_rational</span><span class="special">&lt;</span><span class="identifier">N</span><span class="special">,</span><span class="identifier">D</span><span class="special">&gt;</span> <span class="special">&gt;::</span><span class="identifier">type</span> - <span class="special">&gt;</span> <span class="identifier">type</span><span class="special">;</span>
-
- <span class="keyword">static</span> <span class="identifier">type</span> <span class="identifier">value</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">math</span><span class="special">::</span><span class="identifier">quaternion</span><span class="special">&lt;</span><span class="identifier">Y</span><span class="special">&gt;&amp;</span> <span class="identifier">x</span><span class="special">)</span>
-    <span class="special">{</span>
- <span class="keyword">return</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">math</span><span class="special">::</span><span class="identifier">pow</span><span class="special">(</span><span class="identifier">x</span><span class="special">,</span><span class="keyword">static_cast</span><span class="special">&lt;</span><span class="keyword">int</span><span class="special">&gt;(</span><span class="identifier">N</span><span class="special">));</span> + <span class="special">&gt;</span> <span class="identifier">type</span><span class="special">;</span> <br> <br> <span class="keyword">static</span> <span class="identifier">type</span> <span class="identifier">value</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">math</span><span class="special">::</span><span class="identifier">quaternion</span><span class="special">&lt;</span><span class="identifier">Y</span><span class="special">&gt;&amp;</span> <span class="identifier">x</span><span class="special">)</span> <br> <span class="special">{</span> <br> <span class="keyword">return</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">math</span><span class="special">::</span><span class="identifier">pow</span><span class="special">(</span><span class="identifier">x</span><span class="special">,</span><span class="keyword">static_cast</span><span class="special">&lt;</span><span class="keyword">int</span><span class="special">&gt;(</span><span class="identifier">N</span><span class="special">));</span>
     <span class="special">}</span>
 <span class="special">};</span>
 </pre>
@@ -970,20 +929,12 @@
 <p>

 </p>
-<pre class="programlisting"><span class="comment">/// specialize root typeof helper -</span><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">class</span> <span class="identifier">Y</span><span class="special">,</span><span class="keyword">long</span> <span class="identifier">N</span><span class="special">,</span><span class="keyword">long</span> <span class="identifier">D</span><span class="special">&gt;</span> -<span class="keyword">struct</span> <span class="identifier">root_typeof_helper</span><span class="special">&lt;</span><span class="identifier">boost</span><span class="special">::</span><span class="identifier">math</span><span class="special">::</span><span class="identifier">quaternion</span><span class="special">&lt;</span><span class="identifier">Y</span><span class="special">&gt;,</span><span class="identifier">static_rational</span><span class="special">&lt;</span><span class="identifier">N</span><span class="special">,</span><span class="identifier">D</span><span class="special">&gt;</span> <span class="special">&gt;</span>
-<span class="special">{</span>
- <span class="comment">// boost::math::quaternion only supports integer powers -</span> <span class="identifier">BOOST_STATIC_ASSERT</span><span class="special">(</span><span class="identifier">N</span><span class="special">==</span><span class="number">1</span><span class="special">);</span> +<pre class="programlisting"><span class="comment">/// specialize root typeof helper<br></span><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">class</span> <span class="identifier">Y</span><span class="special">,</span><span class="keyword">long</span> <span class="identifier">N</span><span class="special">,</span><span class="keyword">long</span> <span class="identifier">D</span><span class="special">&gt;</span> <br><span class="keyword">struct</span> <span class="identifier">root_typeof_helper</span><span class="special">&lt;</span><span class="identifier">boost</span><span class="special">::</span><span class="identifier">math</span><span class="special">::</span><span class="identifier">quaternion</span><span class="special">&lt;</span><span class="identifier">Y</span><span class="special">&gt;,</span><span class="identifier">static_rational</span><span class="special">&lt;</span><span class="identifier">N</span><span class="special">,</span><span class="identifier">D</span><span class="special">&gt;</span> <span class="special">&gt;</span> +<span class="special">{</span> <br> <span class="comment">// boost::math::quaternion only supports integer powers<br></span> <span class="identifier">BOOST_STATIC_ASSERT</span><span class="special">(</span><span class="identifier">N</span><span class="special">==</span><span class="number">1</span><span class="special">);</span>

<span class="keyword">typedef</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">math</span><span class="special">::</span><span class="identifier">quaternion</span><span class="special">&lt;</span> <span class="keyword">typename</span> <span class="identifier">root_typeof_helper</span><span class="special">&lt;</span><span class="identifier">Y</span><span class="special">,</span><span class="identifier">static_rational</span><span class="special">&lt;</span><span class="identifier">N</span><span class="special">,</span><span class="identifier">D</span><span class="special">&gt;</span> <span class="special">&gt;::</span><span class="identifier">type</span> - <span class="special">&gt;</span> <span class="identifier">type</span><span class="special">;</span>
-
- <span class="keyword">static</span> <span class="identifier">type</span> <span class="identifier">value</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">math</span><span class="special">::</span><span class="identifier">quaternion</span><span class="special">&lt;</span><span class="identifier">Y</span><span class="special">&gt;&amp;</span> <span class="identifier">x</span><span class="special">)</span>
-    <span class="special">{</span>
- <span class="keyword">return</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">math</span><span class="special">::</span><span class="identifier">pow</span><span class="special">(</span><span class="identifier">x</span><span class="special">,</span><span class="keyword">static_cast</span><span class="special">&lt;</span><span class="keyword">int</span><span class="special">&gt;(</span><span class="identifier">D</span><span class="special">));</span> + <span class="special">&gt;</span> <span class="identifier">type</span><span class="special">;</span> <br> <br> <span class="keyword">static</span> <span class="identifier">type</span> <span class="identifier">value</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">math</span><span class="special">::</span><span class="identifier">quaternion</span><span class="special">&lt;</span><span class="identifier">Y</span><span class="special">&gt;&amp;</span> <span class="identifier">x</span><span class="special">)</span> <br> <span class="special">{</span> <br> <span class="keyword">return</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">math</span><span class="special">::</span><span class="identifier">pow</span><span class="special">(</span><span class="identifier">x</span><span class="special">,</span><span class="keyword">static_cast</span><span class="special">&lt;</span><span class="keyword">int</span><span class="special">&gt;(</span><span class="identifier">D</span><span class="special">));</span>
     <span class="special">}</span>
 <span class="special">};</span>
 </pre>
@@ -1013,7 +964,7 @@
class behave correctly. If rational powers were defined for this class, it would be possible to compute rational powers and roots with no additional
         changes.
-        <br />
+        <br>
现在,我们定义于类<code class="computeroutput"><span class="identifier">quaternion</span></code>上的操作符都可以正确执行了。
         如果这个类定义了有理数乘方,那么就可以直接计算乘方和开方了。
       </p>
@@ -1027,8 +978,7 @@
<span class="identifier">L</span><span class="special">+</span><span class="identifier">L</span> <span class="special">=</span> <span class="special">(</span><span class="number">8</span><span class="special">,</span><span class="number">6</span><span class="special">,</span><span class="number">4</span><span class="special">,</span><span class="number">2</span><span class="special">)</span> <span class="identifier">m</span> <span class="identifier">L</span><span class="special">-</span><span class="identifier">L</span> <span class="special">=</span> <span class="special">(</span><span class="number">0</span><span class="special">,</span><span class="number">0</span><span class="special">,</span><span class="number">0</span><span class="special">,</span><span class="number">0</span><span class="special">)</span> <span class="identifier">m</span> <span class="identifier">L</span><span class="special">*</span><span class="identifier">L</span> <span class="special">=</span> <span class="special">(</span><span class="number">2</span><span class="special">,</span><span class="number">24</span><span class="special">,</span><span class="number">16</span><span class="special">,</span><span class="number">8</span><span class="special">)</span> <span class="identifier">m</span><span class="special">^</span><span class="number">2</span> -<span class="identifier">L</span><span class="special">/</span><span class="identifier">L</span> <span class="special">=</span> <span class="special">(</span><span class="number">1</span><span class="special">,</span><span class="number">0</span><span class="special">,</span><span class="number">0</span><span class="special">,</span><span class="number">0</span><span class="special">)</span> <span class="identifier">dimensionless</span> -<span class="identifier">L</span><span class="special">^</span><span class="number">3</span> <span class="special">=</span> <span class="special">(-</span><span class="number">104</span><span class="special">,</span><span class="number">102</span><span class="special">,</span><span class="number">68</span><span class="special">,</span><span class="number">34</span><span class="special">)</span> <span class="identifier">m</span><span class="special">^</span><span class="number">3</span> +<span class="identifier">L</span><span class="special">/</span><span class="identifier">L</span> <span class="special">=</span> <span class="special">(</span><span class="number">1</span><span class="special">,</span><span class="number">0</span><span class="special">,</span><span class="number">0</span><span class="special">,</span><span class="number">0</span><span class="special">)</span> <span class="identifier">dimensionless</span> <br><span class="identifier">L</span><span class="special">^</span><span class="number">3</span> <span class="special">=</span> <span class="special">(-</span><span class="number">104</span><span class="special">,</span><span class="number">102</span><span class="special">,</span><span class="number">68</span><span class="special">,</span><span class="number">34</span><span class="special">)</span> <span class="identifier">m</span><span class="special">^</span><span class="number">3</span>
 </pre>
 <p>
         </p>
@@ -1038,7 +988,7 @@
Now, if for some reason we preferred the <span class="underline"><code class="computeroutput"><a class="link" href="../boost/units/quantity.html" title="Class template quantity">quantity</a></code></span> to be the value type of the <code class="computeroutput"><span class="identifier">quaternion</span></code> class
         we would have :
-        <br />
+        <br>
如果我们将<span class="underline"><code class="computeroutput"><a class="link" href="../boost/units/quantity.html" title="Class template quantity">quantity</a></code></span>作为<code class="computeroutput"><span class="identifier">quaternion</span></code>的数值类型:
       </p>
 <p>
@@ -1066,7 +1016,7 @@
to specialize <span class="underline"><code class="computeroutput"><a class="link" href="../boost/units/power_typeof_helper.html" title="Struct template power_typeof_helper">power_typeof_helper</a></code></span> and <span class="underline"><code class="computeroutput"><a class="link" href="../boost/units/root_typeof_helper.html" title="Struct template root_typeof_helper">root_typeof_helper</a></code></span>
         as follows:
-        <br />
+        <br>
         现在,取正、取负、加和减的操作都是正确的。
但不幸的是,乘和除失败了,因为<code class="computeroutput"><span class="identifier">quaternion</span></code>是通过<code class="computeroutput"><span class="special">*=</span></code>和<code class="computeroutput"><span class="special">/=</span></code>实现的乘除。 这不能满足数量的异构单位代数需要(同样的问题也出现在<code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">complex</span><span class="special">&lt;</span><span class="identifier">T</span><span class="special">&gt;</span></code>上)(???)
@@ -1077,13 +1027,9 @@
 <p>

 </p>
-<pre class="programlisting"><span class="comment">/// specialize power typeof helper for quaternion&lt;quantity&lt;Unit,Y&gt; &gt; -</span><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">class</span> <span class="identifier">Unit</span><span class="special">,</span><span class="keyword">long</span> <span class="identifier">N</span><span class="special">,</span><span class="keyword">long</span> <span class="identifier">D</span><span class="special">,</span><span class="keyword">class</span> <span class="identifier">Y</span><span class="special">&gt;</span> -<span class="keyword">struct</span> <span class="identifier">power_typeof_helper</span><span class="special">&lt;</span> +<pre class="programlisting"><span class="comment">/// specialize power typeof helper for quaternion&lt;quantity&lt;Unit,Y&gt; &gt;<br></span><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">class</span> <span class="identifier">Unit</span><span class="special">,</span><span class="keyword">long</span> <span class="identifier">N</span><span class="special">,</span><span class="keyword">long</span> <span class="identifier">D</span><span class="special">,</span><span class="keyword">class</span> <span class="identifier">Y</span><span class="special">&gt;</span> <br><span class="keyword">struct</span> <span class="identifier">power_typeof_helper</span><span class="special">&lt;</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">math</span><span class="special">::</span><span class="identifier">quaternion</span><span class="special">&lt;</span><span class="identifier">quantity</span><span class="special">&lt;</span><span class="identifier">Unit</span><span class="special">,</span><span class="identifier">Y</span><span class="special">&gt;</span> <span class="special">&gt;,</span> - <span class="identifier">static_rational</span><span class="special">&lt;</span><span class="identifier">N</span><span class="special">,</span><span class="identifier">D</span><span class="special">&gt;</span> <span class="special">&gt;</span>
-<span class="special">{</span>
- <span class="keyword">typedef</span> <span class="keyword">typename</span> <span class="identifier">power_typeof_helper</span><span class="special">&lt;</span> + <span class="identifier">static_rational</span><span class="special">&lt;</span><span class="identifier">N</span><span class="special">,</span><span class="identifier">D</span><span class="special">&gt;</span> <span class="special">&gt;</span> <br><span class="special">{</span> <br> <span class="keyword">typedef</span> <span class="keyword">typename</span> <span class="identifier">power_typeof_helper</span><span class="special">&lt;</span>
         <span class="identifier">Y</span><span class="special">,</span>
<span class="identifier">static_rational</span><span class="special">&lt;</span><span class="identifier">N</span><span class="special">,</span><span class="identifier">D</span><span class="special">&gt;</span> <span class="special">&gt;::</span><span class="identifier">type</span> <span class="identifier">value_type</span><span class="special">;</span>
@@ -1094,12 +1040,7 @@
<span class="special">&gt;::</span><span class="identifier">type</span> <span class="identifier">unit_type</span><span class="special">;</span>

<span class="keyword">typedef</span> <span class="identifier">quantity</span><span class="special">&lt;</span><span class="identifier">unit_type</span><span class="special">,</span><span class="identifier">value_type</span><span class="special">&gt;</span> <span class="identifier">quantity_type</span><span class="special">;</span> - <span class="keyword">typedef</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">math</span><span class="special">::</span><span class="identifier">quaternion</span><span class="special">&lt;</span><span class="identifier">quantity_type</span><span class="special">&gt;</span> <span class="identifier">type</span><span class="special">;</span>
-
- <span class="keyword">static</span> <span class="identifier">type</span> <span class="identifier">value</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">math</span><span class="special">::</span><span class="identifier">quaternion</span><span class="special">&lt;</span><span class="identifier">quantity</span><span class="special">&lt;</span><span class="identifier">Unit</span><span class="special">,</span><span class="identifier">Y</span><span class="special">&gt;</span> <span class="special">&gt;&amp;</span> <span class="identifier">x</span><span class="special">)</span>
-    <span class="special">{</span>
- <span class="keyword">const</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">math</span><span class="special">::</span><span class="identifier">quaternion</span><span class="special">&lt;</span><span class="identifier">value_type</span><span class="special">&gt;</span> <span class="identifier">tmp</span> <span class="special">=</span> - <span class="identifier">pow</span><span class="special">&lt;</span><span class="identifier">static_rational</span><span class="special">&lt;</span><span class="identifier">N</span><span class="special">,</span><span class="identifier">D</span><span class="special">&gt;</span> <span class="special">&gt;(</span><span class="identifier">boost</span><span class="special">::</span><span class="identifier">math</span><span class="special">::</span><span class="identifier">quaternion</span><span class="special">&lt;</span><span class="identifier">Y</span><span class="special">&gt;(</span> + <span class="keyword">typedef</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">math</span><span class="special">::</span><span class="identifier">quaternion</span><span class="special">&lt;</span><span class="identifier">quantity_type</span><span class="special">&gt;</span> <span class="identifier">type</span><span class="special">;</span> <br> <br> <span class="keyword">static</span> <span class="identifier">type</span> <span class="identifier">value</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">math</span><span class="special">::</span><span class="identifier">quaternion</span><span class="special">&lt;</span><span class="identifier">quantity</span><span class="special">&lt;</span><span class="identifier">Unit</span><span class="special">,</span><span class="identifier">Y</span><span class="special">&gt;</span> <span class="special">&gt;&amp;</span> <span class="identifier">x</span><span class="special">)</span> <br> <span class="special">{</span> <br> <span class="keyword">const</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">math</span><span class="special">::</span><span class="identifier">quaternion</span><span class="special">&lt;</span><span class="identifier">value_type</span><span class="special">&gt;</span> <span class="identifier">tmp</span> <span class="special">=</span> <br> <span class="identifier">pow</span><span class="special">&lt;</span><span class="identifier">static_rational</span><span class="special">&lt;</span><span class="identifier">N</span><span class="special">,</span><span class="identifier">D</span><span class="special">&gt;</span> <span class="special">&gt;(</span><span class="identifier">boost</span><span class="special">::</span><span class="identifier">math</span><span class="special">::</span><span class="identifier">quaternion</span><span class="special">&lt;</span><span class="identifier">Y</span><span class="special">&gt;(</span> <span class="identifier">x</span><span class="special">.</span><span class="identifier">R_component_1</span><span class="special">().</span><span class="identifier">value</span><span class="special">(),</span> <span class="identifier">x</span><span class="special">.</span><span class="identifier">R_component_2</span><span class="special">().</span><span class="identifier">value</span><span class="special">(),</span> <span class="identifier">x</span><span class="special">.</span><span class="identifier">R_component_3</span><span class="special">().</span><span class="identifier">value</span><span class="special">(),</span>
@@ -1121,13 +1062,9 @@
 <p>

 </p>
-<pre class="programlisting"><span class="comment">/// specialize root typeof helper for quaternion&lt;quantity&lt;Unit,Y&gt; &gt; -</span><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">class</span> <span class="identifier">Unit</span><span class="special">,</span><span class="keyword">long</span> <span class="identifier">N</span><span class="special">,</span><span class="keyword">long</span> <span class="identifier">D</span><span class="special">,</span><span class="keyword">class</span> <span class="identifier">Y</span><span class="special">&gt;</span> -<span class="keyword">struct</span> <span class="identifier">root_typeof_helper</span><span class="special">&lt;</span> +<pre class="programlisting"><span class="comment">/// specialize root typeof helper for quaternion&lt;quantity&lt;Unit,Y&gt; &gt;<br></span><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">class</span> <span class="identifier">Unit</span><span class="special">,</span><span class="keyword">long</span> <span class="identifier">N</span><span class="special">,</span><span class="keyword">long</span> <span class="identifier">D</span><span class="special">,</span><span class="keyword">class</span> <span class="identifier">Y</span><span class="special">&gt;</span> <br><span class="keyword">struct</span> <span class="identifier">root_typeof_helper</span><span class="special">&lt;</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">math</span><span class="special">::</span><span class="identifier">quaternion</span><span class="special">&lt;</span><span class="identifier">quantity</span><span class="special">&lt;</span><span class="identifier">Unit</span><span class="special">,</span><span class="identifier">Y</span><span class="special">&gt;</span> <span class="special">&gt;,</span> - <span class="identifier">static_rational</span><span class="special">&lt;</span><span class="identifier">N</span><span class="special">,</span><span class="identifier">D</span><span class="special">&gt;</span> <span class="special">&gt;</span>
-<span class="special">{</span>
- <span class="keyword">typedef</span> <span class="keyword">typename</span> <span class="identifier">root_typeof_helper</span><span class="special">&lt;</span> + <span class="identifier">static_rational</span><span class="special">&lt;</span><span class="identifier">N</span><span class="special">,</span><span class="identifier">D</span><span class="special">&gt;</span> <span class="special">&gt;</span> <br><span class="special">{</span> <br> <span class="keyword">typedef</span> <span class="keyword">typename</span> <span class="identifier">root_typeof_helper</span><span class="special">&lt;</span>
         <span class="identifier">Y</span><span class="special">,</span>
<span class="identifier">static_rational</span><span class="special">&lt;</span><span class="identifier">N</span><span class="special">,</span><span class="identifier">D</span><span class="special">&gt;</span> <span class="special">&gt;::</span><span class="identifier">type</span> <span class="identifier">value_type</span><span class="special">;</span>
@@ -1138,12 +1075,7 @@
<span class="special">&gt;::</span><span class="identifier">type</span> <span class="identifier">unit_type</span><span class="special">;</span>

<span class="keyword">typedef</span> <span class="identifier">quantity</span><span class="special">&lt;</span><span class="identifier">unit_type</span><span class="special">,</span><span class="identifier">value_type</span><span class="special">&gt;</span> <span class="identifier">quantity_type</span><span class="special">;</span> - <span class="keyword">typedef</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">math</span><span class="special">::</span><span class="identifier">quaternion</span><span class="special">&lt;</span><span class="identifier">quantity_type</span><span class="special">&gt;</span> <span class="identifier">type</span><span class="special">;</span>
-
- <span class="keyword">static</span> <span class="identifier">type</span> <span class="identifier">value</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">math</span><span class="special">::</span><span class="identifier">quaternion</span><span class="special">&lt;</span><span class="identifier">quantity</span><span class="special">&lt;</span><span class="identifier">Unit</span><span class="special">,</span><span class="identifier">Y</span><span class="special">&gt;</span> <span class="special">&gt;&amp;</span> <span class="identifier">x</span><span class="special">)</span>
-    <span class="special">{</span>
- <span class="keyword">const</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">math</span><span class="special">::</span><span class="identifier">quaternion</span><span class="special">&lt;</span><span class="identifier">value_type</span><span class="special">&gt;</span> <span class="identifier">tmp</span> <span class="special">=</span> - <span class="identifier">root</span><span class="special">&lt;</span><span class="identifier">static_rational</span><span class="special">&lt;</span><span class="identifier">N</span><span class="special">,</span><span class="identifier">D</span><span class="special">&gt;</span> <span class="special">&gt;(</span><span class="identifier">boost</span><span class="special">::</span><span class="identifier">math</span><span class="special">::</span><span class="identifier">quaternion</span><span class="special">&lt;</span><span class="identifier">Y</span><span class="special">&gt;(</span> + <span class="keyword">typedef</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">math</span><span class="special">::</span><span class="identifier">quaternion</span><span class="special">&lt;</span><span class="identifier">quantity_type</span><span class="special">&gt;</span> <span class="identifier">type</span><span class="special">;</span> <br> <br> <span class="keyword">static</span> <span class="identifier">type</span> <span class="identifier">value</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">math</span><span class="special">::</span><span class="identifier">quaternion</span><span class="special">&lt;</span><span class="identifier">quantity</span><span class="special">&lt;</span><span class="identifier">Unit</span><span class="special">,</span><span class="identifier">Y</span><span class="special">&gt;</span> <span class="special">&gt;&amp;</span> <span class="identifier">x</span><span class="special">)</span> <br> <span class="special">{</span> <br> <span class="keyword">const</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">math</span><span class="special">::</span><span class="identifier">quaternion</span><span class="special">&lt;</span><span class="identifier">value_type</span><span class="special">&gt;</span> <span class="identifier">tmp</span> <span class="special">=</span> <br> <span class="identifier">root</span><span class="special">&lt;</span><span class="identifier">static_rational</span><span class="special">&lt;</span><span class="identifier">N</span><span class="special">,</span><span class="identifier">D</span><span class="special">&gt;</span> <span class="special">&gt;(</span><span class="identifier">boost</span><span class="special">::</span><span class="identifier">math</span><span class="special">::</span><span class="identifier">quaternion</span><span class="special">&lt;</span><span class="identifier">Y</span><span class="special">&gt;(</span> <span class="identifier">x</span><span class="special">.</span><span class="identifier">R_component_1</span><span class="special">().</span><span class="identifier">value</span><span class="special">(),</span> <span class="identifier">x</span><span class="special">.</span><span class="identifier">R_component_2</span><span class="special">().</span><span class="identifier">value</span><span class="special">(),</span> <span class="identifier">x</span><span class="special">.</span><span class="identifier">R_component_3</span><span class="special">().</span><span class="identifier">value</span><span class="special">(),</span>
@@ -1201,7 +1133,7 @@
In addition, <span class="underline"><code class="computeroutput"><a class="link" href="../boost/units/power_typeof_helper.html" title="Struct template power_typeof_helper">power_typeof_helper</a></code></span> and <span class="underline"><code class="computeroutput"><a class="link" href="../boost/units/root_typeof_helper.html" title="Struct template root_typeof_helper">root_typeof_helper</a></code></span>
         are defined for both cases :
-        <br />
+        <br>
这个例子展示了如何使用替代的<code class="computeroutput"><span class="identifier">complex</span></code>类作为quantity的数值类型或quantity的 存储类,包括异构的乘、除、乘方和开方。 通常,异构的乘和除只有当编译器实现<code class="computeroutput"><span class="identifier">typeof</span></code>的时候才 被支持。 这些二元运算的主要差别在于不是使用op=操作符,而是使用工具类<span class="underline"><code class="computeroutput"><a class="link" href="../boost/units/add_typeof_helper.html" title="Struct template add_typeof_helper">add_typeof_helper</a></code></span>、<span class="underline"><code class="computeroutput"><a class="link" href="../boost/units/subtract_typeof_helper.html" title="Struct template subtract_typeof_helper">subtract_typeof_helper</a></code></span>、<span class="underline"><code class="computeroutput"><a class="link" href="../boost/units/multiply_typeof_helper.html" title="Struct template multiply_typeof_helper">multiply_typeof_helper</a></code></span>、<span class="underline"><code class="computeroutput"><a class="link" href="../boost/units/divide_typeof_helper.html" title="Struct template divide_typeof_helper">divide_typeof_helper</a></code></span>。
@@ -1216,8 +1148,7 @@

<span class="keyword">namespace</span> <span class="identifier">units</span> <span class="special">{</span>

-<span class="comment">/// replacement complex class
-</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> +<span class="comment">/// replacement complex class <br></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>
 <span class="keyword">class</span> <span class="identifier">complex</span>
 <span class="special">{</span>
     <span class="keyword">public</span><span class="special">:</span>
@@ -1359,63 +1290,23 @@
<span class="keyword">return</span> <span class="identifier">complex</span><span class="special">&lt;</span><span class="identifier">type</span><span class="special">&gt;(</span><span class="identifier">x</span><span class="special">.</span><span class="identifier">real</span><span class="special">()*</span><span class="identifier">y</span><span class="special">.</span><span class="identifier">real</span><span class="special">()</span> <span class="special">-</span> <span class="identifier">x</span><span class="special">.</span><span class="identifier">imag</span><span class="special">()*</span><span class="identifier">y</span><span class="special">.</span><span class="identifier">imag</span><span class="special">(),</span> <span class="identifier">x</span><span class="special">.</span><span class="identifier">real</span><span class="special">()*</span><span class="identifier">y</span><span class="special">.</span><span class="identifier">imag</span><span class="special">()</span> <span class="special">+</span> <span class="identifier">x</span><span class="special">.</span><span class="identifier">imag</span><span class="special">()*</span><span class="identifier">y</span><span class="special">.</span><span class="identifier">real</span><span class="special">());</span>

-<span class="comment">// fully correct implementation has more complex return type
-</span><span class="comment">//
-</span><span class="comment">// typedef typename boost::units::multiply_typeof_helper&lt;X,Y&gt;::type xy_type;
-</span><span class="comment">//
-</span><span class="comment">// typedef typename boost::units::add_typeof_helper&lt; -</span><span class="comment">// xy_type,xy_type&gt;::type xy_plus_xy_type;
-</span><span class="comment">//    typedef typename
-</span><span class="comment">// boost::units::subtract_typeof_helper&lt;xy_type,xy_type&gt;::type
-</span><span class="comment">//        xy_minus_xy_type;
-</span><span class="comment">//
-</span><span class="comment">// BOOST_STATIC_ASSERT((boost::is_same&lt;xy_plus_xy_type, -</span><span class="comment">// xy_minus_xy_type&gt;::value == true));
-</span><span class="comment">//
-</span><span class="comment">// return complex&lt;xy_plus_xy_type&gt;(x.real()*y.real()-x.imag()*y.imag(), -</span><span class="comment">// x.real()*y.imag()+x.imag()*y.real());
-</span><span class="special">}</span>
+<span class="comment">// fully correct implementation has more complex return type<br></span><span class="comment">//<br></span><span class="comment">// typedef typename boost::units::multiply_typeof_helper&lt;X,Y&gt;::type xy_type;<br></span><span class="comment">// <br></span><span class="comment">// typedef typename boost::units::add_typeof_helper&lt;<br></span><span class="comment">// xy_type,xy_type&gt;::type xy_plus_xy_type;<br></span><span class="comment">// typedef typename<br></span><span class="comment">// boost::units::subtract_typeof_helper&lt;xy_type,xy_type&gt;::type<br></span><span class="comment">// xy_minus_xy_type;<br></span><span class="comment">// <br></span><span class="comment">// BOOST_STATIC_ASSERT((boost::is_same&lt;xy_plus_xy_type,<br></span><span class="comment">// xy_minus_xy_type&gt;::value == true));<br></span><span class="comment">// <br></span><span class="comment">// return complex&lt;xy_plus_xy_type&gt;(x.real()*y.real()-x.imag()*y.imag(),<br></span><span class="comment">// x.real()*y.imag()+x.imag()*y.real());<br></span><span class="special">}</span>

<span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">class</span> <span class="identifier">X</span><span class="special">,</span><span class="keyword">class</span> <span class="identifier">Y</span><span class="special">&gt;</span> <span class="identifier">complex</span><span class="special">&lt;</span><span class="keyword">typename</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">units</span><span class="special">::</span><span class="identifier">divide_typeof_helper</span><span class="special">&lt;</span><span class="identifier">X</span><span class="special">,</span><span class="identifier">Y</span><span class="special">&gt;::</span><span class="identifier">type</span><span class="special">&gt;</span> <span class="keyword">operator</span><span class="special">/(</span><span class="keyword">const</span> <span class="identifier">complex</span><span class="special">&lt;</span><span class="identifier">X</span><span class="special">&gt;&amp;</span> <span class="identifier">x</span><span class="special">,</span><span class="keyword">const</span> <span class="identifier">complex</span><span class="special">&lt;</span><span class="identifier">Y</span><span class="special">&gt;&amp;</span> <span class="identifier">y</span><span class="special">)</span>
 <span class="special">{</span>
-    <span class="comment">// naive implementation of complex division
-</span> <span class="keyword">typedef</span> <span class="keyword">typename</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">units</span><span class="special">::</span><span class="identifier">divide_typeof_helper</span><span class="special">&lt;</span><span class="identifier">X</span><span class="special">,</span><span class="identifier">Y</span><span class="special">&gt;::</span><span class="identifier">type</span> <span class="identifier">type</span><span class="special">;</span> + <span class="comment">// naive implementation of complex division<br></span> <span class="keyword">typedef</span> <span class="keyword">typename</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">units</span><span class="special">::</span><span class="identifier">divide_typeof_helper</span><span class="special">&lt;</span><span class="identifier">X</span><span class="special">,</span><span class="identifier">Y</span><span class="special">&gt;::</span><span class="identifier">type</span> <span class="identifier">type</span><span class="special">;</span>

<span class="keyword">return</span> <span class="identifier">complex</span><span class="special">&lt;</span><span class="identifier">type</span><span class="special">&gt;((</span><span class="identifier">x</span><span class="special">.</span><span class="identifier">real</span><span class="special">()*</span><span class="identifier">y</span><span class="special">.</span><span class="identifier">real</span><span class="special">()+</span><span class="identifier">x</span><span class="special">.</span><span class="identifier">imag</span><span class="special">()*</span><span class="identifier">y</span><span class="special">.</span><span class="identifier">imag</span><span class="special">())/</span> <span class="special">(</span><span class="identifier">y</span><span class="special">.</span><span class="identifier">real</span><span class="special">()*</span><span class="identifier">y</span><span class="special">.</span><span class="identifier">real</span><span class="special">()+</span><span class="identifier">y</span><span class="special">.</span><span class="identifier">imag</span><span class="special">()*</span><span class="identifier">y</span><span class="special">.</span><span class="identifier">imag</span><span class="special">()),</span> <span class="special">(</span><span class="identifier">x</span><span class="special">.</span><span class="identifier">imag</span><span class="special">()*</span><span class="identifier">y</span><span class="special">.</span><span class="identifier">real</span><span class="special">()-</span><span class="identifier">x</span><span class="special">.</span><span class="identifier">real</span><span class="special">()*</span><span class="identifier">y</span><span class="special">.</span><span class="identifier">imag</span><span class="special">())/</span> <span class="special">(</span><span class="identifier">y</span><span class="special">.</span><span class="identifier">real</span><span class="special">()*</span><span class="identifier">y</span><span class="special">.</span><span class="identifier">real</span><span class="special">()+</span><span class="identifier">y</span><span class="special">.</span><span class="identifier">imag</span><span class="special">()*</span><span class="identifier">y</span><span class="special">.</span><span class="identifier">imag</span><span class="special">()));</span>

-<span class="comment">// fully correct implementation has more complex return type
-</span><span class="comment">//
-</span><span class="comment">// typedef typename boost::units::multiply_typeof_helper&lt;X,Y&gt;::type xy_type; -</span><span class="comment">// typedef typename boost::units::multiply_typeof_helper&lt;Y,Y&gt;::type yy_type;
-</span><span class="comment">//
-</span><span class="comment">// typedef typename boost::units::add_typeof_helper&lt;xy_type, xy_type&gt;::type
-</span><span class="comment">//      xy_plus_xy_type;
-</span><span class="comment">// typedef typename boost::units::subtract_typeof_helper&lt; -</span><span class="comment">// xy_type,xy_type&gt;::type xy_minus_xy_type;
-</span><span class="comment">//
-</span><span class="comment">// typedef typename boost::units::divide_typeof_helper&lt; -</span><span class="comment">// xy_plus_xy_type,yy_type&gt;::type xy_plus_xy_over_yy_type; -</span><span class="comment">// typedef typename boost::units::divide_typeof_helper&lt; -</span><span class="comment">// xy_minus_xy_type,yy_type&gt;::type xy_minus_xy_over_yy_type;
-</span><span class="comment">//
-</span><span class="comment">// BOOST_STATIC_ASSERT((boost::is_same&lt;xy_plus_xy_over_yy_type, -</span><span class="comment">// xy_minus_xy_over_yy_type&gt;::value == true));
-</span><span class="comment">//
-</span><span class="comment">// return complex&lt;xy_plus_xy_over_yy_type&gt;(
-</span><span class="comment">//      (x.real()*y.real()+x.imag()*y.imag())/
-</span><span class="comment">// (y.real()*y.real()+y.imag()*y.imag()),
-</span><span class="comment">//      (x.imag()*y.real()-x.real()*y.imag())/
-</span><span class="comment">// (y.real()*y.real()+y.imag()*y.imag()));
-</span><span class="special">}</span>
+<span class="comment">// fully correct implementation has more complex return type<br></span><span class="comment">//<br></span><span class="comment">// typedef typename boost::units::multiply_typeof_helper&lt;X,Y&gt;::type xy_type;<br></span><span class="comment">// typedef typename boost::units::multiply_typeof_helper&lt;Y,Y&gt;::type yy_type;<br></span><span class="comment">//<br></span><span class="comment">// typedef typename boost::units::add_typeof_helper&lt;xy_type, xy_type&gt;::type<br></span><span class="comment">// xy_plus_xy_type;<br></span><span class="comment">// typedef typename boost::units::subtract_typeof_helper&lt;<br></span><span class="comment">// xy_type,xy_type&gt;::type xy_minus_xy_type;<br></span><span class="comment">//<br></span><span class="comment">// typedef typename boost::units::divide_typeof_helper&lt;<br></span><span class="comment">// xy_plus_xy_type,yy_type&gt;::type xy_plus_xy_over_yy_type;<br></span><span class="comment">// typedef typename boost::units::divide_typeof_helper&lt;<br></span><span class="comment">// xy_minus_xy_type,yy_type&gt;::type xy_minus_xy_over_yy_type;<br></span><span class="comment">//<br></span><span class="comment">// BOOST_STATIC_ASSERT((boost::is_same&lt;xy_plus_xy_over_yy_type,<br></span><span class="comment">// xy_minus_xy_over_yy_type&gt;::value == true));<br></span><span class="comment">//<br></span><span class="comment">// return complex&lt;xy_plus_xy_over_yy_type&gt;(<br></span><span class="comment">// (x.real()*y.real()+x.imag()*y.imag())/<br></span><span class="comment">// (y.real()*y.real()+y.imag()*y.imag()),<br></span><span class="comment">// (x.imag()*y.real()-x.real()*y.imag())/<br></span><span class="comment">// (y.real()*y.real()+y.imag()*y.imag()));<br></span><span class="special">}</span>

<span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">class</span> <span class="identifier">Y</span><span class="special">&gt;</span> -<span class="identifier">complex</span><span class="special">&lt;</span><span class="identifier">Y</span><span class="special">&gt;</span> -<span class="identifier">pow</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">complex</span><span class="special">&lt;</span><span class="identifier">Y</span><span class="special">&gt;&amp;</span> <span class="identifier">x</span><span class="special">,</span><span class="keyword">const</span> <span class="identifier">Y</span><span class="special">&amp;</span> <span class="identifier">y</span><span class="special">)</span> +<span class="identifier">complex</span><span class="special">&lt;</span><span class="identifier">Y</span><span class="special">&gt;</span> <br><span class="identifier">pow</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">complex</span><span class="special">&lt;</span><span class="identifier">Y</span><span class="special">&gt;&amp;</span> <span class="identifier">x</span><span class="special">,</span><span class="keyword">const</span> <span class="identifier">Y</span><span class="special">&amp;</span> <span class="identifier">y</span><span class="special">)</span>
 <span class="special">{</span>
<span class="identifier">std</span><span class="special">::</span><span class="identifier">complex</span><span class="special">&lt;</span><span class="identifier">Y</span><span class="special">&gt;</span> <span class="identifier">tmp</span><span class="special">(</span><span class="identifier">x</span><span class="special">.</span><span class="identifier">real</span><span class="special">(),</span><span class="identifier">x</span><span class="special">.</span><span class="identifier">imag</span><span class="special">());</span>

@@ -1432,17 +1323,9 @@
<span class="keyword">return</span> <span class="identifier">os</span><span class="special">;</span>
 <span class="special">}</span>

-<span class="comment">/// specialize power typeof helper for complex&lt;Y&gt; -</span><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">class</span> <span class="identifier">Y</span><span class="special">,</span><span class="keyword">long</span> <span class="identifier">N</span><span class="special">,</span><span class="keyword">long</span> <span class="identifier">D</span><span class="special">&gt;</span> -<span class="keyword">struct</span> <span class="identifier">power_typeof_helper</span><span class="special">&lt;</span><span class="identifier">complex</span><span class="special">&lt;</span><span class="identifier">Y</span><span class="special">&gt;,</span><span class="identifier">static_rational</span><span class="special">&lt;</span><span class="identifier">N</span><span class="special">,</span><span class="identifier">D</span><span class="special">&gt;</span> <span class="special">&gt;</span>
-<span class="special">{</span>
- <span class="keyword">typedef</span> <span class="identifier">complex</span><span class="special">&lt;</span> +<span class="comment">/// specialize power typeof helper for complex&lt;Y&gt;<br></span><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">class</span> <span class="identifier">Y</span><span class="special">,</span><span class="keyword">long</span> <span class="identifier">N</span><span class="special">,</span><span class="keyword">long</span> <span class="identifier">D</span><span class="special">&gt;</span> <br><span class="keyword">struct</span> <span class="identifier">power_typeof_helper</span><span class="special">&lt;</span><span class="identifier">complex</span><span class="special">&lt;</span><span class="identifier">Y</span><span class="special">&gt;,</span><span class="identifier">static_rational</span><span class="special">&lt;</span><span class="identifier">N</span><span class="special">,</span><span class="identifier">D</span><span class="special">&gt;</span> <span class="special">&gt;</span> <br><span class="special">{</span> <br> <span class="keyword">typedef</span> <span class="identifier">complex</span><span class="special">&lt;</span> <span class="keyword">typename</span> <span class="identifier">power_typeof_helper</span><span class="special">&lt;</span><span class="identifier">Y</span><span class="special">,</span><span class="identifier">static_rational</span><span class="special">&lt;</span><span class="identifier">N</span><span class="special">,</span><span class="identifier">D</span><span class="special">&gt;</span> <span class="special">&gt;::</span><span class="identifier">type</span> - <span class="special">&gt;</span> <span class="identifier">type</span><span class="special">;</span>
-
- <span class="keyword">static</span> <span class="identifier">type</span> <span class="identifier">value</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">complex</span><span class="special">&lt;</span><span class="identifier">Y</span><span class="special">&gt;&amp;</span> <span class="identifier">x</span><span class="special">)</span>
-    <span class="special">{</span>
- <span class="keyword">const</span> <span class="identifier">static_rational</span><span class="special">&lt;</span><span class="identifier">N</span><span class="special">,</span><span class="identifier">D</span><span class="special">&gt;</span> <span class="identifier">rat</span><span class="special">;</span> + <span class="special">&gt;</span> <span class="identifier">type</span><span class="special">;</span> <br> <br> <span class="keyword">static</span> <span class="identifier">type</span> <span class="identifier">value</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">complex</span><span class="special">&lt;</span><span class="identifier">Y</span><span class="special">&gt;&amp;</span> <span class="identifier">x</span><span class="special">)</span> <br> <span class="special">{</span> <br> <span class="keyword">const</span> <span class="identifier">static_rational</span><span class="special">&lt;</span><span class="identifier">N</span><span class="special">,</span><span class="identifier">D</span><span class="special">&gt;</span> <span class="identifier">rat</span><span class="special">;</span>

<span class="keyword">const</span> <span class="identifier">Y</span> <span class="identifier">m</span> <span class="special">=</span> <span class="identifier">Y</span><span class="special">(</span><span class="identifier">rat</span><span class="special">.</span><span class="identifier">numerator</span><span class="special">())/</span><span class="identifier">Y</span><span class="special">(</span><span class="identifier">rat</span><span class="special">.</span><span class="identifier">denominator</span><span class="special">());</span>

@@ -1450,17 +1333,9 @@
     <span class="special">}</span>
 <span class="special">};</span>

-<span class="comment">/// specialize root typeof helper for complex&lt;Y&gt; -</span><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">class</span> <span class="identifier">Y</span><span class="special">,</span><span class="keyword">long</span> <span class="identifier">N</span><span class="special">,</span><span class="keyword">long</span> <span class="identifier">D</span><span class="special">&gt;</span> -<span class="keyword">struct</span> <span class="identifier">root_typeof_helper</span><span class="special">&lt;</span><span class="identifier">complex</span><span class="special">&lt;</span><span class="identifier">Y</span><span class="special">&gt;,</span><span class="identifier">static_rational</span><span class="special">&lt;</span><span class="identifier">N</span><span class="special">,</span><span class="identifier">D</span><span class="special">&gt;</span> <span class="special">&gt;</span>
-<span class="special">{</span>
- <span class="keyword">typedef</span> <span class="identifier">complex</span><span class="special">&lt;</span> +<span class="comment">/// specialize root typeof helper for complex&lt;Y&gt;<br></span><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">class</span> <span class="identifier">Y</span><span class="special">,</span><span class="keyword">long</span> <span class="identifier">N</span><span class="special">,</span><span class="keyword">long</span> <span class="identifier">D</span><span class="special">&gt;</span> <br><span class="keyword">struct</span> <span class="identifier">root_typeof_helper</span><span class="special">&lt;</span><span class="identifier">complex</span><span class="special">&lt;</span><span class="identifier">Y</span><span class="special">&gt;,</span><span class="identifier">static_rational</span><span class="special">&lt;</span><span class="identifier">N</span><span class="special">,</span><span class="identifier">D</span><span class="special">&gt;</span> <span class="special">&gt;</span> <br><span class="special">{</span> <br> <span class="keyword">typedef</span> <span class="identifier">complex</span><span class="special">&lt;</span> <span class="keyword">typename</span> <span class="identifier">root_typeof_helper</span><span class="special">&lt;</span><span class="identifier">Y</span><span class="special">,</span><span class="identifier">static_rational</span><span class="special">&lt;</span><span class="identifier">N</span><span class="special">,</span><span class="identifier">D</span><span class="special">&gt;</span> <span class="special">&gt;::</span><span class="identifier">type</span> - <span class="special">&gt;</span> <span class="identifier">type</span><span class="special">;</span>
-
- <span class="keyword">static</span> <span class="identifier">type</span> <span class="identifier">value</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">complex</span><span class="special">&lt;</span><span class="identifier">Y</span><span class="special">&gt;&amp;</span> <span class="identifier">x</span><span class="special">)</span>
-    <span class="special">{</span>
- <span class="keyword">const</span> <span class="identifier">static_rational</span><span class="special">&lt;</span><span class="identifier">N</span><span class="special">,</span><span class="identifier">D</span><span class="special">&gt;</span> <span class="identifier">rat</span><span class="special">;</span> + <span class="special">&gt;</span> <span class="identifier">type</span><span class="special">;</span> <br> <br> <span class="keyword">static</span> <span class="identifier">type</span> <span class="identifier">value</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">complex</span><span class="special">&lt;</span><span class="identifier">Y</span><span class="special">&gt;&amp;</span> <span class="identifier">x</span><span class="special">)</span> <br> <span class="special">{</span> <br> <span class="keyword">const</span> <span class="identifier">static_rational</span><span class="special">&lt;</span><span class="identifier">N</span><span class="special">,</span><span class="identifier">D</span><span class="special">&gt;</span> <span class="identifier">rat</span><span class="special">;</span>

<span class="keyword">const</span> <span class="identifier">Y</span> <span class="identifier">m</span> <span class="special">=</span> <span class="identifier">Y</span><span class="special">(</span><span class="identifier">rat</span><span class="special">.</span><span class="identifier">denominator</span><span class="special">())/</span><span class="identifier">Y</span><span class="special">(</span><span class="identifier">rat</span><span class="special">.</span><span class="identifier">numerator</span><span class="special">());</span>

@@ -1468,20 +1343,13 @@
     <span class="special">}</span>
 <span class="special">};</span>

-<span class="comment">/// specialize power typeof helper for complex&lt;quantity&lt;Unit,Y&gt; &gt; -</span><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">class</span> <span class="identifier">Y</span><span class="special">,</span><span class="keyword">class</span> <span class="identifier">Unit</span><span class="special">,</span><span class="keyword">long</span> <span class="identifier">N</span><span class="special">,</span><span class="keyword">long</span> <span class="identifier">D</span><span class="special">&gt;</span> -<span class="keyword">struct</span> <span class="identifier">power_typeof_helper</span><span class="special">&lt;</span><span class="identifier">complex</span><span class="special">&lt;</span><span class="identifier">quantity</span><span class="special">&lt;</span><span class="identifier">Unit</span><span class="special">,</span><span class="identifier">Y</span><span class="special">&gt;</span> <span class="special">&gt;,</span><span class="identifier">static_rational</span><span class="special">&lt;</span><span class="identifier">N</span><span class="special">,</span><span class="identifier">D</span><span class="special">&gt;</span> <span class="special">&gt;</span>
-<span class="special">{</span>
- <span class="keyword">typedef</span> <span class="keyword">typename</span> +<span class="comment">/// specialize power typeof helper for complex&lt;quantity&lt;Unit,Y&gt; &gt;<br></span><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">class</span> <span class="identifier">Y</span><span class="special">,</span><span class="keyword">class</span> <span class="identifier">Unit</span><span class="special">,</span><span class="keyword">long</span> <span class="identifier">N</span><span class="special">,</span><span class="keyword">long</span> <span class="identifier">D</span><span class="special">&gt;</span> <br><span class="keyword">struct</span> <span class="identifier">power_typeof_helper</span><span class="special">&lt;</span><span class="identifier">complex</span><span class="special">&lt;</span><span class="identifier">quantity</span><span class="special">&lt;</span><span class="identifier">Unit</span><span class="special">,</span><span class="identifier">Y</span><span class="special">&gt;</span> <span class="special">&gt;,</span><span class="identifier">static_rational</span><span class="special">&lt;</span><span class="identifier">N</span><span class="special">,</span><span class="identifier">D</span><span class="special">&gt;</span> <span class="special">&gt;</span> +<span class="special">{</span> <br> <span class="keyword">typedef</span> <span class="keyword">typename</span> <span class="identifier">power_typeof_helper</span><span class="special">&lt;</span><span class="identifier">Y</span><span class="special">,</span><span class="identifier">static_rational</span><span class="special">&lt;</span><span class="identifier">N</span><span class="special">,</span><span class="identifier">D</span><span class="special">&gt;</span> <span class="special">&gt;::</span><span class="identifier">type</span> <span class="identifier">value_type</span><span class="special">;</span> <span class="keyword">typedef</span> <span class="keyword">typename</span> <span class="identifier">power_typeof_helper</span><span class="special">&lt;</span><span class="identifier">Unit</span><span class="special">,</span><span class="identifier">static_rational</span><span class="special">&lt;</span><span class="identifier">N</span><span class="special">,</span><span class="identifier">D</span><span class="special">&gt;</span> <span class="special">&gt;::</span><span class="identifier">type</span> <span class="identifier">unit_type</span><span class="special">;</span> <span class="keyword">typedef</span> <span class="identifier">quantity</span><span class="special">&lt;</span><span class="identifier">unit_type</span><span class="special">,</span><span class="identifier">value_type</span><span class="special">&gt;</span> <span class="identifier">quantity_type</span><span class="special">;</span> - <span class="keyword">typedef</span> <span class="identifier">complex</span><span class="special">&lt;</span><span class="identifier">quantity_type</span><span class="special">&gt;</span> <span class="identifier">type</span><span class="special">;</span>
-
- <span class="keyword">static</span> <span class="identifier">type</span> <span class="identifier">value</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">complex</span><span class="special">&lt;</span><span class="identifier">quantity</span><span class="special">&lt;</span><span class="identifier">Unit</span><span class="special">,</span><span class="identifier">Y</span><span class="special">&gt;</span> <span class="special">&gt;&amp;</span> <span class="identifier">x</span><span class="special">)</span>
-    <span class="special">{</span>
- <span class="keyword">const</span> <span class="identifier">complex</span><span class="special">&lt;</span><span class="identifier">value_type</span><span class="special">&gt;</span> <span class="identifier">tmp</span> <span class="special">=</span> + <span class="keyword">typedef</span> <span class="identifier">complex</span><span class="special">&lt;</span><span class="identifier">quantity_type</span><span class="special">&gt;</span> <span class="identifier">type</span><span class="special">;</span> <br> <br> <span class="keyword">static</span> <span class="identifier">type</span> <span class="identifier">value</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">complex</span><span class="special">&lt;</span><span class="identifier">quantity</span><span class="special">&lt;</span><span class="identifier">Unit</span><span class="special">,</span><span class="identifier">Y</span><span class="special">&gt;</span> <span class="special">&gt;&amp;</span> <span class="identifier">x</span><span class="special">)</span> <br> <span class="special">{</span> <br> <span class="keyword">const</span> <span class="identifier">complex</span><span class="special">&lt;</span><span class="identifier">value_type</span><span class="special">&gt;</span> <span class="identifier">tmp</span> <span class="special">=</span> <span class="identifier">pow</span><span class="special">&lt;</span><span class="identifier">static_rational</span><span class="special">&lt;</span><span class="identifier">N</span><span class="special">,</span><span class="identifier">D</span><span class="special">&gt;</span> <span class="special">&gt;(</span><span class="identifier">complex</span><span class="special">&lt;</span><span class="identifier">Y</span><span class="special">&gt;(</span><span class="identifier">x</span><span class="special">.</span><span class="identifier">real</span><span class="special">().</span><span class="identifier">value</span><span class="special">(),</span> <span class="identifier">x</span><span class="special">.</span><span class="identifier">imag</span><span class="special">().</span><span class="identifier">value</span><span class="special">()));</span>

@@ -1490,20 +1358,13 @@
     <span class="special">}</span>
 <span class="special">};</span>

-<span class="comment">/// specialize root typeof helper for complex&lt;quantity&lt;Unit,Y&gt; &gt; -</span><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">class</span> <span class="identifier">Y</span><span class="special">,</span><span class="keyword">class</span> <span class="identifier">Unit</span><span class="special">,</span><span class="keyword">long</span> <span class="identifier">N</span><span class="special">,</span><span class="keyword">long</span> <span class="identifier">D</span><span class="special">&gt;</span> -<span class="keyword">struct</span> <span class="identifier">root_typeof_helper</span><span class="special">&lt;</span><span class="identifier">complex</span><span class="special">&lt;</span><span class="identifier">quantity</span><span class="special">&lt;</span><span class="identifier">Unit</span><span class="special">,</span><span class="identifier">Y</span><span class="special">&gt;</span> <span class="special">&gt;,</span><span class="identifier">static_rational</span><span class="special">&lt;</span><span class="identifier">N</span><span class="special">,</span><span class="identifier">D</span><span class="special">&gt;</span> <span class="special">&gt;</span>
-<span class="special">{</span>
- <span class="keyword">typedef</span> <span class="keyword">typename</span> +<span class="comment">/// specialize root typeof helper for complex&lt;quantity&lt;Unit,Y&gt; &gt;<br></span><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">class</span> <span class="identifier">Y</span><span class="special">,</span><span class="keyword">class</span> <span class="identifier">Unit</span><span class="special">,</span><span class="keyword">long</span> <span class="identifier">N</span><span class="special">,</span><span class="keyword">long</span> <span class="identifier">D</span><span class="special">&gt;</span> <br><span class="keyword">struct</span> <span class="identifier">root_typeof_helper</span><span class="special">&lt;</span><span class="identifier">complex</span><span class="special">&lt;</span><span class="identifier">quantity</span><span class="special">&lt;</span><span class="identifier">Unit</span><span class="special">,</span><span class="identifier">Y</span><span class="special">&gt;</span> <span class="special">&gt;,</span><span class="identifier">static_rational</span><span class="special">&lt;</span><span class="identifier">N</span><span class="special">,</span><span class="identifier">D</span><span class="special">&gt;</span> <span class="special">&gt;</span> +<span class="special">{</span> <br> <span class="keyword">typedef</span> <span class="keyword">typename</span> <span class="identifier">root_typeof_helper</span><span class="special">&lt;</span><span class="identifier">Y</span><span class="special">,</span><span class="identifier">static_rational</span><span class="special">&lt;</span><span class="identifier">N</span><span class="special">,</span><span class="identifier">D</span><span class="special">&gt;</span> <span class="special">&gt;::</span><span class="identifier">type</span> <span class="identifier">value_type</span><span class="special">;</span> <span class="keyword">typedef</span> <span class="keyword">typename</span> <span class="identifier">root_typeof_helper</span><span class="special">&lt;</span><span class="identifier">Unit</span><span class="special">,</span><span class="identifier">static_rational</span><span class="special">&lt;</span><span class="identifier">N</span><span class="special">,</span><span class="identifier">D</span><span class="special">&gt;</span> <span class="special">&gt;::</span><span class="identifier">type</span> <span class="identifier">unit_type</span><span class="special">;</span> <span class="keyword">typedef</span> <span class="identifier">quantity</span><span class="special">&lt;</span><span class="identifier">unit_type</span><span class="special">,</span><span class="identifier">value_type</span><span class="special">&gt;</span> <span class="identifier">quantity_type</span><span class="special">;</span> - <span class="keyword">typedef</span> <span class="identifier">complex</span><span class="special">&lt;</span><span class="identifier">quantity_type</span><span class="special">&gt;</span> <span class="identifier">type</span><span class="special">;</span>
-
- <span class="keyword">static</span> <span class="identifier">type</span> <span class="identifier">value</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">complex</span><span class="special">&lt;</span><span class="identifier">quantity</span><span class="special">&lt;</span><span class="identifier">Unit</span><span class="special">,</span><span class="identifier">Y</span><span class="special">&gt;</span> <span class="special">&gt;&amp;</span> <span class="identifier">x</span><span class="special">)</span>
-    <span class="special">{</span>
- <span class="keyword">const</span> <span class="identifier">complex</span><span class="special">&lt;</span><span class="identifier">value_type</span><span class="special">&gt;</span> <span class="identifier">tmp</span> <span class="special">=</span> + <span class="keyword">typedef</span> <span class="identifier">complex</span><span class="special">&lt;</span><span class="identifier">quantity_type</span><span class="special">&gt;</span> <span class="identifier">type</span><span class="special">;</span> <br> <br> <span class="keyword">static</span> <span class="identifier">type</span> <span class="identifier">value</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">complex</span><span class="special">&lt;</span><span class="identifier">quantity</span><span class="special">&lt;</span><span class="identifier">Unit</span><span class="special">,</span><span class="identifier">Y</span><span class="special">&gt;</span> <span class="special">&gt;&amp;</span> <span class="identifier">x</span><span class="special">)</span> <br> <span class="special">{</span> <br> <span class="keyword">const</span> <span class="identifier">complex</span><span class="special">&lt;</span><span class="identifier">value_type</span><span class="special">&gt;</span> <span class="identifier">tmp</span> <span class="special">=</span> <span class="identifier">root</span><span class="special">&lt;</span><span class="identifier">static_rational</span><span class="special">&lt;</span><span class="identifier">N</span><span class="special">,</span><span class="identifier">D</span><span class="special">&gt;</span> <span class="special">&gt;(</span><span class="identifier">complex</span><span class="special">&lt;</span><span class="identifier">Y</span><span class="special">&gt;(</span><span class="identifier">x</span><span class="special">.</span><span class="identifier">real</span><span class="special">().</span><span class="identifier">value</span><span class="special">(),</span> <span class="identifier">x</span><span class="special">.</span><span class="identifier">imag</span><span class="special">().</span><span class="identifier">value</span><span class="special">()));</span>

@@ -1512,10 +1373,8 @@
     <span class="special">}</span>
 <span class="special">};</span>

-<span class="special">}</span> <span class="comment">// namespace units
-</span>
-<span class="special">}</span> <span class="comment">// namespace boost
-</span></pre>
+<span class="special">}</span> <span class="comment">// namespace units<br></span> +<span class="special">}</span> <span class="comment">// namespace boost<br></span></pre>
 <p>
         </p>
 <p>
@@ -1523,7 +1382,7 @@
 <p>
With this replacement <code class="computeroutput"><span class="identifier">complex</span></code>
         class, we can declare a complex variable :
-        <br />
+        <br>
使用这个替代的<code class="computeroutput"><span class="identifier">complex</span></code>,我们定义一个复数变量:
       </p>
 <p>
@@ -1541,7 +1400,7 @@
       </p>
 <p>
to get the correct behavior for all cases supported by <span class="underline"><code class="computeroutput"><a class="link" href="../boost/units/quantity.html" title="Class template quantity">quantity</a></code></span> with a <code class="computeroutput"><span class="identifier">complex</span></code> value type :
-        <br />
+        <br>
能看到使用<code class="computeroutput"><span class="identifier">complex</span></code>作为数值类型的<span class="underline"><code class="computeroutput"><a class="link" href="../boost/units/quantity.html" title="Class template quantity">quantity</a></code></span>支持的所有操作:
       </p>
 <p>
@@ -1568,7 +1427,7 @@
and, similarly, <code class="computeroutput"><span class="identifier">complex</span></code> with a <span class="underline"><code class="computeroutput"><a class="link" href="../boost/units/quantity.html" title="Class template quantity">quantity</a></code></span>
         value type
-        <br />
+        <br>
类似的,用<span class="underline"><code class="computeroutput"><a class="link" href="../boost/units/quantity.html" title="Class template quantity">quantity</a></code></span>作为数值类型的<code class="computeroutput"><span class="identifier">complex</span></code>:
       </p>
 <p>
@@ -1626,7 +1485,7 @@
maximal performance. Zero overhead for this test has been verified using gcc 4.0.1, and icc 9.0, 10.0, and 10.1 on Mac OS 10.4 and 10.5, and using
         msvc 8.0 on Windows XP.
-        <br />
+        <br>
这个例子展示了一个专门的性能测试来说明用<span class="underline"><code class="computeroutput"><a class="link" href="../boost/units/quantity.html" title="Class template quantity">quantity</a></code></span>代替<code class="computeroutput"><span class="keyword">double</span></code>不会引入运行时开销。
         运行优化和测试不是微不足道的,所以在剖析时某些地方必须注意。
         编译器优化模板实例化的能力和inline调用的能力是很重要的。
@@ -1644,7 +1503,7 @@
 <p>
This example demonstrates the implementation of two non-SI units of length,
         the nautical mile :
-        <br />
+        <br>
         这个例子展示了两个非SI长度单位的实现,海里:
       </p>
 <p>
@@ -1654,8 +1513,7 @@
 </p>
<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">nautical</span> <span class="special">{</span>

-<span class="keyword">struct</span> <span class="identifier">length_base_unit</span> <span class="special">:</span> - <span class="identifier">boost</span><span class="special">::</span><span class="identifier">units</span><span class="special">::</span><span class="identifier">base_unit</span><span class="special">&lt;</span><span class="identifier">length_base_unit</span><span class="special">,</span> <span class="identifier">length_dimension</span><span class="special">,</span> <span class="number">1</span><span class="special">&gt;</span> +<span class="keyword">struct</span> <span class="identifier">length_base_unit</span> <span class="special">:</span> <br> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">units</span><span class="special">::</span><span class="identifier">base_unit</span><span class="special">&lt;</span><span class="identifier">length_base_unit</span><span class="special">,</span> <span class="identifier">length_dimension</span><span class="special">,</span> <span class="number">1</span><span class="special">&gt;</span>
 <span class="special">{</span>
<span class="keyword">static</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <span class="identifier">name</span><span class="special">()</span> <span class="special">{</span> <span class="keyword">return</span> <span class="string">"nautical mile"</span><span class="special">;</span> <span class="special">}</span> <span class="keyword">static</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <span class="identifier">symbol</span><span class="special">()</span> <span class="special">{</span> <span class="keyword">return</span> <span class="string">"nmi"</span><span class="special">;</span> <span class="special">}</span>
@@ -1663,15 +1521,12 @@

<span class="keyword">typedef</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">units</span><span class="special">::</span><span class="identifier">make_system</span><span class="special">&lt;</span><span class="identifier">length_base_unit</span><span class="special">&gt;::</span><span class="identifier">type</span> <span class="identifier">system</span><span class="special">;</span>

-<span class="comment">/// unit typedefs
-</span><span class="keyword">typedef</span> <span class="identifier">unit</span><span class="special">&lt;</span><span class="identifier">length_dimension</span><span class="special">,</span><span class="identifier">system</span><span class="special">&gt;</span> <span class="identifier">length</span><span class="special">;</span> +<span class="comment">/// unit typedefs<br></span><span class="keyword">typedef</span> <span class="identifier">unit</span><span class="special">&lt;</span><span class="identifier">length_dimension</span><span class="special">,</span><span class="identifier">system</span><span class="special">&gt;</span> <span class="identifier">length</span><span class="special">;</span>

<span class="keyword">static</span> <span class="keyword">const</span> <span class="identifier">length</span> <span class="identifier">mile</span><span class="special">,</span><span class="identifier">miles</span><span class="special">;</span>

-<span class="special">}</span> <span class="comment">// namespace nautical
-</span>
-<span class="comment">// helper for conversions between nautical length and si length -</span><span class="identifier">BOOST_UNITS_DEFINE_CONVERSION_FACTOR</span><span class="special">(</span><span class="identifier">nautical</span><span class="special">::</span><span class="identifier">length_base_unit</span><span class="special">,</span> +<span class="special">}</span> <span class="comment">// namespace nautical<br></span> +<span class="comment">// helper for conversions between nautical length and si length<br></span><span class="identifier">BOOST_UNITS_DEFINE_CONVERSION_FACTOR</span><span class="special">(</span><span class="identifier">nautical</span><span class="special">::</span><span class="identifier">length_base_unit</span><span class="special">,</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">units</span><span class="special">::</span><span class="identifier">si</span><span class="special">::</span><span class="identifier">meter_base_unit</span><span class="special">,</span> <span class="keyword">double</span><span class="special">,</span> <span class="number">1.852e3</span><span class="special">);</span>
 </pre>
@@ -1681,7 +1536,7 @@
       </p>
 <p>
         and the imperial foot :
-        <br />
+        <br>
         和英制的尺:
       </p>
 <p>
@@ -1691,8 +1546,7 @@
 </p>
<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">imperial</span> <span class="special">{</span>

-<span class="keyword">struct</span> <span class="identifier">length_base_unit</span> <span class="special">:</span> - <span class="identifier">boost</span><span class="special">::</span><span class="identifier">units</span><span class="special">::</span><span class="identifier">base_unit</span><span class="special">&lt;</span><span class="identifier">length_base_unit</span><span class="special">,</span> <span class="identifier">length_dimension</span><span class="special">,</span> <span class="number">2</span><span class="special">&gt;</span> +<span class="keyword">struct</span> <span class="identifier">length_base_unit</span> <span class="special">:</span> <br> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">units</span><span class="special">::</span><span class="identifier">base_unit</span><span class="special">&lt;</span><span class="identifier">length_base_unit</span><span class="special">,</span> <span class="identifier">length_dimension</span><span class="special">,</span> <span class="number">2</span><span class="special">&gt;</span>
 <span class="special">{</span>
<span class="keyword">static</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <span class="identifier">name</span><span class="special">()</span> <span class="special">{</span> <span class="keyword">return</span> <span class="string">"foot"</span><span class="special">;</span> <span class="special">}</span> <span class="keyword">static</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <span class="identifier">symbol</span><span class="special">()</span> <span class="special">{</span> <span class="keyword">return</span> <span class="string">"ft"</span><span class="special">;</span> <span class="special">}</span>
@@ -1700,15 +1554,12 @@

<span class="keyword">typedef</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">units</span><span class="special">::</span><span class="identifier">make_system</span><span class="special">&lt;</span><span class="identifier">length_base_unit</span><span class="special">&gt;::</span><span class="identifier">type</span> <span class="identifier">system</span><span class="special">;</span>

-<span class="comment">/// unit typedefs
-</span><span class="keyword">typedef</span> <span class="identifier">unit</span><span class="special">&lt;</span><span class="identifier">length_dimension</span><span class="special">,</span><span class="identifier">system</span><span class="special">&gt;</span> <span class="identifier">length</span><span class="special">;</span> +<span class="comment">/// unit typedefs<br></span><span class="keyword">typedef</span> <span class="identifier">unit</span><span class="special">&lt;</span><span class="identifier">length_dimension</span><span class="special">,</span><span class="identifier">system</span><span class="special">&gt;</span> <span class="identifier">length</span><span class="special">;</span>

<span class="keyword">static</span> <span class="keyword">const</span> <span class="identifier">length</span> <span class="identifier">foot</span><span class="special">,</span><span class="identifier">feet</span><span class="special">;</span>

-<span class="special">}</span> <span class="comment">// imperial
-</span>
-<span class="comment">// helper for conversions between imperial length and si length -</span><span class="identifier">BOOST_UNITS_DEFINE_CONVERSION_FACTOR</span><span class="special">(</span><span class="identifier">imperial</span><span class="special">::</span><span class="identifier">length_base_unit</span><span class="special">,</span>
+<span class="special">}</span> <span class="comment">// imperial<br></span>
+<span class="comment">// helper for conversions between imperial length and si length<br></span><span class="identifier">BOOST_UNITS_DEFINE_CONVERSION_FACTOR</span><span class="special">(</span><span class="identifier">imperial</span><span class="special">::</span><span class="identifier">length_base_unit</span><span class="special">,</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">units</span><span class="special">::</span><span class="identifier">si</span><span class="special">::</span><span class="identifier">meter_base_unit</span><span class="special">,</span> <span class="keyword">double</span><span class="special">,</span> <span class="number">1.0</span><span class="special">/</span><span class="number">3.28083989501312</span><span class="special">);</span>
 </pre>
@@ -1721,7 +1572,7 @@
for computing radar beam height from radar range and the local earth radius are defined. The first takes arguments in one system and returns a value
         in the same system :
-        <br />
+        <br>
         这些单位和米之间都存在着转换关系。
         三个通过雷达范围和当地地球半径计算雷达截面高度的函数被定义了。
         第一个函数以一个单位系统为参数,返回同样单位系统的值:
@@ -1748,7 +1599,7 @@
 <p>
The second is similar, but is templated on return type, so that the arguments
         are converted to the return unit system internally :
-        <br />
+        <br>
第二个函数类似,只是将返回值模板化了,这样参数就在内部被转换为返回 值的单位系统:
       </p>
 <p>
@@ -1762,8 +1613,7 @@
<span class="keyword">const</span> <span class="identifier">quantity</span><span class="special">&lt;</span><span class="identifier">unit</span><span class="special">&lt;</span><span class="identifier">length_dimension</span><span class="special">,</span><span class="identifier">System2</span><span class="special">&gt;,</span><span class="identifier">T</span><span class="special">&gt;&amp;</span> <span class="identifier">earth_radius</span><span class="special">,</span> <span class="identifier">T</span> <span class="identifier">k</span> <span class="special">=</span> <span class="number">4.0</span><span class="special">/</span><span class="number">3.0</span><span class="special">)</span>
 <span class="special">{</span>
- <span class="comment">// need to decide which system to use for calculation -</span> <span class="keyword">const</span> <span class="identifier">return_type</span> <span class="identifier">rr</span><span class="special">(</span><span class="identifier">radar_range</span><span class="special">),</span> + <span class="comment">// need to decide which system to use for calculation<br></span> <span class="keyword">const</span> <span class="identifier">return_type</span> <span class="identifier">rr</span><span class="special">(</span><span class="identifier">radar_range</span><span class="special">),</span> <span class="identifier">er</span><span class="special">(</span><span class="identifier">earth_radius</span><span class="special">);</span>

<span class="keyword">return</span> <span class="identifier">return_type</span><span class="special">(</span><span class="identifier">pow</span><span class="special">&lt;</span><span class="number">2</span><span class="special">&gt;(</span><span class="identifier">rr</span><span class="special">)/(</span><span class="number">2.0</span><span class="special">*</span><span class="identifier">k</span><span class="special">*</span><span class="identifier">er</span><span class="special">));</span>
@@ -1778,7 +1628,7 @@
for radar ranges specified in nautical miles, returning beam height in feet. This function uses the heterogeneous unit of nautical miles per square root
         of feet to ensure dimensional correctness :
-        <br />
+        <br>
最后,第三个函数是一个经验公式(empirical approximation不会译),只有 当雷达范围的单位是海里,返回的截面高度是英尺时才正确。
         这个函数使用了异构的单位,nautical miles per square root of feet:
       </p>
@@ -1800,7 +1650,7 @@
       </p>
 <p>
With these, we can compute radar beam height in various unit systems :
-        <br />
+        <br>
         这样,我们可以用不同的单位系统来计算雷达截面高度:
***The diff for this file has been truncated for email.***
=======================================
--- /trunk/doc/html/boost_units/Units.html      Mon Nov 10 22:58:23 2008
+++ /trunk/doc/html/boost_units/Units.html      Wed Sep  2 20:31:58 2009
@@ -1,29 +1,28 @@
-<html>
-<head>
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html><head>
 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
-<title>Units</title>
-<link rel="stylesheet" href="../boostbook.css" type="text/css">
+
+<title>Units</title><link rel="stylesheet" href="../boostbook.css" type="text/css">
 <meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
<link rel="start" href="../index.html" title="The Boost C++ Libraries BoostBook Documentation Subset"> -<link rel="up" href="../boost_units.html" title="Chapter 22. Boost.Units 1.0.0"> +<link rel="up" href="../boost_units.html" title="Chapter&nbsp;22.&nbsp;Boost.Units 1.0.0"> <link rel="prev" href="Dimensional_Analysis.html" title="Dimensional Analysis">
-<link rel="next" href="Quantities.html" title="Quantities">
-</head>
-<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
-<table cellpadding="2" width="100%"><tr>
-<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../boost.png"></td>
+<link rel="next" href="Quantities.html" title="Quantities"></head>
+<body alink="#0000ff" bgcolor="white" link="#0000ff" text="black" vlink="#840084">
+<table cellpadding="2" width="100%"><tbody><tr>
+<td valign="top"><img alt="Boost C++ Libraries" src="../../../boost.png" height="86" width="277"></td>
 <td align="center"><a href="../../../index.html">Home</a></td>
 <td align="center"><a href="../../../libs/libraries.htm">Libraries</a></td>
<td align="center"><a href="http://www.boost.org/users/people.html";>People</a></td> <td align="center"><a href="http://www.boost.org/users/faq.html";>FAQ</a></td>
 <td align="center"><a href="../../../more/index.htm">More</a></td>
-</tr></table>
+</tr></tbody></table>
 <hr>
 <div class="spirit-nav">
<a accesskey="p" href="Dimensional_Analysis.html"><img src="../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../boost_units.html"><img src="../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="Quantities.html"><img src="../../../doc/html/images/next.png" alt="Next"></a>
 </div>
 <div class="section" lang="en">
-<div class="titlepage"><div><div><h2 class="title" style="clear: both">
+<div class="titlepage"><div><div><h2 class="title" style="clear: both;">
<a name="boost_units.Units"></a><a class="link" href="Units.html" title="Units">Units 单位</a>
 </h2></div></div></div>
 <div class="toc"><dl>
@@ -31,15 +30,16 @@
<dt><span class="section"><a href="Units.html#boost_units.Units.scaled_base_units">Scaled Base Units 成比 例基础单位</a></span></dt> <dt><span class="section"><a href="Units.html#boost_units.Units.scaled_units">Scaled Units 成比例单位 </a></span></dt>
 </dl></div>
-<p>
- We define a <span class="bold"><strong>unit</strong></span> as a linear combination of - base units. Thus, the SI unit corresponding to the dimension of force is kg - m s^-2, where kg, m, and s are base units. We use the notion of a <span class="bold"><strong>unit system</strong></span> such as SI to specify the mapping from a
+<p>We define a <span class="bold"><strong>unit</strong></span> as a set
+of base units each of which can be raised to an arbitrary rational
+exponent.&nbsp;Thus, the SI unit corresponding to the dimension of
+force is kg m s^-2, where kg, m, and s are base units. We use the
+notion of a <span class="bold"><strong>unit system</strong></span> such as SI to specify the mapping from a dimension to a particular unit so that instead of specifying the base units explicitly, we can just ask for the representation of a dimension in a particular
       system.
-    <br />
- 我们把基础单位(base unit)的线性组合(linear combination)定义为<span class="bold"><strong>单位(unit)</strong></span>。
+    <br>
+ 我们把<span class="bold"><strong>单位(unit)</strong></span>定义为一个基 础单位(base unit)的集合,其中各个基础单位可带有任意的有理数指数<span class="bold"><strong></strong></span>。 例如,SI中力(force)的单位(unit)是kg m s^-2,其中kg、m、s都是基础单位 (base unit)。 我们使用<span class="bold"><strong>单位系统(unit system)</strong></span>(如SI)来表明从量纲(dimension)到具体单位(particular unit)的映射,这样就不必总是明确指明基础单位(base unit),只是说明某个特定系统 (particular system)下的量纲(dimension)就可以了。
 </p>
@@ -48,14 +48,14 @@
value. Units obey the same algebra as dimensions do; the presence of the unit system serves to ensure that units having identical reduced dimension in different systems (like feet and meters) cannot be inadvertently mixed in computations.
-    <br />
+    <br>
     单位(unit)和量纲(dimension)一样,都是纯粹的编译时变量,并没有相关的值。
单位(unit)同样遵循量纲(dimension)的代数(algebra)法则;单位系统(unit system)保证 在不同系统中可以化简为相同reduced dimension的单位(例如英尺(feet)和米 (meter))并不会被无意中混杂在一起。
 </p>
 <p>
       There are two distinct types of systems that can be envisioned:
-    <br />
+    <br>
     在想象中有两种不同类型的系统:
 </p>
 <div class="itemizedlist"><ul type="disc">
@@ -65,7 +65,7 @@
different dimensions. For example, the SI system has seven base dimensions and seven base units corresponding to them. It can represent any unit which uses only those seven base dimensions. Thus it is a homogeneous_system.
-        <br />
+        <br>
<span class="bold"><strong>同构系统</strong></span>:系统包含一系列线性无关 的基础单位(base unit), 可用来表示许多不同的量纲。例如,SI系统有7个基本量纳(base dimension)和 7个相关的基础单位(base unit)。 它可以使用这7个基本量纲(base dimension)表达任意单位(unit)。它就是一个同 构系统。
@@ -82,7 +82,7 @@
In order to enforce dimensional correctness of this equation, the constant, C, must be expressed in nautical miles per foot^(1/2), mixing two distinct
         base units of length.
-        <br />
+        <br>
<span class="bold"><strong>异构系统</strong></span>:Systems which store the exponents of
     every base unit involved are termed heterogeneous.(???)
某些单位(unit)只能用这种方式表示(represent)。例如,用m ft表示面积 (area)就是异构的,因为
@@ -97,7 +97,7 @@
Units are implemented by the <span class="underline"><code class="computeroutput"><a class="link" href="../boost/units/unit.html" title="Class template unit">unit</a></code></span> template class defined in <code class="computeroutput"><a class="link" href="Reference.html#header.boost.units.unit.hpp" title="Header &lt;boost/units/unit.hpp&gt;">boost/units/unit.hpp</a></code>
       :
-    <br />
+    <br>
单位由定义在<code class="computeroutput"><a class="link" href="Reference.html#header.boost.units.unit.hpp" title="Header &lt;boost/units/unit.hpp&gt;">boost/units/unit.hpp</a></code>文件中的模板类 <span class="underline"><code class="computeroutput"><a class="link" href="../boost/units/unit.html" title="Class template unit">unit</a></code></span>实现:
 </p>
<pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">class</span> <span class="identifier">Dim</span><span class="special">,</span><span class="keyword">class</span> <span class="identifier">System</span><span class="special">&gt;</span> <span class="keyword">class</span> <span class="identifier">unit</span><span class="special">;</span>
@@ -114,10 +114,10 @@
<span class="underline"><code class="computeroutput"><a class="link" href="../boost/units/power_typeof_helper.html" title="Struct template power_typeof_helper">power_typeof_helper</a></code></span> and <span class="underline"><code class="computeroutput"><a class="link" href="../boost/units/root_typeof_helper.html" title="Struct template root_typeof_helper">root_typeof_helper</a></code></span>
       have been defined.
-    <br />
+    <br>
为了支持编译时量纲分析(compile-time dimensional analysis),+、-、*、/等 运行时操作符由<span class="underline"><code class="computeroutput"><a class="link" href="../boost/units/unit.html" title="Class template unit">unit</a></code></span>变量提供。 因为乘方(power)和开方(root)的量纲(dimension)必须在编译时计算,所以不太 可能为<span class="underline"><code class="computeroutput"><a class="link" href="../boost/units/unit.html" title="Class template unit">unit</a></code></span>提供<code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">pow</span></code>等函数的正确的重载。 - 这些操作通过自由函数<span class="underline"><code class="computeroutput"><a class="link" href="../boost/units/pow_id3214400.html" title="Function template pow">pow</a></code></span>和<span class="underline"<code class="computerouotput"><a class="link" href="../boost/units/root.html" title="Function template root">root</a></code></span>提供, + 这些操作通过自由函数<span class="underline"><code class="computeroutput"><a class="link" href="../boost/units/pow_id3214400.html" title="Function template pow">pow</a></code></span>和<span class="underline"><code class="computerouotput"><a class="link" href="../boost/units/root.html" title="Function template root">root</a></code></span>提供, 这些函数都是基于整数和<span class="underline"><code class="computeroutput"><a class="link" href="../boost/units/static_rational.html" title="Class template static_rational">静态有理数(static_rational)</a></code></span>的模板, 并可以工具类<span class="underline"><code class="computeroutput"><a class="link" href="../boost/units/power_typeof_helper.html" title="Struct template power_typeof_helper">power_typeof_helper</a></code></span>和<span class="underline"><code class="computeroutput"><a class="link" href="../boost/units/root_typeof_helper.html" title="Struct template root_typeof_helper">root_typeof_helper</a></code></span>定义的任意类型为参 数。
 </p>
@@ -127,14 +127,14 @@
 </h3></div></div></div>
 <p>
         Base units are defined much like base dimensions.
-      <br />
+      <br>
     基础单位(base unit)定义类似于基础量纲(base dimension)。
 </p>
<pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">class</span> <span class="identifier">Derived</span><span class="special">,</span> <span class="keyword">class</span> <span class="identifier">Dimensions</span><span class="special">,</span> <span class="keyword">long</span> <span class="identifier">N</span><span class="special">&gt;</span> <span class="keyword">struct</span> <span class="identifier">base_unit</span> <span class="special">{</span> <span class="special">...</span> <span class="special">};</span>
 </pre>
 <p>
         Again negative ordinals are reserved.
-      <br />
+      <br>
     负数的序号再次被保留。
 </p>
 <p>
@@ -142,7 +142,7 @@
system based on the fundamental dimensions given above, demonstrating all steps necessary for a completely functional system. First, we simply define a unit system that includes type definitions for commonly used units:
-        <br />
+        <br>
举个例子,下面我们将根据之前定义的基本量纲(fundamental dimension)实 现一SI单位系统(SI unit system)的一部分, 展示定义一个完整系统所必须的步骤。首先,我们简单地定义一个单位系统 (unit system)包含常见单位的类型定义(type definition):
       </p>
@@ -160,8 +160,7 @@
<span class="identifier">kilogram_base_unit</span><span class="special">,</span> <span class="identifier">second_base_unit</span><span class="special">&gt;::</span><span class="identifier">type</span> <span class="identifier">mks_system</span><span class="special">;</span>

-<span class="comment">/// unit typedefs
-</span><span class="keyword">typedef</span> <span class="identifier">unit</span><span class="special">&lt;</span><span class="identifier">dimensionless_type</span><span class="special">,</span><span class="identifier">mks_system</span><span class="special">&gt;</span> <span class="identifier">dimensionless</span><span class="special">;</span> +<span class="comment">/// unit typedefs<br></span><span class="keyword">typedef</span> <span class="identifier">unit</span><span class="special">&lt;</span><span class="identifier">dimensionless_type</span><span class="special">,</span><span class="identifier">mks_system</span><span class="special">&gt;</span> <span class="identifier">dimensionless</span><span class="special">;</span>

<span class="keyword">typedef</span> <span class="identifier">unit</span><span class="special">&lt;</span><span class="identifier">length_dimension</span><span class="special">,</span><span class="identifier">mks_system</span><span class="special">&gt;</span> <span class="identifier">length</span><span class="special">;</span> <span class="keyword">typedef</span> <span class="identifier">unit</span><span class="special">&lt;</span><span class="identifier">mass_dimension</span><span class="special">,</span><span class="identifier">mks_system</span><span class="special">&gt;</span> <span class="identifier">mass</span><span class="special">;</span>
@@ -179,7 +178,7 @@
is provided in <code class="computeroutput"><a class="link" href="Reference.html#header.boost.units.static_constant.hpp" title="Header &lt;boost/units/static_constant.hpp&gt;">boost/units/static_constant.hpp</a></code> to facilitate ODR- and thread-safe constant definition in header files. We then define some constants for the supported units to simplify variable definitions:
-        <br />
+        <br>
宏<span class="underline"><code class="computeroutput"><a class="link" href="../BOOST_UNITS_STATIC_CONSTANT.html" title="Macro BOOST_UNITS_STATIC_CONSTANT">BOOST_UNITS_STATIC_CONSTANT</a></code></span>定 义于<code class="computeroutput"><a class="link" href="Reference.html#header.boost.units.static_constant.hpp" title="Header &lt;boost/units/static_constant.hpp&gt;">boost/units/static_constant.hpp</a></code>头 文件中,以方便地在头文件中实现ODR-(One Definition Rule 一次定义法则)和线程安 全(thread-safe)的常量(constant)定义。
         我们接下来定义几个支持单位的常量来简化变量定义:
       </p>
@@ -188,8 +187,7 @@
 <p>

 </p>
-<pre class="programlisting"><span class="comment">/// unit constants
-</span><span class="identifier">BOOST_UNITS_STATIC_CONSTANT</span><span class="special">(</span><span class="identifier">meter</span><span class="special">,</span><span class="identifier">length</span><span class="special">);</span> +<pre class="programlisting"><span class="comment">/// unit constants <br></span><span class="identifier">BOOST_UNITS_STATIC_CONSTANT</span><span class="special">(</span><span class="identifier">meter</span><span class="special">,</span><span class="identifier">length</span><span class="special">);</span> <span class="identifier">BOOST_UNITS_STATIC_CONSTANT</span><span class="special">(</span><span class="identifier">meters</span><span class="special">,</span><span class="identifier">length</span><span class="special">);</span> <span class="identifier">BOOST_UNITS_STATIC_CONSTANT</span><span class="special">(</span><span class="identifier">kilogram</span><span class="special">,</span><span class="identifier">mass</span><span class="special">);</span> <span class="identifier">BOOST_UNITS_STATIC_CONSTANT</span><span class="special">(</span><span class="identifier">kilograms</span><span class="special">,</span><span class="identifier">mass</span><span class="special">);</span>
@@ -209,7 +207,7 @@
If support for textual output of units is desired, we can also specialize the <span class="underline"><code class="computeroutput"><a class="link" href="../boost/units/base_unit_info.html" title="Struct template base_unit_info">base_unit_info</a></code></span>
         class for each fundamental dimension tag:
-        <br />
+        <br>
如果支持单位(unit)的文本输出(textual output),我们需要为每个基本量 纲标签(fundamental dimension tag)特化(specialize)<span class="underline"><code class="computeroutput"><a class="link" href="../boost/units/base_unit_info.html" title="Struct template base_unit_info">base_unit_info</a></code></span>类:
       </p>
 <p>
@@ -235,7 +233,7 @@
provide full and short names for the base unit. With these definitions, we have the rudimentary beginnings of our unit system, which can be used to
         determine reduced dimensions for arbitrary unit calculations.
-        <br />
+        <br>
<code class="computer"><span class="identifier">kilogram_base_unit</span></code>和<code class="computeroutput"><span class="identifier">second_base_unit</span></code>也是同样。 未来的版本会通过facet/locale-type机制提供一个支持国际化 (internationalization)的可伸缩(flexible)系统。 <span class="underline"><code class="computerouotput"><a class="link" href="../boost/units/base_unit_info.html" title="Struct template base_unit_info">base_unit_info</a></code></span>类的<code class="computeroutput"><span class="identifier">name</span><span class="special">()</span></code>和<code class="computeroutput"><span class="identifier">symbol</span><span class="special">()</span></code>方法提 供了基础单位(base unit)的全称和简称。
@@ -250,7 +248,7 @@
Now, it is also possible to define a base unit as being a multiple of another base unit. For example, the way that <code class="computeroutput"><span class="identifier">kilogram_base_unit</span></code>
         is actually defined by the library is along the following lines
-        <br />
+        <br>
现在,我们有可能定义一个基础单位是另一个基础单位的倍数。例 如,<code class="computeroutput"><span class="identifier">kilogram_base_unit</span></code>在库中就是下面这样定义的
       </p>
<pre class="programlisting"><span class="keyword">struct</span> <span class="identifier">gram_base_unit</span> <span class="special">:</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">units</span><span class="special">::</span><span class="identifier">base_unit</span><span class="special">&lt;</span><span class="identifier">gram_base_unit</span><span class="special">,</span> <span class="identifier">mass_dimension</span><span class="special">,</span> <span class="number">1</span><span class="special">&gt;</span> <span class="special">{};</span>
@@ -258,32 +256,32 @@
 </pre>
 <p>
         This basically defines a kilogram as being 10^3 times a gram.
-        <br />
+        <br>
         这里定义了千克(kilogram)是克(gram)的1000倍。
       </p>
 <p>
         There are several advantages to this approach.
-        <br />
+        <br>
         这种做法有几种好处。
       </p>
 <div class="itemizedlist"><ul type="disc">
 <li>
It reflects the real meaning of these units better than treating them as
           independent units.
-          <br />
+          <br>
           它比孤立地处理单位要好,这样可以反应出这些单位的真实意义。
         </li>
 <li>
If a conversion is defined between grams or kilograms and some other units, it will automatically work for both kilograms and grams, with only one
           specialization.
-          <br />
+          <br>
如果克(gram)或者千克(kilogram)有一个与别的单位有转换关系,那么它 会自动应用到克(gram)和千克(kilogram)两个上,只需要一个特化而已。
         </li>
 <li>
           Similarly, if the symbol for grams is defined as "g", then the
           symbol for kilograms will be "kg" without any extra effort.
-          <br />
+          <br>
类似地,如果克(gram)的符号(symbol)是"g",那么千克(kilogram)的符号 (symbol)就会自动被定义为"kg"。
         </li>
 </ul></div>
@@ -297,29 +295,28 @@
as a whole, rather than scaling the individual base units which comprise it. For this purpose, we use the metafunction <span class="underline"><code class="computeroutput"><a class="link" href="../boost/units/make_scaled_unit.html" title="Struct template make_scaled_unit">make_scaled_unit</a></code></span>. The main motivation for this feature is the metric prefixes defined in <code class="computeroutput"><a class="link" href="Reference.html#header.boost.units.systems.si.prefixes.hpp" title="Header &lt;boost/units/systems/si/prefixes.hpp&gt;">boost/units/systems/si/prefixes.hpp</a></code>.
-        <br />
+        <br>
我们也可以直接为<span class="underline"><code class="computeroutput"><a class="link" href="../boost/units/unit.html" title="Class template unit">单位(unit)</a></code></span>定义比例,而不是为组 合的每个基础单位(base unit)定义比例。 为了这个目的,我们可以使用元函数(metafunction) <span class="underline"><code class="computeroutput"><a class="link" href="../boost/units/make_scaled_unit.html" title="Struct template make_scaled_unit">make_scaled_unit</a></code></span>。 这个特点主要的动机是为了定义在<code class="computeroutput"><a class="link" href="Reference.html#header.boost.units.systems.si.prefixes.hpp" title="Header &lt;boosot/units/systems/si/prefixes.hpp&gt;">boost/units/systems/si/prefixes.hpp</a></code>文 件中的公制前缀(metric prefixes)。
       </p>
 <p>
         A simple example of its usage would be.
-        <br />一个用法的简单例子如下。
+        <br>一个用法的简单例子如下。
       </p>
<pre class="programlisting"><span class="keyword">typedef</span> <span class="identifier">make_scaled_unit</span><span class="special">&lt;</span><span class="identifier">si</span><span class="special">::</span><span class="identifier">time</span><span class="special">,</span> <span class="identifier">scale</span><span class="special">&lt;</span><span class="number">10</span><span class="special">,</span> <span class="identifier">static_rational</span><span class="special">&lt;-</span><span class="number">9</span><span class="special">&gt;</span> <span class="special">&gt;</span> <span class="special">&gt;::</span><span class="identifier">type</span> <span class="identifier">nanosecond</span><span class="special">;</span>
 </pre>
 <p>
nanosecond is a specialization of <span class="underline"><code class="computeroutput"><a class="link" href="../boost/units/unit.html" title="Class template unit">unit</a></code></span>,
         and can be used in a quantity normally.
-        <br />
+        <br>
纳秒(nanosecond)是一个特化(specialization)的<span class="underline"><code class="computeroutput"><a class="link" href="../boost/units/unit.html" title="Class template unit">单位 (unit)</a></code></span>,可以像通常一样表示数量(quantity)。
       </p>
<pre class="programlisting"><span class="identifier">quantity</span><span class="special">&lt;</span><span class="identifier">nanosecond</span><span class="special">&gt;</span> <span class="identifier">t</span><span class="special">(</span><span class="number">1.0</span> <span class="special">*</span> <span class="identifier">si</span><span class="special">::</span><span class="identifier">seconds</span><span class="special">);</span> -<span class="identifier">std</span><span class="special">::</span><span class="identifier">cout</span> <span class="special">&lt;&lt;</span> <span class="identifier">t</span> <span class="special">&lt;&lt;</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">endl</span><span class="special">;</span> <span class="comment">// prints 1e9 ns
-</span></pre>
+<span class="identifier">std</span><span class="special">::</span><span class="identifier">cout</span> <span class="special">&lt;&lt;</span> <span class="identifier">t</span> <span class="special">&lt;&lt;</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">endl</span><span class="special">;</span> <span class="comment">// prints 1e9 ns<br></span></pre>
 </div>
 </div>
-<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision"; width="100%"><tr> +<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision"; width="100%"><tbody><tr>
 <td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright (c) 2003 -2008 Matthias Christian Schabel, 2007-2008 Steven
       Watanabe<p>
@@ -327,10 +324,9 @@
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>
 </div></td>
-</tr></table>
+</tr></tbody></table>
 <hr>
 <div class="spirit-nav">
<a accesskey="p" href="Dimensional_Analysis.html"><img src="../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../boost_units.html"><img src="../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="Quantities.html"><img src="../../../doc/html/images/next.png" alt="Next"></a>
 </div>
-</body>
-</html>
+</body></html>
=======================================
--- /trunk/doc/html/boost_units.html    Mon Jun  1 02:14:09 2009
+++ /trunk/doc/html/boost_units.html    Wed Sep  2 20:31:58 2009
@@ -168,22 +168,13 @@
     下面是一些测试成功通过的编译器和平台:
     </p>
 <div class="orderedlist"><ol type="1">
-<li>
-        g++ 4.0.1 on Mac OSX 10.4
-      </li>
-<li>
-        Intel CC 9.1, 10.0, and 10.1 on Mac OSX 10.4
-      </li>
-<li>
-        g++ 3.4.4, 4.2.3, and 4.3.0 on Windows XP
-      </li>
-<li>
-        Microsoft Visual C++ 7.1, 8.0, and 9.0 on Windows XP
-      </li>
-<li>
-        Metrowerks CodeWarrior 9.2 on Windows XP.
-      </li>
-</ol></div>
+<li class="listitem">g++ 4.0.1 on Mac OSX 10.4
+</li><li class="listitem">Intel CC 9.1, 10.0, and 10.1 on Mac OSX 10.4
+</li><li class="listitem">g++ 3.4.4, 4.2.3, and 4.3.0 on Windows XP
+</li><li class="listitem">Microsoft Visual C++ 7.1, 8.0, and 9.0 on Windows XP
+</li><li class="listitem">Comeau 4.3.10.1 beta2 on Windows XP
+</li><li class="listitem">Metrowerks CodeWarrior 9.2 on Windows XP.
+</li><li class="listitem">Sun CC 5.9 on Solaris and Linux</li></ol></div>
 <p>
The following compilers/platforms are known <span class="bold"><strong>not</strong></span>
       to work :
@@ -191,23 +182,15 @@
下面是很不幸的已知<span class="bold"><strong>不能</strong></span>成功使 用的平台和编译器:
     </p>
 <div class="orderedlist"><ol type="1">
-<li>
-        g++ 3.3.x
-      </li>
-<li>
-        Microsoft Visual C++ 6.0 on Windows XP
-      </li>
-<li>
-        Microsoft Visual C++ 7.0 on Windows XP
-      </li>
-<li>
-        Metrowerks CodeWarrior 8.0 on Windows XP.
-      </li>
-</ol></div>
+<li class="listitem">g++ 3.3.x
+</li><li class="listitem">Microsoft Visual C++ 6.0 on Windows XP
+</li><li class="listitem">Microsoft Visual C++ 7.0 on Windows XP
+</li><li class="listitem">Metrowerks CodeWarrior 8.0 on Windows XP.
+</li><li class="listitem">All versions of Borland.</li></ol></div>
 </div>
 </div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision"; width="100%"><tbody><tr> -<td align="left"><p><small>Last revised: May 01, 2009 at 19:24:07 GMT</small></p></td> +<td align="left"><p><small>Last revised: August 24, 2009 at 23:13:27 GMT</small></p></td>
 <td align="right"><div class="copyright-footer"></div></td>
 </tr></tbody></table>
 <hr>
=======================================
--- /trunk/doc/html/string_algo/usage.html      Mon Dec 29 19:26:14 2008
+++ /trunk/doc/html/string_algo/usage.html      Wed Sep  2 20:31:58 2009
@@ -63,7 +63,7 @@
 <div class="titlepage"><div><div><h3 class="title">
 <a name="id3483221"></a>判断式与分类</h3></div></div></div>
 <p>本库的一部分用于处理和 string 相关的判断式。考虑这个例子:</p>
-<pre class="programlisting"> bool is_executable( string&amp; filename )<br> {<br> return <br> iends_with(filename, ".exe") || <br> iends_with(filename, ".com");<br> }<br><br> // ...<br> string str1("command.com");<br> cout <br> &lt;&lt; str1<br> &lt;&lt; is_executable("command.com")? "is": "is not" <br> &lt;&lt; "an executable" <br> &lt;&lt; endl; // prints "command.com is an executable"<br> <br> //..<br> char text1[]="hello world!";<br> cout <br> &lt;&lt; text1 <br> &lt;&lt; all( text1, is_lower() )? "is": "is not"<br> &lt;&lt; " written in the lower case" <br> &lt;&lt; endl; // prints "hello world! is written in the lower case"<br> </pre> +<pre class="programlisting"> bool is_executable( string&amp; filename )<br> {<br> return <br> iends_with(filename, ".exe") || <br> iends_with(filename, ".com");<br> }<br><br> // ...<br> string str1("command.com");<br> cout <br> &lt;&lt; str1<br> &lt;&lt; (is_executable("command.com")? "is": "is not") <br> &lt;&lt; "an executable" <br> &lt;&lt; endl; // prints "command.com is an executable"<br> <br> //..<br> char text1[]="hello world!";<br> cout <br> &lt;&lt; text1 <br> &lt;&lt; (all( text1, is_lower() )? "is": "is not")<br> &lt;&lt; " written in the lower case" <br> &lt;&lt; endl; // prints "hello world! is written in the lower case"<br> </pre> <p>判断式用于判定在各种条件下,一个 substring 是否包含于输入 string。条件 为:一个 string 以这个 substring 开始,以这个 substring 结尾,直接包含这个 substring 以及两个 string 是否相等。更多的细节请参见 <code class="computeroutput"><a class="link" href="reference.html#header.boost.algorithm.string.predicate.hpp" title="Header &lt;boost/algorithm/string/predicate.hpp&gt;">boost/algorithm/string/predicate.hpp</a></code> 的参考。</p>
@@ -116,7 +116,7 @@
 </div>
 </div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision"; width="100%"><tbody><tr> -<td align="left"><p><small>Last revised: February 27, 2008 at 15:00:24 -0500</small></p></td> +<td align="left"><p><small>Last revised: June 14, 2009 at 23:56:08 +0100</small></p></td> <td align="right"><div class="copyright-footer">Copyright (c) 2002-2004 Pavol Droba<p>Use, modification and distribution is subject to the Boost
                 Software License, Version 1.0. (See accompanying file
<code class="filename">LICENSE_1_0.txt</code> or copy at <a href="http://www.boost.org/LICENSE_1_0.txt"; target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
=======================================
--- /trunk/doc/html/unordered/buckets.html      Mon Jun  1 02:14:09 2009
+++ /trunk/doc/html/unordered/buckets.html      Wed Sep  2 20:31:58 2009
@@ -225,14 +225,23 @@
 </th>
 </tr>
 </thead><tbody>
-<tr>
+<tr><td>
+<p><code class="computeroutput"><span class="identifier">X</span><span class="special">(</span><span class="identifier">size_type</span> <span class="identifier">n</span><span class="special">)</span></code> </p></td>
+<td>
+<p>Construct an empty container with at least <code class="computeroutput"><span class="identifier">n</span></code> buckets (<code class="computeroutput"><span class="identifier">X</span></code> is the container type).<br>构造一个空容器,带有至少 <code class="computeroutput"><span class="identifier">n</span></code> 个桶(<code class="computeroutput"><span class="identifier">X</span></code> 为容器类型 )。 </p></td></tr><tr><td> +<p><code class="computeroutput"><span class="identifier">X</span><span class="special">(</span><span class="identifier">InputIterator</span> <span class="identifier">i</span><span class="special">,</span> <span class="identifier">InputIterator</span> <span class="identifier">j</span><span class="special">,</span> <span class="identifier">size_type</span> <span class="identifier">n</span><span class="special">)</span></code> </p></td>
+<td>
+<p>Construct an empty container with at least <code class="computeroutput"><span class="identifier">n</span></code> buckets and insert elements from the range +[<code class="computeroutput"><span class="identifier">i</span></code>, <code class="computeroutput"><span class="identifier">j</span></code>) (<code class="computeroutput"><span class="identifier">X</span></code> is the container +type).</p><p>构造一个空容器,带有至少 <code class="computeroutput"><span class="identifier">n</span></code> 个桶,并插入区间 +[<code class="computeroutput"><span class="identifier">i</span></code>, <code class="computeroutput"><span class="identifier">j</span></code>) 中的 元素(<code class="computeroutput"><span class="identifier">X</span></code> 为容器类型)。</p></td></tr><tr>
 <td>
<p> <code class="computeroutput"><span class="keyword">float</span> <span class="identifier">load_factor</span><span class="special">()</span> <span class="keyword">const</span></code>
 </p>
 </td>
 <td>
-<p> The average number of elements per bucket.</p>
-<p>每个桶中的元素的平均数量 </p>
+
+<p> The average number of elements per bucket.<br>每个桶中的元素的平均数量 </p>
 </td>
 </tr>
 <tr>
@@ -241,8 +250,8 @@
 </p>
 </td>
 <td>
-<p> Returns the current maximum load factor.</p>
-<p>返回当前的最大负载因子 </p>
+
+<p> Returns the current maximum load factor.<br>返回当前的最大负载因子 </p>
 </td>
 </tr>
 <tr>
@@ -251,9 +260,9 @@
 <span class="identifier">z</span><span class="special">)</span></code> </p>
 </td>
 <td>
+
<p> Changes the container's maximum load factor, using <code class="computeroutput"><span class="identifier">z</span></code>
-as a hint.</p>
-<p>修改容器的最大负载因子,以 <code class="computeroutput"><span class="identifier">z</span></code> 作为提示。 </p> +as a hint.<br>修改容器的最大负载因子,以 <code class="computeroutput"><span class="identifier">z</span></code> 作为提示。 </p>
 </td>
 </tr>
 <tr>
@@ -262,10 +271,10 @@
 <span class="identifier">n</span><span class="special">)</span></code> </p>
 </td>
 <td>
+
 <p> Changes the number of buckets so that there at least n
 buckets, and so that the load factor is less than the maximum load
-factor.</p>
-<p>修改桶的数量,至少为 n 个桶,且负载因子小于最大负载因子 </p>
+factor.<br>修改桶的数量,至少为 n 个桶,且负载因子小于最大负载因子 </p>
 </td>
 </tr>
 </tbody>
=======================================
--- /trunk/doc/html/unordered/changes.html      Mon Jun  1 02:14:09 2009
+++ /trunk/doc/html/unordered/changes.html      Wed Sep  2 20:31:58 2009
@@ -135,7 +135,27 @@
 </li><li>Some other minor internal changes to the implementation, tests and
 documentation.<br>对于实现细节、测试和文档的一些其它细小的内部变化。
</li><li>Avoid an unnecessary copy in <code class="computeroutput"><span class="keyword">operator</span><span class="special">[]</span></code>.<br> -避免在 <code class="computeroutput"><span class="keyword">operator</span><span class="special">[]</span></code> 中的一 个不必要的复制。</li></ul></div></div> +避免在 <code class="computeroutput"><span class="keyword">operator</span><span class="special">[]</span></code> 中的一 个不必要的复制。</li><li><a href="https://svn.boost.org/trac/boost/ticket/2975"; target="_top">Ticket
+2975</a>: Fix length of prime number list.<br>
+<a href="https://svn.boost.org/trac/boost/ticket/2975"; target="_top">Ticket
+2975</a>: 固定长度的质数表。 </li></ul></div><h3><a name="id1967508"></a><a class="link" href="changes.html#unordered.changes.boost_1_40_0">Boost 1.40.0</a> </h3>
+<div class="itemizedlist">
+<ul class="itemizedlist" type="disc"><li class="listitem"><a href="https://svn.boost.org/trac/boost/ticket/2975"; target="_top">Ticket 2975</a>: Store the prime list as a preprocessor sequence - +so that it will always get the length right if it changes again in the future.<br> +<a href="https://svn.boost.org/trac/boost/ticket/2975"; target="_top">Ticket 2975</a>: 将质数表保存为一个预处理器序列 - 这样如果以后 再次变更,也总能获得正确的长度。 +</li><li class="listitem"><a href="https://svn.boost.org/trac/boost/ticket/1978"; target="_top">Ticket 1978</a>: Implement <code class="computeroutput"><span class="identifier">emplace</span></code> for all compilers.<br> +<a href="https://svn.boost.org/trac/boost/ticket/1978"; target="_top">Ticket 1978</a>: 为所有编译器实现 <code class="computeroutput"><span class="identifier">emplace</span></code>。 +</li><li class="listitem"><a href="https://svn.boost.org/trac/boost/ticket/2908"; target="_top">Ticket 2908</a>, <a href="https://svn.boost.org/trac/boost/ticket/3096"; target="_top">Ticket 3096</a>:
+Some workarounds for old versions of borland, including adding explicit
+destructors to all containers.<br>
+<a href="https://svn.boost.org/trac/boost/ticket/2908"; target="_top">Ticket 2908</a>, <a href="https://svn.boost.org/trac/boost/ticket/3096"; target="_top">Ticket 3096</a>: 针对旧版本的 borland 编译器的一些变通方法,包括为所有容器增加显式 析构函数。 +</li><li class="listitem"><a href="https://svn.boost.org/trac/boost/ticket/3082"; target="_top">Ticket 3082</a>: Disable incorrect Visual C++ warnings.<br> +<a href="https://svn.boost.org/trac/boost/ticket/3082"; target="_top">Ticket 3082</a>: 禁止不正确的 Visual C++ 警告。 +</li><li class="listitem">Better configuration for C++0x features when the headers
+aren't available.<br>
+当头文件不可用时,可更好地配置 C++0x 的特性。
+</li><li class="listitem">Create less buckets by default.<br>
+缺省情况下创建量少的桶。 </li></ul></div><br></div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision"; width="100%">
 <tbody>
 <tr>
=======================================
--- /trunk/doc/html/unordered.html      Mon Jun  1 02:14:09 2009
+++ /trunk/doc/html/unordered.html      Wed Sep  2 20:31:58 2009
@@ -183,7 +183,7 @@
   </p>
 </div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision"; width="100%"><tbody><tr> -<td align="left"><p><small>Last revised: May 01, 2009 at 19:24:11 GMT</small></p></td> +<td align="left"><p><small>Last revised: August 24, 2009 at 23:13:30 GMT</small></p></td>
 <td align="right"><div class="copyright-footer"></div></td>
 </tr></tbody></table>
 <hr>
=======================================
--- /trunk/doc/html/variant.html        Mon Jun  1 02:14:09 2009
+++ /trunk/doc/html/variant.html        Wed Sep  2 20:31:58 2009
@@ -191,24 +191,8 @@
 <div>
 <div class="legalnotice">
 <a name="id1940572"></a>
-<p>Permission to copy, use, sell and distribute this software
-    is granted provided this copyright notice appears in all copies.
-    Permission to modify the code and to distribute modified code is
-    granted provided this copyright notice appears in all copies, and
-    a notice that the code was modified is included with the copyright
-    notice.</p>
-
-
-
-
-<p> This software is provided "as is" without express or
-    implied warranty, and with no claim as to its suitability for any
-    purpose.</p>
-
-
-
-
-</div>
+<p>Distributed under the Boost Software License, Version 1.0. (See accompanying +file <code class="filename">LICENSE_1_0.txt</code> 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></div>



=======================================
--- /trunk/doc/html/xpressive/reference.html    Wed Jun 24 00:35:24 2009
+++ /trunk/doc/html/xpressive/reference.html    Wed Sep  2 20:31:58 2009
@@ -3,7 +3,7 @@
 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

<title>Reference</title><link rel="stylesheet" href="../boostbook.css" type="text/css">
-<meta name="generator" content="DocBook XSL Stylesheets V1.74.3">
+<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
<link rel="home" href="../index.html" title="The Boost C++ Libraries BoostBook Documentation Subset"> <link rel="up" href="../xpressive.html" title="Chapter&nbsp;27.&nbsp;Boost.Xpressive">
 <link rel="prev" href="user_s_guide.html" title="User's Guide">
@@ -21,7 +21,7 @@
 <div class="spirit-nav">
<a accesskey="p" href="user_s_guide.html"><img src="../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../xpressive.html"><img src="../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="../boost/xpressive/basic_regex.html"><img src="../../../doc/html/images/next.png" alt="Next"></a>
 </div>
-<div class="section" lang="en">
+<div class="section" title="Reference">
 <div class="titlepage"><div><div><h2 class="title" style="clear: both;">
 <a name="xpressive.reference"></a>Reference</h2></div></div></div>
 <div class="toc"><dl>
@@ -46,64 +46,68 @@
<dt><span class="section"><a href="reference.html#header.boost.xpressive.xpressive_static_hpp">Header &lt;boost/xpressive/xpressive_static.hpp&gt;</a></span></dt> <dt><span class="section"><a href="reference.html#header.boost.xpressive.xpressive_typeof_hpp">Header &lt;boost/xpressive/xpressive_typeof.hpp&gt;</a></span></dt>
 </dl></div>
-<div class="section" lang="en">
+<div class="section" title="Header &lt;boost/xpressive/basic_regex.hpp&gt;">
 <div class="titlepage"><div><div><h3 class="title">
<a name="header.boost.xpressive.basic_regex_hpp"></a>Header &lt;<a href="../../../boost/xpressive/basic_regex.hpp" target="_top">boost/xpressive/basic_regex.hpp</a>&gt;</h3></div></div></div> -<p>Contains the definition of the basic_regex&lt;&gt; class template and its associated helper functions.<br>包含&nbsp;basic_regex&lt;&gt; 类模板以及 相关辅助函数的定义。 </p> -<pre class="synopsis"><span class="bold"><strong>namespace</strong></span> boost {<br> <span class="bold"><strong>namespace</strong></span> xpressive {<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> BidiIter&gt; <span class="bold"><strong>struct</strong></span> <a class="link" href="../boost/xpressive/basic_regex.html" title="Struct template basic_regex">basic_regex</a>;<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> BidiIter&gt; <br> <span class="type"><span class="bold"><strong>void</strong></span></span> <a class="link" href="../boost/xpressive/swap_id2999531.html" title="Function template swap">swap</a>(<a class="link" href="../boost/xpressive/basic_regex.html" title="Struct template basic_regex">basic_regex</a>&lt; BidiIter &gt; &amp;, <a class="link" href="../boost/xpressive/basic_regex.html" title="Struct template basic_regex">basic_regex</a>&lt; BidiIter &gt; &amp;);<br> }<br>}</pre> +<p>Contains the definition of the basic_regex&lt;&gt; class template and its associated helper functions.<br>包含&nbsp;basic_regex&lt;&gt; 类模板以及 相关辅助函数的定义。 </p> +<pre class="synopsis"><span class="bold"><strong>namespace</strong></span> boost {<br> <span class="bold"><strong>namespace</strong></span> xpressive {<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> BidiIter&gt; <span class="bold"><strong>struct</strong></span> <a class="link" href="../boost/xpressive/basic_regex.html" title="Struct template basic_regex">basic_regex</a>;<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> BidiIter&gt; <br> <span class="type"><span class="bold"><strong>void</strong></span></span> <a class="link" href="../boost/xpressive/swap_id1445453.html" title="Function template swap">swap</a>(<a class="link" href="../boost/xpressive/basic_regex.html" title="Struct template basic_regex">basic_regex</a>&lt; BidiIter &gt; &amp;, <a class="link" href="../boost/xpressive/basic_regex.html" title="Struct template basic_regex">basic_regex</a>&lt; BidiIter &gt; &amp;);<br> }<br>}</pre>
 </div>
-<div class="section" lang="en">
+<div class="section" title="Header &lt;boost/xpressive/match_results.hpp&gt;">
 <div class="titlepage"><div><div><h3 class="title">
<a name="header.boost.xpressive.match_results_hpp"></a>Header &lt;<a href="../../../boost/xpressive/match_results.hpp" target="_top">boost/xpressive/match_results.hpp</a>&gt;</h3></div></div></div>
 <p>Contains the definition of the match_results type and associated
 helpers. The match_results type holds the results of a regex_match() or
-regex_search() operation.<br>包含 match_results 类型以及相关辅助类的定义。 match_results 类保存了 regex_match() 或
-regex_search() 操作的结果。 </p>
+regex_search() operation.<br>包含 match_results 类型以及相关辅助类的定义。 match_results 类保存了 regex_match() 或
+regex_search() 操作的结果。  </p>
<pre class="synopsis"><span class="bold"><strong>namespace</strong></span> boost {<br> <span class="bold"><strong>namespace</strong></span> xpressive {<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> BidiIter&gt; <span class="bold"><strong>struct</strong></span> <a class="link" href="../boost/xpressive/match_results.html" title="Struct template match_results">match_results</a>;<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> BidiIter&gt; <span class="bold"><strong>struct</strong></span> <a class="link" href="../boost/xpressive/regex_id_filter_predicate.html" title="Struct template regex_id_filter_predicate">regex_id_filter_predicate</a>;<br> }<br>}</pre>
 </div>
-<div class="section" lang="en">
+<div class="section" title="Header &lt;boost/xpressive/regex_actions.hpp&gt;">
 <div class="titlepage"><div><div><h3 class="title">
<a name="header.boost.xpressive.regex_actions_hpp"></a>Header &lt;<a href="../../../boost/xpressive/regex_actions.hpp" target="_top">boost/xpressive/regex_actions.hpp</a>&gt;</h3></div></div></div> -<p>Defines the syntax elements of xpressive's action expressions.<br>定义了 xpressive的动作表达式的语法元素。 </p> -<pre class="synopsis"><span class="bold"><strong>namespace</strong></span> boost {<br> <span class="bold"><strong>namespace</strong></span> xpressive {<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> Fun&gt; <span class="bold"><strong>struct</strong></span> <a class="link" href="../boost/xpressive/function.html" title="Struct template function">function</a>;<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> T&gt; <span class="bold"><strong>struct</strong></span> <a class="link" href="../boost/xpressive/value.html" title="Struct template value">value</a>;<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> T&gt; <span class="bold"><strong>struct</strong></span> <a class="link" href="../boost/xpressive/reference.html" title="Struct template reference">reference</a>;<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> T&gt; <span class="bold"><strong>struct</strong></span> <a class="link" href="../boost/xpressive/local.html" title="Struct template local">local</a>;<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> T, <span class="bold"><strong>int</strong></span> I, <span class="bold"><strong>typename</strong></span> Dummy&gt; <span class="bold"><strong>struct</strong></span> <a class="link" href="../boost/xpressive/placeholder.html" title="Struct template placeholder">placeholder</a>;<br><br> <a class="link" href="../boost/function.html" title="Class template function">function</a>&lt; <a class="link" href="../boost/xpressive/op/push.html" title="Struct push">op::push</a> &gt;::type const <a class="link" href="../boost/xpressive/push.html" title="Global push">push</a>;<br> <a class="link" href="../boost/function.html" title="Class template function">function</a>&lt; <a class="link" href="../boost/xpressive/op/push_back.html" title="Struct push_back">op::push_back</a> &gt;::type const <a class="link" href="../boost/xpressive/push_back.html" title="Global push_back">push_back</a>;<br> <a class="link" href="../boost/function.html" title="Class template function">function</a>&lt; <a class="link" href="../boost/xpressive/op/push_front.html" title="Struct push_front">op::push_front</a> &gt;::type const <a class="link" href="../boost/xpressive/push_front.html" title="Global push_front">push_front</a>;<br> <a class="link" href="../boost/function.html" title="Class template function">function</a>&lt; <a class="link" href="../boost/xpressive/op/pop.html" title="Struct pop">op::pop</a> &gt;::type const <a class="link" href="../boost/xpressive/pop.html" title="Global pop">pop</a>;<br> <a class="link" href="../boost/function.html" title="Class template function">function</a>&lt; <a class="link" href="../boost/xpressive/op/pop_back.html" title="Struct pop_back">op::pop_back</a> &gt;::type const <a class="link" href="../boost/xpressive/pop_back.html" title="Global pop_back">pop_back</a>;<br> <a class="link" href="../boost/function.html" title="Class template function">function</a>&lt; <a class="link" href="../boost/xpressive/op/pop_front.html" title="Struct pop_front">op::pop_front</a> &gt;::type const <a class="link" href="../boost/xpressive/pop_front.html" title="Global pop_front">pop_front</a>;<br> <a class="link" href="../boost/function.html" title="Class template function">function</a>&lt; <a class="link" href="../boost/xpressive/op/top.html" title="Struct top">op::top</a> &gt;::type const <a class="link" href="../boost/xpressive/top.html" title="Global top">top</a>;<br> <a class="link" href="../boost/function.html" title="Class template function">function</a>&lt; <a class="link" href="../boost/xpressive/op/back.html" title="Struct back">op::back</a> &gt;::type const <a class="link" href="../boost/xpressive/back.html" title="Global back">back</a>;<br> <a class="link" href="../boost/function.html" title="Class template function">function</a>&lt; <a class="link" href="../boost/xpressive/op/front.html" title="Struct front">op::front</a> &gt;::type const <a class="link" href="../boost/xpressive/front.html" title="Global front">front</a>;<br> <a class="link" href="../boost/function.html" title="Class template function">function</a>&lt; <a class="link" href="../boost/xpressive/op/first.html" title="Struct first">op::first</a> &gt;::type const <a class="link" href="../boost/xpressive/first.html" title="Global first">first</a>;<br> <a class="link" href="../boost/function.html" title="Class template function">function</a>&lt; <a class="link" href="../boost/xpressive/op/second.html" title="Struct second">op::second</a> &gt;::type const <a class="link" href="../boost/xpressive/second.html" title="Global second">second</a>;<br> <a class="link" href="../boost/function.html" title="Class template function">function</a>&lt; <a class="link" href="../boost/xpressive/op/matched.html" title="Struct matched">op::matched</a> &gt;::type const <a class="link" href="../boost/xpressive/matched.html" title="Global matched">matched</a>;<br> <a class="link" href="../boost/function.html" title="Class template function">function</a>&lt; <a class="link" href="../boost/xpressive/op/length.html" title="Struct length">op::length</a> &gt;::type const <a class="link" href="../boost/xpressive/length.html" title="Global length">length</a>;<br> <a class="link" href="../boost/function.html" title="Class template function">function</a>&lt; <a class="link" href="../boost/xpressive/op/str.html" title="Struct str">op::str</a> &gt;::type const <a class="link" href="../boost/xpressive/str.html" title="Global str">str</a>;<br> <a class="link" href="../boost/function.html" title="Class template function">function</a>&lt; <a class="link" href="../boost/xpressive/op/insert.html" title="Struct insert">op::insert</a> &gt;::type const <a class="link" href="../boost/xpressive/insert.html" title="Global insert">insert</a>;<br> <a class="link" href="../boost/function.html" title="Class template function">function</a>&lt; <a class="link" href="../boost/xpressive/op/make_pair.html" title="Struct make_pair">op::make_pair</a> &gt;::type const <a class="link" href="../boost/xpressive/make_pair.html" title="Global make_pair">make_pair</a>;<br> <a class="link" href="../boost/xpressive/static_cast_.html" title="Global static_cast_">static_cast_</a>;<br> () <a class="link" href="../boost/xpressive/dynamic_cast_.html" title="Global dynamic_cast_">dynamic_cast_</a>;<br> ()() <a class="link" href="../boost/xpressive/const_cast_.html" title="Global const_cast_">const_cast_</a>;<br> <span class="emphasis"><em>unspecified</em></span> <a class="link" href="../boost/xpressive/check.html" title="Global check">check</a>;<br> <span class="emphasis"><em>unspecified</em></span> <a class="link" href="../boost/xpressive/let.html" title="Global let">let</a>;<br> <span class="type"></span> <a class="link" href="../boost/xpressive/BOOST_PROTO_DEFINE_FUNC_id3002459.html" title="Function BOOST_PROTO_DEFINE_FUNCTION_TEMPLATE">BOOST_PROTO_DEFINE_FUNCTION_TEMPLATE</a>(1, as, boost::proto::default_domain, <br> (boost::proto::tag::function), <br> ((<a class="link" href="../boost/xpressive/op/as.html" title="Struct template as">op::as</a>)(<span class="bold"><strong>typename</strong></span>)));<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> T&gt; <span class="type"><a class="link" href="../boost/xpressive/reference.html" title="Struct template reference">reference</a>&lt; T &gt; <span class="bold"><strong>const</strong></span></span> <a class="link" href="../boost/xpressive/ref_id3002500.html" title="Function template ref">ref</a>(T &amp;);<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> T&gt; <span class="type"><a class="link" href="../boost/xpressive/reference.html" title="Struct template reference">reference</a>&lt; T <span class="bold"><strong>const</strong></span> &gt; <span class="bold"><strong>const</strong></span></span> <a class="link" href="../boost/xpressive/cref_id3002524.html" title="Function template cref">cref</a>(T <span class="bold"><strong>const</strong></span> &amp;);<br> <span class="type"></span> <a class="link" href="../boost/xpressive/BOOST_PROTO_DEFINE_VARA_id3002548.html" title="Function BOOST_PROTO_DEFINE_VARARG_FUNCTION_TEMPLATE">BOOST_PROTO_DEFINE_VARARG_FUNCTION_TEMPLATE</a>(construct, <br> boost::proto::default_domain, <br> (boost::proto::tag::function), <br> ((<a class="link" href="../boost/xpressive/op/construct.html" title="Struct template construct">op::construct</a>)(<span class="bold"><strong>typename</strong></span>)));<br> <span class="bold"><strong>namespace</strong></span> op {<br> <span class="bold"><strong>struct</strong></span> <a class="link" href="../boost/xpressive/op/push.html" title="Struct push">push</a>;<br> <span class="bold"><strong>struct</strong></span> <a class="link" href="../boost/xpressive/op/push_back.html" title="Struct push_back">push_back</a>;<br> <span class="bold"><strong>struct</strong></span> <a class="link" href="../boost/xpressive/op/push_front.html" title="Struct push_front">push_front</a>;<br> <span class="bold"><strong>struct</strong></span> <a class="link" href="../boost/xpressive/op/pop.html" title="Struct pop">pop</a>;<br> <span class="bold"><strong>struct</strong></span> <a class="link" href="../boost/xpressive/op/pop_back.html" title="Struct pop_back">pop_back</a>;<br> <span class="bold"><strong>struct</strong></span> <a class="link" href="../boost/xpressive/op/pop_front.html" title="Struct pop_front">pop_front</a>;<br> <span class="bold"><strong>struct</strong></span> <a class="link" href="../boost/xpressive/op/front.html" title="Struct front">front</a>;<br> <span class="bold"><strong>struct</strong></span> <a class="link" href="../boost/xpressive/op/back.html" title="Struct back">back</a>;<br> <span class="bold"><strong>struct</strong></span> <a class="link" href="../boost/xpressive/op/top.html" title="Struct top">top</a>;<br> <span class="bold"><strong>struct</strong></span> <a class="link" href="../boost/xpressive/op/first.html" title="Struct first">first</a>;<br> <span class="bold"><strong>struct</strong></span> <a class="link" href="../boost/xpressive/op/second.html" title="Struct second">second</a>;<br> <span class="bold"><strong>struct</strong></span> <a class="link" href="../boost/xpressive/op/matched.html" title="Struct matched">matched</a>;<br> <span class="bold"><strong>struct</strong></span> <a class="link" href="../boost/xpressive/op/length.html" title="Struct length">length</a>;<br> <span class="bold"><strong>struct</strong></span> <a class="link" href="../boost/xpressive/op/str.html" title="Struct str">str</a>;<br> <span class="bold"><strong>struct</strong></span> <a class="link" href="../boost/xpressive/op/insert.html" title="Struct insert">insert</a>;<br> <span class="bold"><strong>struct</strong></span> <a class="link" href="../boost/xpressive/op/make_pair.html" title="Struct make_pair">make_pair</a>;<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> T&gt; <span class="bold"><strong>struct</strong></span> <a class="link" href="../boost/xpressive/op/as.html" title="Struct template as">as</a>;<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> T&gt; <span class="bold"><strong>struct</strong></span> <a class="link" href="../boost/xpressive/op/static_cast_.html" title="Struct template static_cast_">static_cast_</a>;<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> T&gt; <span class="bold"><strong>struct</strong></span> <a class="link" href="../boost/xpressive/op/dynamic_cast_.html" title="Struct template dynamic_cast_">dynamic_cast_</a>;<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> T&gt; <span class="bold"><strong>struct</strong></span> <a class="link" href="../boost/xpressive/op/const_cast_.html" title="Struct template const_cast_">const_cast_</a>;<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> T&gt; <span class="bold"><strong>struct</strong></span> <a class="link" href="../boost/xpressive/op/construct.html" title="Struct template construct">construct</a>;<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> Except&gt; <span class="bold"><strong>struct</strong></span> <a class="link" href="../boost/xpressive/op/throw_.html" title="Struct template throw_">throw_</a>;<br> }<br> }<br>}</pre> +<p>Defines the syntax elements of xpressive's action expressions.<br>定义了 xpressive的动作表达式的语法元素。 </p>
+<pre class="synopsis">
+<a class="link" href="../BOOST_PROTO_LOCAL_MACRO.html" title="Macro BOOST_PROTO_LOCAL_MACRO">BOOST_PROTO_LOCAL_MACRO</a>(N, typename_A, A_const_ref, A_const_ref_a, a)<br><a class="link" href="../BOOST_PROTO_LOCAL_a.html" title="Macro BOOST_PROTO_LOCAL_a">BOOST_PROTO_LOCAL_a</a> +<a class="link" href="../BOOST_PROTO_LOCAL_LIMITS.html" title="Macro BOOST_PROTO_LOCAL_LIMITS">BOOST_PROTO_LOCAL_LIMITS</a></pre> +<pre class="synopsis"><span class="bold"><strong>namespace</strong></span> boost {<br> <span class="bold"><strong>namespace</strong></span> xpressive {<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> Fun&gt; <span class="bold"><strong>struct</strong></span> <a class="link" href="../boost/xpressive/function.html" title="Struct template function">function</a>;<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> T&gt; <span class="bold"><strong>struct</strong></span> <a class="link" href="../boost/xpressive/value.html" title="Struct template value">value</a>;<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> T&gt; <span class="bold"><strong>struct</strong></span> <a class="link" href="../boost/xpressive/reference.html" title="Struct template reference">reference</a>;<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> T&gt; <span class="bold"><strong>struct</strong></span> <a class="link" href="../boost/xpressive/local.html" title="Struct template local">local</a>;<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> T, <span class="bold"><strong>int</strong></span> I, <span class="bold"><strong>typename</strong></span> Dummy&gt; <span class="bold"><strong>struct</strong></span> <a class="link" href="../boost/xpressive/placeholder.html" title="Struct template placeholder">placeholder</a>;<br><br> <a class="link" href="../boost/function.html" title="Class template function">function</a>&lt; <a class="link" href="../boost/xpressive/op/push.html" title="Struct push">op::push</a> &gt;::type const <a class="link" href="../boost/xpressive/push.html" title="Global push">push</a>;<br> <a class="link" href="../boost/function.html" title="Class template function">function</a>&lt; <a class="link" href="../boost/xpressive/op/push_back.html" title="Struct push_back">op::push_back</a> &gt;::type const <a class="link" href="../boost/xpressive/push_back.html" title="Global push_back">push_back</a>;<br> <a class="link" href="../boost/function.html" title="Class template function">function</a>&lt; <a class="link" href="../boost/xpressive/op/push_front.html" title="Struct push_front">op::push_front</a> &gt;::type const <a class="link" href="../boost/xpressive/push_front.html" title="Global push_front">push_front</a>;<br> <a class="link" href="../boost/function.html" title="Class template function">function</a>&lt; <a class="link" href="../boost/xpressive/op/pop.html" title="Struct pop">op::pop</a> &gt;::type const <a class="link" href="../boost/xpressive/pop.html" title="Global pop">pop</a>;<br> <a class="link" href="../boost/function.html" title="Class template function">function</a>&lt; <a class="link" href="../boost/xpressive/op/pop_back.html" title="Struct pop_back">op::pop_back</a> &gt;::type const <a class="link" href="../boost/xpressive/pop_back.html" title="Global pop_back">pop_back</a>;<br> <a class="link" href="../boost/function.html" title="Class template function">function</a>&lt; <a class="link" href="../boost/xpressive/op/pop_front.html" title="Struct pop_front">op::pop_front</a> &gt;::type const <a class="link" href="../boost/xpressive/pop_front.html" title="Global pop_front">pop_front</a>;<br> <a class="link" href="../boost/function.html" title="Class template function">function</a>&lt; <a class="link" href="../boost/xpressive/op/top.html" title="Struct top">op::top</a> &gt;::type const <a class="link" href="../boost/xpressive/top.html" title="Global top">top</a>;<br> <a class="link" href="../boost/function.html" title="Class template function">function</a>&lt; <a class="link" href="../boost/xpressive/op/back.html" title="Struct back">op::back</a> &gt;::type const <a class="link" href="../boost/xpressive/back.html" title="Global back">back</a>;<br> <a class="link" href="../boost/function.html" title="Class template function">function</a>&lt; <a class="link" href="../boost/xpressive/op/front.html" title="Struct front">op::front</a> &gt;::type const <a class="link" href="../boost/xpressive/front.html" title="Global front">front</a>;<br> <a class="link" href="../boost/function.html" title="Class template function">function</a>&lt; <a class="link" href="../boost/xpressive/op/first.html" title="Struct first">op::first</a> &gt;::type const <a class="link" href="../boost/xpressive/first.html" title="Global first">first</a>;<br> <a class="link" href="../boost/function.html" title="Class template function">function</a>&lt; <a class="link" href="../boost/xpressive/op/second.html" title="Struct second">op::second</a> &gt;::type const <a class="link" href="../boost/xpressive/second.html" title="Global second">second</a>;<br> <a class="link" href="../boost/function.html" title="Class template function">function</a>&lt; <a class="link" href="../boost/xpressive/op/matched.html" title="Struct matched">op::matched</a> &gt;::type const <a class="link" href="../boost/xpressive/matched.html" title="Global matched">matched</a>;<br> <a class="link" href="../boost/function.html" title="Class template function">function</a>&lt; <a class="link" href="../boost/xpressive/op/length.html" title="Struct length">op::length</a> &gt;::type const <a class="link" href="../boost/xpressive/length.html" title="Global length">length</a>;<br> <a class="link" href="../boost/function.html" title="Class template function">function</a>&lt; <a class="link" href="../boost/xpressive/op/str.html" title="Struct str">op::str</a> &gt;::type const <a class="link" href="../boost/xpressive/str.html" title="Global str">str</a>;<br> <a class="link" href="../boost/function.html" title="Class template function">function</a>&lt; <a class="link" href="../boost/xpressive/op/insert.html" title="Struct insert">op::insert</a> &gt;::type const <a class="link" href="../boost/xpressive/insert.html" title="Global insert">insert</a>;<br> <a class="link" href="../boost/function.html" title="Class template function">function</a>&lt; <a class="link" href="../boost/xpressive/op/make_pair.html" title="Struct make_pair">op::make_pair</a> &gt;::type const <a class="link" href="../boost/xpressive/make_pair.html" title="Global make_pair">make_pair</a>;<br> <span class="emphasis"><em>unspecified</em></span> <a class="link" href="../boost/xpressive/check.html" title="Global check">check</a>;<br> <span class="emphasis"><em>unspecified</em></span> <a class="link" href="../boost/xpressive/let.html" title="Global let">let</a>;<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> X2_0, <span class="bold"><strong>typename</strong></span> A0&gt; <span class="type"><span class="emphasis"><em>unspecified</em></span></span> <a class="link" href="../boost/xpressive/as_id1448377.html" title="Function template as">as</a>(A0 <span class="bold"><strong>const</strong></span> &amp;);<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> X2_0, <span class="bold"><strong>typename</strong></span> A0&gt; <span class="type"><span class="emphasis"><em>unspecified</em></span></span> <a class="link" href="../boost/xpressive/static_cast_id1448404.html" title="Function template static_cast_">static_cast_</a>(A0 <span class="bold"><strong>const</strong></span> &amp;);<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> X2_0, <span class="bold"><strong>typename</strong></span> A0&gt; <span class="type"><span class="emphasis"><em>unspecified</em></span></span> <a class="link" href="../boost/xpressive/dynamic_cast_id1448431.html" title="Function template dynamic_cast_">dynamic_cast_</a>(A0 <span class="bold"><strong>const</strong></span> &amp;);<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> X2_0, <span class="bold"><strong>typename</strong></span> A0&gt; <span class="type"><span class="emphasis"><em>unspecified</em></span></span> <a class="link" href="../boost/xpressive/const_cast_id1448458.html" title="Function template const_cast_">const_cast_</a>(A0 <span class="bold"><strong>const</strong></span> &amp;);<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> T&gt; <span class="type"><a class="link" href="../boost/xpressive/value.html" title="Struct template value">value</a>&lt; T &gt; <span class="bold"><strong>const</strong></span></span> <a class="link" href="../boost/xpressive/val.html" title="Function template val">val</a>(T <span class="bold"><strong>const</strong></span> &amp;);<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> T&gt; <span class="type"><a class="link" href="../boost/xpressive/reference.html" title="Struct template reference">reference</a>&lt; T &gt; <span class="bold"><strong>const</strong></span></span> <a class="link" href="../boost/xpressive/ref_id1448510.html" title="Function template ref">ref</a>(T &amp;);<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> T&gt; <span class="type"><a class="link" href="../boost/xpressive/reference.html" title="Struct template reference">reference</a>&lt; T <span class="bold"><strong>const</strong></span> &gt; <span class="bold"><strong>const</strong></span></span> <a class="link" href="../boost/xpressive/cref_id1448534.html" title="Function template cref">cref</a>(T <span class="bold"><strong>const</strong></span> &amp;);<br> <span class="bold"><strong>namespace</strong></span> op {<br> <span class="bold"><strong>struct</strong></span> <a class="link" href="../boost/xpressive/op/push.html" title="Struct push">push</a>;<br> <span class="bold"><strong>struct</strong></span> <a class="link" href="../boost/xpressive/op/push_back.html" title="Struct push_back">push_back</a>;<br> <span class="bold"><strong>struct</strong></span> <a class="link" href="../boost/xpressive/op/push_front.html" title="Struct push_front">push_front</a>;<br> <span class="bold"><strong>struct</strong></span> <a class="link" href="../boost/xpressive/op/pop.html" title="Struct pop">pop</a>;<br> <span class="bold"><strong>struct</strong></span> <a class="link" href="../boost/xpressive/op/pop_back.html" title="Struct pop_back">pop_back</a>;<br> <span class="bold"><strong>struct</strong></span> <a class="link" href="../boost/xpressive/op/pop_front.html" title="Struct pop_front">pop_front</a>;<br> <span class="bold"><strong>struct</strong></span> <a class="link" href="../boost/xpressive/op/front.html" title="Struct front">front</a>;<br> <span class="bold"><strong>struct</strong></span> <a class="link" href="../boost/xpressive/op/back.html" title="Struct back">back</a>;<br> <span class="bold"><strong>struct</strong></span> <a class="link" href="../boost/xpressive/op/top.html" title="Struct top">top</a>;<br> <span class="bold"><strong>struct</strong></span> <a class="link" href="../boost/xpressive/op/first.html" title="Struct first">first</a>;<br> <span class="bold"><strong>struct</strong></span> <a class="link" href="../boost/xpressive/op/second.html" title="Struct second">second</a>;<br> <span class="bold"><strong>struct</strong></span> <a class="link" href="../boost/xpressive/op/matched.html" title="Struct matched">matched</a>;<br> <span class="bold"><strong>struct</strong></span> <a class="link" href="../boost/xpressive/op/length.html" title="Struct length">length</a>;<br> <span class="bold"><strong>struct</strong></span> <a class="link" href="../boost/xpressive/op/str.html" title="Struct str">str</a>;<br> <span class="bold"><strong>struct</strong></span> <a class="link" href="../boost/xpressive/op/insert.html" title="Struct insert">insert</a>;<br> <span class="bold"><strong>struct</strong></span> <a class="link" href="../boost/xpressive/op/make_pair.html" title="Struct make_pair">make_pair</a>;<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> T&gt; <span class="bold"><strong>struct</strong></span> <a class="link" href="../boost/xpressive/op/as.html" title="Struct template as">as</a>;<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> T&gt; <span class="bold"><strong>struct</strong></span> <a class="link" href="../boost/xpressive/op/static_cast_.html" title="Struct template static_cast_">static_cast_</a>;<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> T&gt; <span class="bold"><strong>struct</strong></span> <a class="link" href="../boost/xpressive/op/dynamic_cast_.html" title="Struct template dynamic_cast_">dynamic_cast_</a>;<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> T&gt; <span class="bold"><strong>struct</strong></span> <a class="link" href="../boost/xpressive/op/const_cast_.html" title="Struct template const_cast_">const_cast_</a>;<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> T&gt; <span class="bold"><strong>struct</strong></span> <a class="link" href="../boost/xpressive/op/construct.html" title="Struct template construct">construct</a>;<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> Except&gt; <span class="bold"><strong>struct</strong></span> <a class="link" href="../boost/xpressive/op/throw_.html" title="Struct template throw_">throw_</a>;<br> }<br> }<br>}</pre>
 </div>
-<div class="section" lang="en">
+<div class="section" title="Header &lt;boost/xpressive/regex_algorithms.hpp&gt;">
 <div class="titlepage"><div><div><h3 class="title">
<a name="header.boost.xpressive.regex_algorithms_hpp"></a>Header &lt;<a href="../../../boost/xpressive/regex_algorithms.hpp" target="_top">boost/xpressive/regex_algorithms.hpp</a>&gt;</h3></div></div></div> -<p>Contains the regex_match(), regex_search() and regex_replace() algorithms.<br>包含 regex_match(), regex_search() 和 regex_replace() 算法。 </p> +<p>Contains the regex_match(), regex_search() and regex_replace() algorithms.<br>包含 regex_match(), regex_search() 和 regex_replace() 算 法。 </p> <pre class="synopsis"><span class="bold"><strong>namespace</strong></span> boost {<br> <span class="bold"><strong>namespace</strong></span> xpressive {<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> BidiIter&gt; <br> <span class="type"><span class="bold"><strong>bool</strong></span></span> <a class="link" href="../boost/xpressive/regex_match.html" title="Function regex_match">regex_match</a>(BidiIter, BidiIter, <a class="link" href="../boost/xpressive/match_results.html" title="Struct template match_results">match_results</a>&lt; BidiIter &gt; &amp;, <br> <a class="link" href="../boost/xpressive/basic_regex.html" title="Struct template basic_regex">basic_regex</a>&lt; BidiIter &gt; <span class="bold"><strong>const</strong></span> &amp;, <br> regex_constants::match_flag_type = regex_constants::match_default);<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> BidiIter&gt; <br> <span class="type"><span class="bold"><strong>bool</strong></span></span> <a class="link" href="../boost/xpressive/regex_match.html" title="Function regex_match">regex_match</a>(BidiIter, BidiIter, <a class="link" href="../boost/xpressive/basic_regex.html" title="Struct template basic_regex">basic_regex</a>&lt; BidiIter &gt; <span class="bold"><strong>const</strong></span> &amp;, <br> regex_constants::match_flag_type = regex_constants::match_default);<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> Char&gt; <br> <span class="type"><span class="bold"><strong>bool</strong></span></span> <a class="link" href="../boost/xpressive/regex_match.html" title="Function regex_match">regex_match</a>(Char *, <a class="link" href="../boost/xpressive/match_results.html" title="Struct template match_results">match_results</a>&lt; Char * &gt; &amp;, <br> <a class="link" href="../boost/xpressive/basic_regex.html" title="Struct template basic_regex">basic_regex</a>&lt; Char * &gt; <span class="bold"><strong>const</strong></span> &amp;, <br> regex_constants::match_flag_type = regex_constants::match_default);<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> BidiRange, <span class="bold"><strong>typename</strong></span> BidiIter&gt; <br> <span class="type"><span class="bold"><strong>bool</strong></span></span> <a class="link" href="../boost/xpressive/regex_match.html" title="Function regex_match">regex_match</a>(BidiRange &amp;, <a class="link" href="../boost/xpressive/match_results.html" title="Struct template match_results">match_results</a>&lt; BidiIter &gt; &amp;, <br> <a class="link" href="../boost/xpressive/basic_regex.html" title="Struct template basic_regex">basic_regex</a>&lt; BidiIter &gt; <span class="bold"><strong>const</strong></span> &amp;, <br> regex_constants::match_flag_type = regex_constants::match_default, <br> <span class="emphasis"><em>unspecified</em></span> = 0);<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> BidiRange, <span class="bold"><strong>typename</strong></span> BidiIter&gt; <br> <span class="type"><span class="bold"><strong>bool</strong></span></span> <a class="link" href="../boost/xpressive/regex_match.html" title="Function regex_match">regex_match</a>(BidiRange <span class="bold"><strong>const</strong></span> &amp;, <a class="link" href="../boost/xpressive/match_results.html" title="Struct template match_results">match_results</a>&lt; BidiIter &gt; &amp;, <br> <a class="link" href="../boost/xpressive/basic_regex.html" title="Struct template basic_regex">basic_regex</a>&lt; BidiIter &gt; <span class="bold"><strong>const</strong></span> &amp;, <br> regex_constants::match_flag_type = regex_constants::match_default, <br> <span class="emphasis"><em>unspecified</em></span> = 0);<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> Char&gt; <br> <span class="type"><span class="bold"><strong>bool</strong></span></span> <a class="link" href="../boost/xpressive/regex_match.html" title="Function regex_match">regex_match</a>(Char *, <a class="link" href="../boost/xpressive/basic_regex.html" title="Struct template basic_regex">basic_regex</a>&lt; Char * &gt; <span class="bold"><strong>const</strong></span> &amp;, <br> regex_constants::match_flag_type = regex_constants::match_default);<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> BidiRange, <span class="bold"><strong>typename</strong></span> BidiIter&gt; <br> <span class="type"><span class="bold"><strong>bool</strong></span></span> <a class="link" href="../boost/xpressive/regex_match.html" title="Function regex_match">regex_match</a>(BidiRange &amp;, <a class="link" href="../boost/xpressive/basic_regex.html" title="Struct template basic_regex">basic_regex</a>&lt; BidiIter &gt; <span class="bold"><strong>const</strong></span> &amp;, <br> regex_constants::match_flag_type = regex_constants::match_default, <br> <span class="emphasis"><em>unspecified</em></span> = 0);<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> BidiRange, <span class="bold"><strong>typename</strong></span> BidiIter&gt; <br> <span class="type"><span class="bold"><strong>bool</strong></span></span> <a class="link" href="../boost/xpressive/regex_match.html" title="Function regex_match">regex_match</a>(BidiRange <span class="bold"><strong>const</strong></span> &amp;, <a class="link" href="../boost/xpressive/basic_regex.html" title="Struct template basic_regex">basic_regex</a>&lt; BidiIter &gt; <span class="bold"><strong>const</strong></span> &amp;, <br> regex_constants::match_flag_type = regex_constants::match_default, <br> <span class="emphasis"><em>unspecified</em></span> = 0);<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> BidiIter&gt; <br> <span class="type"><span class="bold"><strong>bool</strong></span></span> <a class="link" href="../boost/xpressive/regex_search.html" title="Function regex_search">regex_search</a>(BidiIter, BidiIter, <a class="link" href="../boost/xpressive/match_results.html" title="Struct template match_results">match_results</a>&lt; BidiIter &gt; &amp;, <br> <a class="link" href="../boost/xpressive/basic_regex.html" title="Struct template basic_regex">basic_regex</a>&lt; BidiIter &gt; <span class="bold"><strong>const</strong></span> &amp;, <br> regex_constants::match_flag_type = regex_constants::match_default);<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> BidiIter&gt; <br> <span class="type"><span class="bold"><strong>bool</strong></span></span> <a class="link" href="../boost/xpressive/regex_search.html" title="Function regex_search">regex_search</a>(BidiIter, BidiIter, <a class="link" href="../boost/xpressive/basic_regex.html" title="Struct template basic_regex">basic_regex</a>&lt; BidiIter &gt; <span class="bold"><strong>const</strong></span> &amp;, <br> regex_constants::match_flag_type = regex_constants::match_default);<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> Char&gt; <br> <span class="type"><span class="bold"><strong>bool</strong></span></span> <a class="link" href="../boost/xpressive/regex_search.html" title="Function regex_search">regex_search</a>(Char *, <a class="link" href="../boost/xpressive/match_results.html" title="Struct template match_results">match_results</a>&lt; Char * &gt; &amp;, <br> <a class="link" href="../boost/xpressive/basic_regex.html" title="Struct template basic_regex">basic_regex</a>&lt; Char * &gt; <span class="bold"><strong>const</strong></span> &amp;, <br> regex_constants::match_flag_type = regex_constants::match_default);<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> BidiRange, <span class="bold"><strong>typename</strong></span> BidiIter&gt; <br> <span class="type"><span class="bold"><strong>bool</strong></span></span> <a class="link" href="../boost/xpressive/regex_search.html" title="Function regex_search">regex_search</a>(BidiRange &amp;, <a class="link" href="../boost/xpressive/match_results.html" title="Struct template match_results">match_results</a>&lt; BidiIter &gt; &amp;, <br> <a class="link" href="../boost/xpressive/basic_regex.html" title="Struct template basic_regex">basic_regex</a>&lt; BidiIter &gt; <span class="bold"><strong>const</strong></span> &amp;, <br> regex_constants::match_flag_type = regex_constants::match_default, <br> <span class="emphasis"><em>unspecified</em></span> = 0);<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> BidiRange, <span class="bold"><strong>typename</strong></span> BidiIter&gt; <br> <span class="type"><span class="bold"><strong>bool</strong></span></span> <a class="link" href="../boost/xpressive/regex_search.html" title="Function regex_search">regex_search</a>(BidiRange <span class="bold"><strong>const</strong></span> &amp;, <a class="link" href="../boost/xpressive/match_results.html" title="Struct template match_results">match_results</a>&lt; BidiIter &gt; &amp;, <br> <a class="link" href="../boost/xpressive/basic_regex.html" title="Struct template basic_regex">basic_regex</a>&lt; BidiIter &gt; <span class="bold"><strong>const</strong></span> &amp;, <br> regex_constants::match_flag_type = regex_constants::match_default, <br> <span class="emphasis"><em>unspecified</em></span> = 0);<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> Char&gt; <br> <span class="type"><span class="bold"><strong>bool</strong></span></span> <a class="link" href="../boost/xpressive/regex_search.html" title="Function regex_search">regex_search</a>(Char *, <a class="link" href="../boost/xpressive/basic_regex.html" title="Struct template basic_regex">basic_regex</a>&lt; Char * &gt; <span class="bold"><strong>const</strong></span> &amp;, <br> regex_constants::match_flag_type = regex_constants::match_default);<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> BidiRange, <span class="bold"><strong>typename</strong></span> BidiIter&gt; <br> <span class="type"><span class="bold"><strong>bool</strong></span></span> <a class="link" href="../boost/xpressive/regex_search.html" title="Function regex_search">regex_search</a>(BidiRange &amp;, <a class="link" href="../boost/xpressive/basic_regex.html" title="Struct template basic_regex">basic_regex</a>&lt; BidiIter &gt; <span class="bold"><strong>const</strong></span> &amp;, <br> regex_constants::match_flag_type = regex_constants::match_default, <br> <span class="emphasis"><em>unspecified</em></span> = 0);<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> BidiRange, <span class="bold"><strong>typename</strong></span> BidiIter&gt; <br> <span class="type"><span class="bold"><strong>bool</strong></span></span> <a class="link" href="../boost/xpressive/regex_search.html" title="Function regex_search">regex_search</a>(BidiRange <span class="bold"><strong>const</strong></span> &amp;, <a class="link" href="../boost/xpressive/basic_regex.html" title="Struct template basic_regex">basic_regex</a>&lt; BidiIter &gt; <span class="bold"><strong>const</strong></span> &amp;, <br> regex_constants::match_flag_type = regex_constants::match_default, <br> <span class="emphasis"><em>unspecified</em></span> = 0);<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> OutIter, <span class="bold"><strong>typename</strong></span> BidiIter, <span class="bold"><strong>typename</strong></span> Formatter&gt; <br> <span class="type">OutIter</span> <a class="link" href="../boost/xpressive/regex_replace.html" title="Function regex_replace">regex_replace</a>(OutIter, BidiIter, BidiIter, <br> <a class="link" href="../boost/xpressive/basic_regex.html" title="Struct template basic_regex">basic_regex</a>&lt; BidiIter &gt; <span class="bold"><strong>const</strong></span> &amp;, <br> Formatter <span class="bold"><strong>const</strong></span> &amp;, <br> regex_constants::match_flag_type = regex_constants::match_default, <br> <span class="emphasis"><em>unspecified</em></span> = 0);<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> OutIter, <span class="bold"><strong>typename</strong></span> BidiIter&gt; <br> <span class="type">OutIter</span> <a class="link" href="../boost/xpressive/regex_replace.html" title="Function regex_replace">regex_replace</a>(OutIter, BidiIter, BidiIter, <br> <a class="link" href="../boost/xpressive/basic_regex.html" title="Struct template basic_regex">basic_regex</a>&lt; BidiIter &gt; <span class="bold"><strong>const</strong></span> &amp;, <br> <span class="bold"><strong>typename</strong></span> iterator_value&lt; BidiIter &gt;::type <span class="bold"><strong>const</strong></span> *, <br> regex_constants::match_flag_type = regex_constants::match_default);<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> BidiContainer, <span class="bold"><strong>typename</strong></span> BidiIter, <span class="bold"><strong>typename</strong></span> Formatter&gt; <br> <span class="type">BidiContainer</span> <br> <a class="link" href="../boost/xpressive/regex_replace.html" title="Function regex_replace">regex_replace</a>(BidiContainer &amp;, <a class="link" href="../boost/xpressive/basic_regex.html" title="Struct template basic_regex">basic_regex</a>&lt; BidiIter &gt; <span class="bold"><strong>const</strong></span> &amp;, <br> Formatter <span class="bold"><strong>const</strong></span> &amp;, <br> regex_constants::match_flag_type = regex_constants::match_default, <br> <span class="emphasis"><em>unspecified</em></span> = 0);<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> BidiContainer, <span class="bold"><strong>typename</strong></span> BidiIter, <span class="bold"><strong>typename</strong></span> Formatter&gt; <br> <span class="type">BidiContainer</span> <br> <a class="link" href="../boost/xpressive/regex_replace.html" title="Function regex_replace">regex_replace</a>(BidiContainer <span class="bold"><strong>const</strong></span> &amp;, <a class="link" href="../boost/xpressive/basic_regex.html" title="Struct template basic_regex">basic_regex</a>&lt; BidiIter &gt; <span class="bold"><strong>const</strong></span> &amp;, <br> Formatter <span class="bold"><strong>const</strong></span> &amp;, <br> regex_constants::match_flag_type = regex_constants::match_default, <br> <span class="emphasis"><em>unspecified</em></span> = 0);<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> Char, <span class="bold"><strong>typename</strong></span> Formatter&gt; <br> <span class="type">std::basic_string&lt; <span class="bold"><strong>typename</strong></span> remove_const&lt; Char &gt;::type &gt;</span> <br> <a class="link" href="../boost/xpressive/regex_replace.html" title="Function regex_replace">regex_replace</a>(Char *, <a class="link" href="../boost/xpressive/basic_regex.html" title="Struct template basic_regex">basic_regex</a>&lt; Char * &gt; <span class="bold"><strong>const</strong></span> &amp;, Formatter <span class="bold"><strong>const</strong></span> &amp;, <br> regex_constants::match_flag_type = regex_constants::match_default, <br> <span class="emphasis"><em>unspecified</em></span> = 0);<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> BidiContainer, <span class="bold"><strong>typename</strong></span> BidiIter&gt; <br> <span class="type">BidiContainer</span> <br> <a class="link" href="../boost/xpressive/regex_replace.html" title="Function regex_replace">regex_replace</a>(BidiContainer &amp;, <a class="link" href="../boost/xpressive/basic_regex.html" title="Struct template basic_regex">basic_regex</a>&lt; BidiIter &gt; <span class="bold"><strong>const</strong></span> &amp;, <br> <span class="bold"><strong>typename</strong></span> iterator_value&lt; BidiIter &gt;::type <span class="bold"><strong>const</strong></span> *, <br> regex_constants::match_flag_type = regex_constants::match_default, <br> <span class="emphasis"><em>unspecified</em></span> = 0);<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> BidiContainer, <span class="bold"><strong>typename</strong></span> BidiIter&gt; <br> <span class="type">BidiContainer</span> <br> <a class="link" href="../boost/xpressive/regex_replace.html" title="Function regex_replace">regex_replace</a>(BidiContainer <span class="bold"><strong>const</strong></span> &amp;, <a class="link" href="../boost/xpressive/basic_regex.html" title="Struct template basic_regex">basic_regex</a>&lt; BidiIter &gt; <span class="bold"><strong>const</strong></span> &amp;, <br> <span class="bold"><strong>typename</strong></span> iterator_value&lt; BidiIter &gt;::type <span class="bold"><strong>const</strong></span> *, <br> regex_constants::match_flag_type = regex_constants::match_default, <br> <span class="emphasis"><em>unspecified</em></span> = 0);<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> Char&gt; <br> <span class="type">std::basic_string&lt; <span class="bold"><strong>typename</strong></span> remove_const&lt; Char &gt;::type &gt;</span> <br> <a class="link" href="../boost/xpressive/regex_replace.html" title="Function regex_replace">regex_replace</a>(Char *, <a class="link" href="../boost/xpressive/basic_regex.html" title="Struct template basic_regex">basic_regex</a>&lt; Char * &gt; <span class="bold"><strong>const</strong></span> &amp;, <br> <span class="bold"><strong>typename</strong></span> add_const&lt; Char &gt;::type *, <br> regex_constants::match_flag_type = regex_constants::match_default);<br> }<br>}</pre>
 </div>
-<div class="section" lang="en">
+<div class="section" title="Header &lt;boost/xpressive/regex_compiler.hpp&gt;">
 <div class="titlepage"><div><div><h3 class="title">
<a name="header.boost.xpressive.regex_compiler_hpp"></a>Header &lt;<a href="../../../boost/xpressive/regex_compiler.hpp" target="_top">boost/xpressive/regex_compiler.hpp</a>&gt;</h3></div></div></div> -<p>Contains the definition of regex_compiler, a factory for building regex objects from strings.<br>包含 regex_compiler 的定义,它是一个从字符串构建 regex对象的工厂。 </p> +<p>Contains the definition of regex_compiler, a factory for building regex objects from strings.<br>包含 regex_compiler 的定义,它是一个从字符串构建 regex对象的工厂。 </p> <pre class="synopsis"><span class="bold"><strong>namespace</strong></span> boost {<br> <span class="bold"><strong>namespace</strong></span> xpressive {<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> BidiIter, <span class="bold"><strong>typename</strong></span> RegexTraits, <span class="bold"><strong>typename</strong></span> CompilerTraits&gt; <br> <span class="bold"><strong>struct</strong></span> <a class="link" href="../boost/xpressive/regex_compiler.html" title="Struct template regex_compiler">regex_compiler</a>;<br> }<br>}</pre>
 </div>
-<div class="section" lang="en">
+<div class="section" title="Header &lt;boost/xpressive/regex_constants.hpp&gt;">
 <div class="titlepage"><div><div><h3 class="title">
<a name="header.boost.xpressive.regex_constants_hpp"></a>Header &lt;<a href="../../../boost/xpressive/regex_constants.hpp" target="_top">boost/xpressive/regex_constants.hpp</a>&gt;</h3></div></div></div> -<p>Contains definitions for the syntax_option_type, match_flag_type and error_type enumerations.<br>包含对 syntax_option_type, match_flag_type 和 error_type 枚举类型的定义。 </p> +<p>Contains definitions for the syntax_option_type, match_flag_type and error_type enumerations.<br>包含对 syntax_option_type, match_flag_type 和 error_type 枚举类型的定义。 </p> <pre class="synopsis"><span class="bold"><strong>namespace</strong></span> boost {<br> <span class="bold"><strong>namespace</strong></span> xpressive {<br> <span class="bold"><strong>namespace</strong></span> regex_constants {<br> <span class="bold"><strong>enum</strong></span> <a class="link" href="../boost/xpressive/regex_constants/syntax_option_type.html" title="Type syntax_option_type">syntax_option_type</a>;<br> <span class="bold"><strong>enum</strong></span> <a class="link" href="../boost/xpressive/regex_constants/match_flag_type.html" title="Type match_flag_type">match_flag_type</a>;<br> <span class="bold"><strong>enum</strong></span> <a class="link" href="../boost/xpressive/regex_constants/error_type.html" title="Type error_type">error_type</a>;<br> }<br> }<br>}</pre>
 </div>
-<div class="section" lang="en">
+<div class="section" title="Header &lt;boost/xpressive/regex_error.hpp&gt;">
 <div class="titlepage"><div><div><h3 class="title">
<a name="header.boost.xpressive.regex_error_hpp"></a>Header &lt;<a href="../../../boost/xpressive/regex_error.hpp" target="_top">boost/xpressive/regex_error.hpp</a>&gt;</h3></div></div></div> -<p>Contains the definition of the regex_error exception class.<br>包含 regex_error 异常类的定义。 </p> -<pre class="synopsis"><a class="link" href="../BOOST_XPR_ENSURE_.html" title="Macro BOOST_XPR_ENSURE_">BOOST_XPR_ENSURE_</a>(pred, code, msg)</pre> +<p>Contains the definition of the regex_error exception class.<br>包含 regex_error 异常类的定义。 </p>
+<pre class="synopsis">
+<a class="link" href="../BOOST_XPR_ENSURE_.html" title="Macro BOOST_XPR_ENSURE_">BOOST_XPR_ENSURE_</a>(pred, code, msg)</pre> <pre class="synopsis"><span class="bold"><strong>namespace</strong></span> boost {<br> <span class="bold"><strong>namespace</strong></span> xpressive {<br> <span class="bold"><strong>struct</strong></span> <a class="link" href="../boost/xpressive/regex_error.html" title="Struct regex_error">regex_error</a>;<br> }<br>}</pre>
 </div>
-<div class="section" lang="en">
+<div class="section" title="Header &lt;boost/xpressive/regex_iterator.hpp&gt;">
 <div class="titlepage"><div><div><h3 class="title">
<a name="header.boost.xpressive.regex_iterator_hpp"></a>Header &lt;<a href="../../../boost/xpressive/regex_iterator.hpp" target="_top">boost/xpressive/regex_iterator.hpp</a>&gt;</h3></div></div></div>
 <p>Contains the definition of the regex_iterator type, an
 STL-compatible iterator for stepping through all the matches in a
-sequence.<br>包含 regex_iterator 类型的定义,它是一个STL-兼容的迭代器,用于 对序列中的所有匹配的逐步处理。 </p> +sequence.<br>包含 regex_iterator 类型的定义,它是一个STL-兼容的迭代器,用于 对序列中的所有匹配的逐步处理。 </p> <pre class="synopsis"><span class="bold"><strong>namespace</strong></span> boost {<br> <span class="bold"><strong>namespace</strong></span> xpressive {<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> BidiIter&gt; <span class="bold"><strong>struct</strong></span> <a class="link" href="../boost/xpressive/regex_iterator.html" title="Struct template regex_iterator">regex_iterator</a>;<br> }<br>}</pre>
 </div>
-<div class="section" lang="en">
+<div class="section" title="Header &lt;boost/xpressive/regex_primitives.hpp&gt;">
 <div class="titlepage"><div><div><h3 class="title">
<a name="header.boost.xpressive.regex_primitives_hpp"></a>Header &lt;<a href="../../../boost/xpressive/regex_primitives.hpp" target="_top">boost/xpressive/regex_primitives.hpp</a>&gt;</h3></div></div></div> -<p>Contains the syntax elements for writing static regular expressions.<br>包含编写静态正则表达式的语法元素。 </p> +<p>Contains the syntax elements for writing static regular expressions.<br>包含编写静态正则表达式的语法元素。 </p> <pre class="synopsis"><span class="bold"><strong>namespace</strong></span> boost {<br> <span class="bold"><strong>namespace</strong></span> xpressive {<br> unsigned int const <a class="link" href="../boost/xpressive/inf.html" title="Global inf">inf</a>; <span class="emphasis"><em>// For infinite repetition of a sub-expression. </em></span> <span class="emphasis"><em>unspecified</em></span> <a class="link" href="../boost/xpressive/nil.html" title="Global nil">nil</a>; <span class="emphasis"><em>// Successfully matches nothing. </em></span> <span class="emphasis"><em>unspecified</em></span> <a class="link" href="../boost/xpressive/alnum.html" title="Global alnum">alnum</a>; <span class="emphasis"><em>// Matches an alpha-numeric character. </em></span>
@@ -135,78 +139,80 @@
<span class="emphasis"><em>unspecified</em></span> <a class="link" href="../boost/xpressive/set.html" title="Global set">set</a>; <span class="emphasis"><em>// Used to create character sets. </em></span> mark_tag::proto_base_expr const <a class="link" href="../boost/xpressive/s0.html" title="Global s0">s0</a>; <span class="emphasis"><em>// Sub-match placeholder, like $&amp; in Perl. </em></span> mark_tag::proto_base_expr const <a class="link" href="../boost/xpressive/s1.html" title="Global s1">s1</a>; <span class="emphasis"><em>// Sub-match placeholder, like $1 in perl. </em></span> - mark_tag::proto_base_expr const <a class="link" href="../boost/xpressive/s2.html" title="Global s2">s2</a>;<br> mark_tag::proto_base_expr const <a class="link" href="../boost/xpressive/s3.html" title="Global s3">s3</a>;<br> mark_tag::proto_base_expr const <a class="link" href="../boost/xpressive/s4.html" title="Global s4">s4</a>;<br> mark_tag::proto_base_expr const <a class="link" href="../boost/xpressive/s5.html" title="Global s5">s5</a>;<br> mark_tag::proto_base_expr const <a class="link" href="../boost/xpressive/s6.html" title="Global s6">s6</a>;<br> mark_tag::proto_base_expr const <a class="link" href="../boost/xpressive/s7.html" title="Global s7">s7</a>;<br> mark_tag::proto_base_expr const <a class="link" href="../boost/xpressive/s8.html" title="Global s8">s8</a>;<br> mark_tag::proto_base_expr const <a class="link" href="../boost/xpressive/s9.html" title="Global s9">s9</a>;<br> <span class="emphasis"><em>unspecified</em></span> <a class="link" href="../boost/xpressive/a1.html" title="Global a1">a1</a>;<br> <span class="emphasis"><em>unspecified</em></span> <a class="link" href="../boost/xpressive/a2.html" title="Global a2">a2</a>;<br> <span class="emphasis"><em>unspecified</em></span> <a class="link" href="../boost/xpressive/a3.html" title="Global a3">a3</a>;<br> <span class="emphasis"><em>unspecified</em></span> <a class="link" href="../boost/xpressive/a4.html" title="Global a4">a4</a>;<br> <span class="emphasis"><em>unspecified</em></span> <a class="link" href="../boost/xpressive/a5.html" title="Global a5">a5</a>;<br> <span class="emphasis"><em>unspecified</em></span> <a class="link" href="../boost/xpressive/a6.html" title="Global a6">a6</a>;<br> <span class="emphasis"><em>unspecified</em></span> <a class="link" href="../boost/xpressive/a7.html" title="Global a7">a7</a>;<br> <span class="emphasis"><em>unspecified</em></span> <a class="link" href="../boost/xpressive/a8.html" title="Global a8">a8</a>;<br> <span class="emphasis"><em>unspecified</em></span> <a class="link" href="../boost/xpressive/a9.html" title="Global a9">a9</a>;<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> Expr&gt; <span class="type"><span class="emphasis"><em>unspecified</em></span></span> <a class="link" href="../boost/xpressive/icase.html" title="Function template icase">icase</a>(Expr <span class="bold"><strong>const</strong></span> &amp;);<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> Literal&gt; <span class="type"><span class="emphasis"><em>unspecified</em></span></span> <a class="link" href="../boost/xpressive/as_xpr.html" title="Function template as_xpr">as_xpr</a>(Literal <span class="bold"><strong>const</strong></span> &amp;);<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> BidiIter&gt; <br> <span class="type">proto::terminal&lt; reference_wrapper&lt; <a class="link" href="../boost/xpressive/basic_regex.html" title="Struct template basic_regex">basic_regex</a>&lt; BidiIter &gt; <span class="bold"><strong>const</strong></span> &gt; &gt;::type <span class="bold"><strong>const</strong></span></span> <br> <a class="link" href="../boost/xpressive/by_ref.html" title="Function template by_ref">by_ref</a>(<a class="link" href="../boost/xpressive/basic_regex.html" title="Struct template basic_regex">basic_regex</a>&lt; BidiIter &gt; <span class="bold"><strong>const</strong></span> &amp;);<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> Char&gt; <span class="type"><span class="emphasis"><em>unspecified</em></span></span> <a class="link" href="../boost/xpressive/range.html" title="Function template range">range</a>(Char, Char);<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> Expr&gt; <br> <span class="type">proto::result_of::make_expr&lt; proto::tag::logical_not, proto::default_domain, Expr <span class="bold"><strong>const</strong></span> &amp; &gt;::type <span class="bold"><strong>const</strong></span></span> <br> <a class="link" href="../boost/xpressive/optional_id3023625.html" title="Function template optional">optional</a>(Expr <span class="bold"><strong>const</strong></span> &amp;);<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>unsigned</strong></span> <span class="bold"><strong>int</strong></span> Min, <span class="bold"><strong>unsigned</strong></span> <span class="bold"><strong>int</strong></span> Max, <span class="bold"><strong>typename</strong></span> Expr&gt; <br> <span class="type"><span class="emphasis"><em>unspecified</em></span></span> <a class="link" href="../boost/xpressive/repeat.html" title="Function repeat">repeat</a>(Expr <span class="bold"><strong>const</strong></span> &amp;);<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>unsigned</strong></span> <span class="bold"><strong>int</strong></span> Count, <span class="bold"><strong>typename</strong></span> Expr2&gt; <br> <span class="type"><span class="emphasis"><em>unspecified</em></span></span> <a class="link" href="../boost/xpressive/repeat.html" title="Function repeat">repeat</a>(Expr2 <span class="bold"><strong>const</strong></span> &amp;);<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> Expr&gt; <span class="type"><span class="emphasis"><em>unspecified</em></span></span> <a class="link" href="../boost/xpressive/keep.html" title="Function template keep">keep</a>(Expr <span class="bold"><strong>const</strong></span> &amp;);<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> Expr&gt; <span class="type"><span class="emphasis"><em>unspecified</em></span></span> <a class="link" href="../boost/xpressive/before.html" title="Function template before">before</a>(Expr <span class="bold"><strong>const</strong></span> &amp;);<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> Expr&gt; <span class="type"><span class="emphasis"><em>unspecified</em></span></span> <a class="link" href="../boost/xpressive/after.html" title="Function template after">after</a>(Expr <span class="bold"><strong>const</strong></span> &amp;);<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> Locale&gt; <span class="type"><span class="emphasis"><em>unspecified</em></span></span> <a class="link" href="../boost/xpressive/imbue.html" title="Function template imbue">imbue</a>(Locale <span class="bold"><strong>const</strong></span> &amp;);<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> Skip&gt; <span class="type"><span class="emphasis"><em>unspecified</em></span></span> <a class="link" href="../boost/xpressive/skip.html" title="Function template skip">skip</a>(Skip <span class="bold"><strong>const</strong></span> &amp;);<br> }<br>}</pre> + mark_tag::proto_base_expr const <a class="link" href="../boost/xpressive/s2.html" title="Global s2">s2</a>;<br> mark_tag::proto_base_expr const <a class="link" href="../boost/xpressive/s3.html" title="Global s3">s3</a>;<br> mark_tag::proto_base_expr const <a class="link" href="../boost/xpressive/s4.html" title="Global s4">s4</a>;<br> mark_tag::proto_base_expr const <a class="link" href="../boost/xpressive/s5.html" title="Global s5">s5</a>;<br> mark_tag::proto_base_expr const <a class="link" href="../boost/xpressive/s6.html" title="Global s6">s6</a>;<br> mark_tag::proto_base_expr const <a class="link" href="../boost/xpressive/s7.html" title="Global s7">s7</a>;<br> mark_tag::proto_base_expr const <a class="link" href="../boost/xpressive/s8.html" title="Global s8">s8</a>;<br> mark_tag::proto_base_expr const <a class="link" href="../boost/xpressive/s9.html" title="Global s9">s9</a>;<br> <span class="emphasis"><em>unspecified</em></span> <a class="link" href="../boost/xpressive/a1.html" title="Global a1">a1</a>;<br> <span class="emphasis"><em>unspecified</em></span> <a class="link" href="../boost/xpressive/a2.html" title="Global a2">a2</a>;<br> <span class="emphasis"><em>unspecified</em></span> <a class="link" href="../boost/xpressive/a3.html" title="Global a3">a3</a>;<br> <span class="emphasis"><em>unspecified</em></span> <a class="link" href="../boost/xpressive/a4.html" title="Global a4">a4</a>;<br> <span class="emphasis"><em>unspecified</em></span> <a class="link" href="../boost/xpressive/a5.html" title="Global a5">a5</a>;<br> <span class="emphasis"><em>unspecified</em></span> <a class="link" href="../boost/xpressive/a6.html" title="Global a6">a6</a>;<br> <span class="emphasis"><em>unspecified</em></span> <a class="link" href="../boost/xpressive/a7.html" title="Global a7">a7</a>;<br> <span class="emphasis"><em>unspecified</em></span> <a class="link" href="../boost/xpressive/a8.html" title="Global a8">a8</a>;<br> <span class="emphasis"><em>unspecified</em></span> <a class="link" href="../boost/xpressive/a9.html" title="Global a9">a9</a>;<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> Expr&gt; <span class="type"><span class="emphasis"><em>unspecified</em></span></span> <a class="link" href="../boost/xpressive/icase.html" title="Function template icase">icase</a>(Expr <span class="bold"><strong>const</strong></span> &amp;);<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> Literal&gt; <span class="type"><span class="emphasis"><em>unspecified</em></span></span> <a class="link" href="../boost/xpressive/as_xpr.html" title="Function template as_xpr">as_xpr</a>(Literal <span class="bold"><strong>const</strong></span> &amp;);<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> BidiIter&gt; <br> <span class="type">proto::terminal&lt; reference_wrapper&lt; <a class="link" href="../boost/xpressive/basic_regex.html" title="Struct template basic_regex">basic_regex</a>&lt; BidiIter &gt; <span class="bold"><strong>const</strong></span> &gt; &gt;::type <span class="bold"><strong>const</strong></span></span> <br> <a class="link" href="../boost/xpressive/by_ref.html" title="Function template by_ref">by_ref</a>(<a class="link" href="../boost/xpressive/basic_regex.html" title="Struct template basic_regex">basic_regex</a>&lt; BidiIter &gt; <span class="bold"><strong>const</strong></span> &amp;);<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> Char&gt; <span class="type"><span class="emphasis"><em>unspecified</em></span></span> <a class="link" href="../boost/xpressive/range.html" title="Function template range">range</a>(Char, Char);<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> Expr&gt; <br> <span class="type">proto::result_of::make_expr&lt; proto::tag::logical_not, proto::default_domain, Expr <span class="bold"><strong>const</strong></span> &amp; &gt;::type <span class="bold"><strong>const</strong></span></span> <br> <a class="link" href="../boost/xpressive/optional_id1452429.html" title="Function template optional">optional</a>(Expr <span class="bold"><strong>const</strong></span> &amp;);<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>unsigned</strong></span> <span class="bold"><strong>int</strong></span> Min, <span class="bold"><strong>unsigned</strong></span> <span class="bold"><strong>int</strong></span> Max, <span class="bold"><strong>typename</strong></span> Expr&gt; <br> <span class="type"><span class="emphasis"><em>unspecified</em></span></span> <a class="link" href="../boost/xpressive/repeat.html" title="Function repeat">repeat</a>(Expr <span class="bold"><strong>const</strong></span> &amp;);<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>unsigned</strong></span> <span class="bold"><strong>int</strong></span> Count, <span class="bold"><strong>typename</strong></span> Expr2&gt; <br> <span class="type"><span class="emphasis"><em>unspecified</em></span></span> <a class="link" href="../boost/xpressive/repeat.html" title="Function repeat">repeat</a>(Expr2 <span class="bold"><strong>const</strong></span> &amp;);<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> Expr&gt; <span class="type"><span class="emphasis"><em>unspecified</em></span></span> <a class="link" href="../boost/xpressive/keep.html" title="Function template keep">keep</a>(Expr <span class="bold"><strong>const</strong></span> &amp;);<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> Expr&gt; <span class="type"><span class="emphasis"><em>unspecified</em></span></span> <a class="link" href="../boost/xpressive/before.html" title="Function template before">before</a>(Expr <span class="bold"><strong>const</strong></span> &amp;);<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> Expr&gt; <span class="type"><span class="emphasis"><em>unspecified</em></span></span> <a class="link" href="../boost/xpressive/after.html" title="Function template after">after</a>(Expr <span class="bold"><strong>const</strong></span> &amp;);<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> Locale&gt; <span class="type"><span class="emphasis"><em>unspecified</em></span></span> <a class="link" href="../boost/xpressive/imbue.html" title="Function template imbue">imbue</a>(Locale <span class="bold"><strong>const</strong></span> &amp;);<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> Skip&gt; <span class="type"><span class="emphasis"><em>unspecified</em></span></span> <a class="link" href="../boost/xpressive/skip.html" title="Function template skip">skip</a>(Skip <span class="bold"><strong>const</strong></span> &amp;);<br> }<br>}</pre>
 </div>
-<div class="section" lang="en">
+<div class="section" title="Header &lt;boost/xpressive/regex_token_iterator.hpp&gt;">
 <div class="titlepage"><div><div><h3 class="title">
<a name="header.boost.xpressive.regex_token_iterator_hpp"></a>Header &lt;<a href="../../../boost/xpressive/regex_token_iterator.hpp" target="_top">boost/xpressive/regex_token_iterator.hpp</a>&gt;</h3></div></div></div>
-<p>Contains the definition of regex_token_iterator, and STL-compatible
-iterator for tokenizing a string using a regular expression.<br>包含 regex_token_iterator, 以及 STL-兼容的迭代器的定义,用于使用正则表达式对字符 串进行记号化。 </p> +<p>Contains the definition of regex_token_iterator, and STL-compatible iterator for tokenizing a string using a regular expression.<br>包含 regex_token_iterator, 以及 STL-兼容的迭代器的定义,用于使用正则表达式对字符 串进行记号化。 </p> <pre class="synopsis"><span class="bold"><strong>namespace</strong></span> boost {<br> <span class="bold"><strong>namespace</strong></span> xpressive {<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> BidiIter&gt; <span class="bold"><strong>struct</strong></span> <a class="link" href="../boost/xpressive/regex_token_iterator.html" title="Struct template regex_token_iterator">regex_token_iterator</a>;<br> }<br>}</pre>
 </div>
-<div class="section" lang="en">
+<div class="section" title="Header &lt;boost/xpressive/regex_traits.hpp&gt;">
 <div class="titlepage"><div><div><h3 class="title">
<a name="header.boost.xpressive.regex_traits_hpp"></a>Header &lt;<a href="../../../boost/xpressive/regex_traits.hpp" target="_top">boost/xpressive/regex_traits.hpp</a>&gt;</h3></div></div></div> -<p>Includes the C regex traits or the CPP regex traits header file depending on the BOOST_XPRESSIVE_USE_C_TRAITS macro.<br>包含 C regex traits 或 CPP regex traits 的头文件,取决于 BOOST_XPRESSIVE_USE_C_TRAITS 宏。 </p> +<p>Includes the C regex traits or the CPP regex traits header file depending on the BOOST_XPRESSIVE_USE_C_TRAITS macro.<br>包含 C regex traits 或 CPP regex traits 的头文件,取决于 BOOST_XPRESSIVE_USE_C_TRAITS
+宏。  </p>
<pre class="synopsis"><span class="bold"><strong>namespace</strong></span> boost {<br> <span class="bold"><strong>namespace</strong></span> xpressive {<br> <span class="bold"><strong>struct</strong></span> <a class="link" href="../boost/xpressive/regex_traits_version_1_tag.html" title="Struct regex_traits_version_1_tag">regex_traits_version_1_tag</a>;<br> <span class="bold"><strong>struct</strong></span> <a class="link" href="../boost/xpressive/regex_traits_version_2_tag.html" title="Struct regex_traits_version_2_tag">regex_traits_version_2_tag</a>;<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> Traits&gt; <span class="bold"><strong>struct</strong></span> <a class="link" href="../boost/xpressive/has_fold_case.html" title="Struct template has_fold_case">has_fold_case</a>;<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> Char, <span class="bold"><strong>typename</strong></span> Impl&gt; <span class="bold"><strong>struct</strong></span> <a class="link" href="../boost/xpressive/regex_traits.html" title="Struct template regex_traits">regex_traits</a>;<br> }<br>}</pre>
 </div>
-<div class="section" lang="en">
+<div class="section" title="Header &lt;boost/xpressive/sub_match.hpp&gt;">
 <div class="titlepage"><div><div><h3 class="title">
<a name="header.boost.xpressive.sub_match_hpp"></a>Header &lt;<a href="../../../boost/xpressive/sub_match.hpp" target="_top">boost/xpressive/sub_match.hpp</a>&gt;</h3></div></div></div> -<p>Contains the definition of the class template sub_match&lt;&gt; and associated helper functions<br>包含类模板 sub_match&lt;&gt; 以及相关辅助函数 的定义。 </p> -<pre class="synopsis"><span class="bold"><strong>namespace</strong></span> boost {<br> <span class="bold"><strong>namespace</strong></span> xpressive {<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> BidiIter&gt; <span class="bold"><strong>struct</strong></span> <a class="link" href="../boost/xpressive/sub_match.html" title="Struct template sub_match">sub_match</a>;<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> BidiIter, <span class="bold"><strong>typename</strong></span> Char, <span class="bold"><strong>typename</strong></span> Traits&gt; <br> <span class="type">std::basic_ostream&lt; Char, Traits &gt; &amp;</span> <br> <a class="link" href="../boost/xpressive/operator_id3024738.html" title="Function template operator&lt;&lt;"><span class="bold"><strong>operator</strong></span>&lt;&lt;</a>(std::basic_ostream&lt; Char, Traits &gt; &amp;, <br> <a class="link" href="../boost/xpressive/sub_match.html" title="Struct template sub_match">sub_match</a>&lt; BidiIter &gt; <span class="bold"><strong>const</strong></span> &amp;);<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> BidiIter&gt; <br> <span class="type"><span class="bold"><strong>bool</strong></span></span> <a name="boost.xpressive.operator==_id3024792"></a><span class="bold"><strong>operator</strong></span>==(<a class="link" href="../boost/xpressive/sub_match.html" title="Struct template sub_match">sub_match</a>&lt; BidiIter &gt; <span class="bold"><strong>const</strong></span> &amp; lhs, <br> <a class="link" href="../boost/xpressive/sub_match.html" title="Struct template sub_match">sub_match</a>&lt; BidiIter &gt; <span class="bold"><strong>const</strong></span> &amp; rhs);<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> BidiIter&gt; <br> <span class="type"><span class="bold"><strong>bool</strong></span></span> <a name="boost.xpressive.operator!=_id3024821"></a><span class="bold"><strong>operator</strong></span>!=(<a class="link" href="../boost/xpressive/sub_match.html" title="Struct template sub_match">sub_match</a>&lt; BidiIter &gt; <span class="bold"><strong>const</strong></span> &amp; lhs, <br> <a class="link" href="../boost/xpressive/sub_match.html" title="Struct template sub_match">sub_match</a>&lt; BidiIter &gt; <span class="bold"><strong>const</strong></span> &amp; rhs);<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> BidiIter&gt; <br> <span class="type"><span class="bold"><strong>bool</strong></span></span> <a name="boost.xpressive.operator_id3024850"></a><span class="bold"><strong>operator</strong></span>&lt;(<a class="link" href="../boost/xpressive/sub_match.html" title="Struct template sub_match">sub_match</a>&lt; BidiIter &gt; <span class="bold"><strong>const</strong></span> &amp; lhs, <br> <a class="link" href="../boost/xpressive/sub_match.html" title="Struct template sub_match">sub_match</a>&lt; BidiIter &gt; <span class="bold"><strong>const</strong></span> &amp; rhs);<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> BidiIter&gt; <br> <span class="type"><span class="bold"><strong>bool</strong></span></span> <a name="boost.xpressive.operator_=_id3024879"></a><span class="bold"><strong>operator</strong></span>&lt;=(<a class="link" href="../boost/xpressive/sub_match.html" title="Struct template sub_match">sub_match</a>&lt; BidiIter &gt; <span class="bold"><strong>const</strong></span> &amp; lhs, <br> <a class="link" href="../boost/xpressive/sub_match.html" title="Struct template sub_match">sub_match</a>&lt; BidiIter &gt; <span class="bold"><strong>const</strong></span> &amp; rhs);<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> BidiIter&gt; <br> <span class="type"><span class="bold"><strong>bool</strong></span></span> <a name="boost.xpressive.operator_=_id3024908"></a><span class="bold"><strong>operator</strong></span>&gt;=(<a class="link" href="../boost/xpressive/sub_match.html" title="Struct template sub_match">sub_match</a>&lt; BidiIter &gt; <span class="bold"><strong>const</strong></span> &amp; lhs, <br> <a class="link" href="../boost/xpressive/sub_match.html" title="Struct template sub_match">sub_match</a>&lt; BidiIter &gt; <span class="bold"><strong>const</strong></span> &amp; rhs);<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> BidiIter&gt; <br> <span class="type"><span class="bold"><strong>bool</strong></span></span> <a name="boost.xpressive.operator_id3024937"></a><span class="bold"><strong>operator</strong></span>&gt;(<a class="link" href="../boost/xpressive/sub_match.html" title="Struct template sub_match">sub_match</a>&lt; BidiIter &gt; <span class="bold"><strong>const</strong></span> &amp; lhs, <br> <a class="link" href="../boost/xpressive/sub_match.html" title="Struct template sub_match">sub_match</a>&lt; BidiIter &gt; <span class="bold"><strong>const</strong></span> &amp; rhs);<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> BidiIter&gt; <br> <span class="type"><span class="bold"><strong>bool</strong></span></span> <a name="boost.xpressive.operator==_id3024966"></a><span class="bold"><strong>operator</strong></span>==(<span class="bold"><strong>typename</strong></span> iterator_value&lt; BidiIter &gt;::type <span class="bold"><strong>const</strong></span> * lhs, <br> <a class="link" href="../boost/xpressive/sub_match.html" title="Struct template sub_match">sub_match</a>&lt; BidiIter &gt; <span class="bold"><strong>const</strong></span> &amp; rhs);<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> BidiIter&gt; <br> <span class="type"><span class="bold"><strong>bool</strong></span></span> <a name="boost.xpressive.operator!=_id3024994"></a><span class="bold"><strong>operator</strong></span>!=(<span class="bold"><strong>typename</strong></span> iterator_value&lt; BidiIter &gt;::type <span class="bold"><strong>const</strong></span> * lhs, <br> <a class="link" href="../boost/xpressive/sub_match.html" title="Struct template sub_match">sub_match</a>&lt; BidiIter &gt; <span class="bold"><strong>const</strong></span> &amp; rhs);<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> BidiIter&gt; <br> <span class="type"><span class="bold"><strong>bool</strong></span></span> <a name="boost.xpressive.operator_id3025021"></a><span class="bold"><strong>operator</strong></span>&lt;(<span class="bold"><strong>typename</strong></span> iterator_value&lt; BidiIter &gt;::type <span class="bold"><strong>const</strong></span> * lhs, <br> <a class="link" href="../boost/xpressive/sub_match.html" title="Struct template sub_match">sub_match</a>&lt; BidiIter &gt; <span class="bold"><strong>const</strong></span> &amp; rhs);<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> BidiIter&gt; <br> <span class="type"><span class="bold"><strong>bool</strong></span></span> <a name="boost.xpressive.operator_id3025048"></a><span class="bold"><strong>operator</strong></span>&gt;(<span class="bold"><strong>typename</strong></span> iterator_value&lt; BidiIter &gt;::type <span class="bold"><strong>const</strong></span> * lhs, <br> <a class="link" href="../boost/xpressive/sub_match.html" title="Struct template sub_match">sub_match</a>&lt; BidiIter &gt; <span class="bold"><strong>const</strong></span> &amp; rhs);<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> BidiIter&gt; <br> <span class="type"><span class="bold"><strong>bool</strong></span></span> <a name="boost.xpressive.operator_=_id3025075"></a><span class="bold"><strong>operator</strong></span>&gt;=(<span class="bold"><strong>typename</strong></span> iterator_value&lt; BidiIter &gt;::type <span class="bold"><strong>const</strong></span> * lhs, <br> <a class="link" href="../boost/xpressive/sub_match.html" title="Struct template sub_match">sub_match</a>&lt; BidiIter &gt; <span class="bold"><strong>const</strong></span> &amp; rhs);<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> BidiIter&gt; <br> <span class="type"><span class="bold"><strong>bool</strong></span></span> <a name="boost.xpressive.operator_=_id3025102"></a><span class="bold"><strong>operator</strong></span>&lt;=(<span class="bold"><strong>typename</strong></span> iterator_value&lt; BidiIter &gt;::type <span class="bold"><strong>const</strong></span> * lhs, <br> <a class="link" href="../boost/xpressive/sub_match.html" title="Struct template sub_match">sub_match</a>&lt; BidiIter &gt; <span class="bold"><strong>const</strong></span> &amp; rhs);<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> BidiIter&gt; <br> <span class="type"><span class="bold"><strong>bool</strong></span></span> <a name="boost.xpressive.operator==_id3025130"></a><span class="bold"><strong>operator</strong></span>==(<a class="link" href="../boost/xpressive/sub_match.html" title="Struct template sub_match">sub_match</a>&lt; BidiIter &gt; <span class="bold"><strong>const</strong></span> &amp; lhs, <br> <span class="bold"><strong>typename</strong></span> iterator_value&lt; BidiIter &gt;::type <span class="bold"><strong>const</strong></span> * rhs);<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> BidiIter&gt; <br> <span class="type"><span class="bold"><strong>bool</strong></span></span> <a name="boost.xpressive.operator!=_id3025157"></a><span class="bold"><strong>operator</strong></span>!=(<a class="link" href="../boost/xpressive/sub_match.html" title="Struct template sub_match">sub_match</a>&lt; BidiIter &gt; <span class="bold"><strong>const</strong></span> &amp; lhs, <br> <span class="bold"><strong>typename</strong></span> iterator_value&lt; BidiIter &gt;::type <span class="bold"><strong>const</strong></span> * rhs);<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> BidiIter&gt; <br> <span class="type"><span class="bold"><strong>bool</strong></span></span> <a name="boost.xpressive.operator_id3025184"></a><span class="bold"><strong>operator</strong></span>&lt;(<a class="link" href="../boost/xpressive/sub_match.html" title="Struct template sub_match">sub_match</a>&lt; BidiIter &gt; <span class="bold"><strong>const</strong></span> &amp; lhs, <br> <span class="bold"><strong>typename</strong></span> iterator_value&lt; BidiIter &gt;::type <span class="bold"><strong>const</strong></span> * rhs);<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> BidiIter&gt; <br> <span class="type"><span class="bold"><strong>bool</strong></span></span> <a name="boost.xpressive.operator_id3025211"></a><span class="bold"><strong>operator</strong></span>&gt;(<a class="link" href="../boost/xpressive/sub_match.html" title="Struct template sub_match">sub_match</a>&lt; BidiIter &gt; <span class="bold"><strong>const</strong></span> &amp; lhs, <br> <span class="bold"><strong>typename</strong></span> iterator_value&lt; BidiIter &gt;::type <span class="bold"><strong>const</strong></span> * rhs);<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> BidiIter&gt; <br> <span class="type"><span class="bold"><strong>bool</strong></span></span> <a name="boost.xpressive.operator_=_id3025238"></a><span class="bold"><strong>operator</strong></span>&gt;=(<a class="link" href="../boost/xpressive/sub_match.html" title="Struct template sub_match">sub_match</a>&lt; BidiIter &gt; <span class="bold"><strong>const</strong></span> &amp; lhs, <br> <span class="bold"><strong>typename</strong></span> iterator_value&lt; BidiIter &gt;::type <span class="bold"><strong>const</strong></span> * rhs);<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> BidiIter&gt; <br> <span class="type"><span class="bold"><strong>bool</strong></span></span> <a name="boost.xpressive.operator_=_id3025266"></a><span class="bold"><strong>operator</strong></span>&lt;=(<a class="link" href="../boost/xpressive/sub_match.html" title="Struct template sub_match">sub_match</a>&lt; BidiIter &gt; <span class="bold"><strong>const</strong></span> &amp; lhs, <br> <span class="bold"><strong>typename</strong></span> iterator_value&lt; BidiIter &gt;::type <span class="bold"><strong>const</strong></span> * rhs);<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> BidiIter&gt; <br> <span class="type"><span class="bold"><strong>bool</strong></span></span> <a name="boost.xpressive.operator==_id3025293"></a><span class="bold"><strong>operator</strong></span>==(<span class="bold"><strong>typename</strong></span> iterator_value&lt; BidiIter &gt;::type <span class="bold"><strong>const</strong></span> &amp; lhs, <br> <a class="link" href="../boost/xpressive/sub_match.html" title="Struct template sub_match">sub_match</a>&lt; BidiIter &gt; <span class="bold"><strong>const</strong></span> &amp; rhs);<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> BidiIter&gt; <br> <span class="type"><span class="bold"><strong>bool</strong></span></span> <a name="boost.xpressive.operator!=_id3025320"></a><span class="bold"><strong>operator</strong></span>!=(<span class="bold"><strong>typename</strong></span> iterator_value&lt; BidiIter &gt;::type <span class="bold"><strong>const</strong></span> &amp; lhs, <br> <a class="link" href="../boost/xpressive/sub_match.html" title="Struct template sub_match">sub_match</a>&lt; BidiIter &gt; <span class="bold"><strong>const</strong></span> &amp; rhs);<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> BidiIter&gt; <br> <span class="type"><span class="bold"><strong>bool</strong></span></span> <a name="boost.xpressive.operator_id3025347"></a><span class="bold"><strong>operator</strong></span>&lt;(<span class="bold"><strong>typename</strong></span> iterator_value&lt; BidiIter &gt;::type <span class="bold"><strong>const</strong></span> &amp; lhs, <br> <a class="link" href="../boost/xpressive/sub_match.html" title="Struct template sub_match">sub_match</a>&lt; BidiIter &gt; <span class="bold"><strong>const</strong></span> &amp; rhs);<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> BidiIter&gt; <br> <span class="type"><span class="bold"><strong>bool</strong></span></span> <a name="boost.xpressive.operator_id3025374"></a><span class="bold"><strong>operator</strong></span>&gt;(<span class="bold"><strong>typename</strong></span> iterator_value&lt; BidiIter &gt;::type <span class="bold"><strong>const</strong></span> &amp; lhs, <br> <a class="link" href="../boost/xpressive/sub_match.html" title="Struct template sub_match">sub_match</a>&lt; BidiIter &gt; <span class="bold"><strong>const</strong></span> &amp; rhs);<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> BidiIter&gt; <br> <span class="type"><span class="bold"><strong>bool</strong></span></span> <a name="boost.xpressive.operator_=_id3025402"></a><span class="bold"><strong>operator</strong></span>&gt;=(<span class="bold"><strong>typename</strong></span> iterator_value&lt; BidiIter &gt;::type <span class="bold"><strong>const</strong></span> &amp; lhs, <br> <a class="link" href="../boost/xpressive/sub_match.html" title="Struct template sub_match">sub_match</a>&lt; BidiIter &gt; <span class="bold"><strong>const</strong></span> &amp; rhs);<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> BidiIter&gt; <br> <span class="type"><span class="bold"><strong>bool</strong></span></span> <a name="boost.xpressive.operator_=_id3025429"></a><span class="bold"><strong>operator</strong></span>&lt;=(<span class="bold"><strong>typename</strong></span> iterator_value&lt; BidiIter &gt;::type <span class="bold"><strong>const</strong></span> &amp; lhs, <br> <a class="link" href="../boost/xpressive/sub_match.html" title="Struct template sub_match">sub_match</a>&lt; BidiIter &gt; <span class="bold"><strong>const</strong></span> &amp; rhs);<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> BidiIter&gt; <br> <span class="type"><span class="bold"><strong>bool</strong></span></span> <a name="boost.xpressive.operator==_id3025456"></a><span class="bold"><strong>operator</strong></span>==(<a class="link" href="../boost/xpressive/sub_match.html" title="Struct template sub_match">sub_match</a>&lt; BidiIter &gt; <span class="bold"><strong>const</strong></span> &amp; lhs, <br> <span class="bold"><strong>typename</strong></span> iterator_value&lt; BidiIter &gt;::type <span class="bold"><strong>const</strong></span> &amp; rhs);<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> BidiIter&gt; <br> <span class="type"><span class="bold"><strong>bool</strong></span></span> <a name="boost.xpressive.operator!=_id3025483"></a><span class="bold"><strong>operator</strong></span>!=(<a class="link" href="../boost/xpressive/sub_match.html" title="Struct template sub_match">sub_match</a>&lt; BidiIter &gt; <span class="bold"><strong>const</strong></span> &amp; lhs, <br> <span class="bold"><strong>typename</strong></span> iterator_value&lt; BidiIter &gt;::type <span class="bold"><strong>const</strong></span> &amp; rhs);<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> BidiIter&gt; <br> <span class="type"><span class="bold"><strong>bool</strong></span></span> <a name="boost.xpressive.operator_id3025510"></a><span class="bold"><strong>operator</strong></span>&lt;(<a class="link" href="../boost/xpressive/sub_match.html" title="Struct template sub_match">sub_match</a>&lt; BidiIter &gt; <span class="bold"><strong>const</strong></span> &amp; lhs, <br> <span class="bold"><strong>typename</strong></span> iterator_value&lt; BidiIter &gt;::type <span class="bold"><strong>const</strong></span> &amp; rhs);<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> BidiIter&gt; <br> <span class="type"><span class="bold"><strong>bool</strong></span></span> <a name="boost.xpressive.operator_id3025538"></a><span class="bold"><strong>operator</strong></span>&gt;(<a class="link" href="../boost/xpressive/sub_match.html" title="Struct template sub_match">sub_match</a>&lt; BidiIter &gt; <span class="bold"><strong>const</strong></span> &amp; lhs, <br> <span class="bold"><strong>typename</strong></span> iterator_value&lt; BidiIter &gt;::type <span class="bold"><strong>const</strong></span> &amp; rhs);<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> BidiIter&gt; <br> <span class="type"><span class="bold"><strong>bool</strong></span></span> <a name="boost.xpressive.operator_=_id3025565"></a><span class="bold"><strong>operator</strong></span>&gt;=(<a class="link" href="../boost/xpressive/sub_match.html" title="Struct template sub_match">sub_match</a>&lt; BidiIter &gt; <span class="bold"><strong>const</strong></span> &amp; lhs, <br> <span class="bold"><strong>typename</strong></span> iterator_value&lt; BidiIter &gt;::type <span class="bold"><strong>const</strong></span> &amp; rhs);<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> BidiIter&gt; <br> <span class="type"><span class="bold"><strong>bool</strong></span></span> <a name="boost.xpressive.operator_=_id3025592"></a><span class="bold"><strong>operator</strong></span>&lt;=(<a class="link" href="../boost/xpressive/sub_match.html" title="Struct template sub_match">sub_match</a>&lt; BidiIter &gt; <span class="bold"><strong>const</strong></span> &amp; lhs, <br> <span class="bold"><strong>typename</strong></span> iterator_value&lt; BidiIter &gt;::type <span class="bold"><strong>const</strong></span> &amp; rhs);<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> BidiIter&gt; <br> <span class="type"><a class="link" href="../boost/xpressive/sub_match.html" title="Struct template sub_match">sub_match</a>&lt; BidiIter &gt;::string_type</span> <br> <a name="boost.xpressive.operator+_id3025619"></a><span class="bold"><strong>operator</strong></span>+(<a class="link" href="../boost/xpressive/sub_match.html" title="Struct template sub_match">sub_match</a>&lt; BidiIter &gt; <span class="bold"><strong>const</strong></span> &amp; lhs, <br> <a class="link" href="../boost/xpressive/sub_match.html" title="Struct template sub_match">sub_match</a>&lt; BidiIter &gt; <span class="bold"><strong>const</strong></span> &amp; rhs);<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> BidiIter&gt; <br> <span class="type"><a class="link" href="../boost/xpressive/sub_match.html" title="Struct template sub_match">sub_match</a>&lt; BidiIter &gt;::string_type</span> <br> <a name="boost.xpressive.operator+_id3025651"></a><span class="bold"><strong>operator</strong></span>+(<a class="link" href="../boost/xpressive/sub_match.html" title="Struct template sub_match">sub_match</a>&lt; BidiIter &gt; <span class="bold"><strong>const</strong></span> &amp; lhs, <br> <span class="bold"><strong>typename</strong></span> iterator_value&lt; BidiIter &gt;::type <span class="bold"><strong>const</strong></span> &amp; rhs);<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> BidiIter&gt; <br> <span class="type"><a class="link" href="../boost/xpressive/sub_match.html" title="Struct template sub_match">sub_match</a>&lt; BidiIter &gt;::string_type</span> <br> <a name="boost.xpressive.operator+_id3025681"></a><span class="bold"><strong>operator</strong></span>+(<span class="bold"><strong>typename</strong></span> iterator_value&lt; BidiIter &gt;::type <span class="bold"><strong>const</strong></span> &amp; lhs, <br> <a class="link" href="../boost/xpressive/sub_match.html" title="Struct template sub_match">sub_match</a>&lt; BidiIter &gt; <span class="bold"><strong>const</strong></span> &amp; rhs);<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> BidiIter&gt; <br> <span class="type"><a class="link" href="../boost/xpressive/sub_match.html" title="Struct template sub_match">sub_match</a>&lt; BidiIter &gt;::string_type</span> <br> <a name="boost.xpressive.operator+_id3025711"></a><span class="bold"><strong>operator</strong></span>+(<a class="link" href="../boost/xpressive/sub_match.html" title="Struct template sub_match">sub_match</a>&lt; BidiIter &gt; <span class="bold"><strong>const</strong></span> &amp; lhs, <br> <span class="bold"><strong>typename</strong></span> iterator_value&lt; BidiIter &gt;::type <span class="bold"><strong>const</strong></span> * rhs);<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> BidiIter&gt; <br> <span class="type"><a class="link" href="../boost/xpressive/sub_match.html" title="Struct template sub_match">sub_match</a>&lt; BidiIter &gt;::string_type</span> <br> <a name="boost.xpressive.operator+_id3025741"></a><span class="bold"><strong>operator</strong></span>+(<span class="bold"><strong>typename</strong></span> iterator_value&lt; BidiIter &gt;::type <span class="bold"><strong>const</strong></span> * lhs, <br> <a class="link" href="../boost/xpressive/sub_match.html" title="Struct template sub_match">sub_match</a>&lt; BidiIter &gt; <span class="bold"><strong>const</strong></span> &amp; rhs);<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> BidiIter&gt; <br> <span class="type"><a class="link" href="../boost/xpressive/sub_match.html" title="Struct template sub_match">sub_match</a>&lt; BidiIter &gt;::string_type</span> <br> <a name="boost.xpressive.operator+_id3025770"></a><span class="bold"><strong>operator</strong></span>+(<a class="link" href="../boost/xpressive/sub_match.html" title="Struct template sub_match">sub_match</a>&lt; BidiIter &gt; <span class="bold"><strong>const</strong></span> &amp; lhs, <br> <span class="bold"><strong>typename</strong></span> <a class="link" href="../boost/xpressive/sub_match.html" title="Struct template sub_match">sub_match</a>&lt; BidiIter &gt;::string_type <span class="bold"><strong>const</strong></span> &amp; rhs);<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> BidiIter&gt; <br> <span class="type"><a class="link" href="../boost/xpressive/sub_match.html" title="Struct template sub_match">sub_match</a>&lt; BidiIter &gt;::string_type</span> <br> <a name="boost.xpressive.operator+_id3025804"></a><span class="bold"><strong>operator</strong></span>+(<span class="bold"><strong>typename</strong></span> <a class="link" href="../boost/xpressive/sub_match.html" title="Struct template sub_match">sub_match</a>&lt; BidiIter &gt;::string_type <span class="bold"><strong>const</strong></span> &amp; lhs, <br> <a class="link" href="../boost/xpressive/sub_match.html" title="Struct template sub_match">sub_match</a>&lt; BidiIter &gt; <span class="bold"><strong>const</strong></span> &amp; rhs);<br> }<br>}</pre> +<p>Contains the definition of the class template sub_match&lt;&gt; and associated helper functions<br>包含类模板 sub_match&lt;&gt; 以及相关辅助函数 的定义。 </p> +<pre class="synopsis"><span class="bold"><strong>namespace</strong></span> boost {<br> <span class="bold"><strong>namespace</strong></span> xpressive {<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> BidiIter&gt; <span class="bold"><strong>struct</strong></span> <a class="link" href="../boost/xpressive/sub_match.html" title="Struct template sub_match">sub_match</a>;<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> BidiIter, <span class="bold"><strong>typename</strong></span> Char, <span class="bold"><strong>typename</strong></span> Traits&gt; <br> <span class="type">std::basic_ostream&lt; Char, Traits &gt; &amp;</span> <br> <a class="link" href="../boost/xpressive/operator_id1453542.html" title="Function template operator&lt;&lt;"><span class="bold"><strong>operator</strong></span>&lt;&lt;</a>(std::basic_ostream&lt; Char, Traits &gt; &amp;, <br> <a class="link" href="../boost/xpressive/sub_match.html" title="Struct template sub_match">sub_match</a>&lt; BidiIter &gt; <span class="bold"><strong>const</strong></span> &amp;);<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> BidiIter&gt; <br> <span class="type"><span class="bold"><strong>bool</strong></span></span> <a name="boost.xpressive.operator==_id1453596"></a><span class="bold"><strong>operator</strong></span>==(<a class="link" href="../boost/xpressive/sub_match.html" title="Struct template sub_match">sub_match</a>&lt; BidiIter &gt; <span class="bold"><strong>const</strong></span> &amp; lhs, <br> <a class="link" href="../boost/xpressive/sub_match.html" title="Struct template sub_match">sub_match</a>&lt; BidiIter &gt; <span class="bold"><strong>const</strong></span> &amp; rhs);<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> BidiIter&gt; <br> <span class="type"><span class="bold"><strong>bool</strong></span></span> <a name="boost.xpressive.operator!=_id1453625"></a><span class="bold"><strong>operator</strong></span>!=(<a class="link" href="../boost/xpressive/sub_match.html" title="Struct template sub_match">sub_match</a>&lt; BidiIter &gt; <span class="bold"><strong>const</strong></span> &amp; lhs, <br> <a class="link" href="../boost/xpressive/sub_match.html" title="Struct template sub_match">sub_match</a>&lt; BidiIter &gt; <span class="bold"><strong>const</strong></span> &amp; rhs);<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> BidiIter&gt; <br> <span class="type"><span class="bold"><strong>bool</strong></span></span> <a name="boost.xpressive.operator_id1453654"></a><span class="bold"><strong>operator</strong></span>&lt;(<a class="link" href="../boost/xpressive/sub_match.html" title="Struct template sub_match">sub_match</a>&lt; BidiIter &gt; <span class="bold"><strong>const</strong></span> &amp; lhs, <br> <a class="link" href="../boost/xpressive/sub_match.html" title="Struct template sub_match">sub_match</a>&lt; BidiIter &gt; <span class="bold"><strong>const</strong></span> &amp; rhs);<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> BidiIter&gt; <br> <span class="type"><span class="bold"><strong>bool</strong></span></span> <a name="boost.xpressive.operator_=_id1453683"></a><span class="bold"><strong>operator</strong></span>&lt;=(<a class="link" href="../boost/xpressive/sub_match.html" title="Struct template sub_match">sub_match</a>&lt; BidiIter &gt; <span class="bold"><strong>const</strong></span> &amp; lhs, <br> <a class="link" href="../boost/xpressive/sub_match.html" title="Struct template sub_match">sub_match</a>&lt; BidiIter &gt; <span class="bold"><strong>const</strong></span> &amp; rhs);<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> BidiIter&gt; <br> <span class="type"><span class="bold"><strong>bool</strong></span></span> <a name="boost.xpressive.operator_=_id1453712"></a><span class="bold"><strong>operator</strong></span>&gt;=(<a class="link" href="../boost/xpressive/sub_match.html" title="Struct template sub_match">sub_match</a>&lt; BidiIter &gt; <span class="bold"><strong>const</strong></span> &amp; lhs, <br> <a class="link" href="../boost/xpressive/sub_match.html" title="Struct template sub_match">sub_match</a>&lt; BidiIter &gt; <span class="bold"><strong>const</strong></span> &amp; rhs);<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> BidiIter&gt; <br> <span class="type"><span class="bold"><strong>bool</strong></span></span> <a name="boost.xpressive.operator_id1453741"></a><span class="bold"><strong>operator</strong></span>&gt;(<a class="link" href="../boost/xpressive/sub_match.html" title="Struct template sub_match">sub_match</a>&lt; BidiIter &gt; <span class="bold"><strong>const</strong></span> &amp; lhs, <br> <a class="link" href="../boost/xpressive/sub_match.html" title="Struct template sub_match">sub_match</a>&lt; BidiIter &gt; <span class="bold"><strong>const</strong></span> &amp; rhs);<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> BidiIter&gt; <br> <span class="type"><span class="bold"><strong>bool</strong></span></span> <a name="boost.xpressive.operator==_id1453770"></a><span class="bold"><strong>operator</strong></span>==(<span class="bold"><strong>typename</strong></span> iterator_value&lt; BidiIter &gt;::type <span class="bold"><strong>const</strong></span> * lhs, <br> <a class="link" href="../boost/xpressive/sub_match.html" title="Struct template sub_match">sub_match</a>&lt; BidiIter &gt; <span class="bold"><strong>const</strong></span> &amp; rhs);<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> BidiIter&gt; <br> <span class="type"><span class="bold"><strong>bool</strong></span></span> <a name="boost.xpressive.operator!=_id1453798"></a><span class="bold"><strong>operator</strong></span>!=(<span class="bold"><strong>typename</strong></span> iterator_value&lt; BidiIter &gt;::type <span class="bold"><strong>const</strong></span> * lhs, <br> <a class="link" href="../boost/xpressive/sub_match.html" title="Struct template sub_match">sub_match</a>&lt; BidiIter &gt; <span class="bold"><strong>const</strong></span> &amp; rhs);<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> BidiIter&gt; <br> <span class="type"><span class="bold"><strong>bool</strong></span></span> <a name="boost.xpressive.operator_id1453825"></a><span class="bold"><strong>operator</strong></span>&lt;(<span class="bold"><strong>typename</strong></span> iterator_value&lt; BidiIter &gt;::type <span class="bold"><strong>const</strong></span> * lhs, <br> <a class="link" href="../boost/xpressive/sub_match.html" title="Struct template sub_match">sub_match</a>&lt; BidiIter &gt; <span class="bold"><strong>const</strong></span> &amp; rhs);<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> BidiIter&gt; <br> <span class="type"><span class="bold"><strong>bool</strong></span></span> <a name="boost.xpressive.operator_id1453852"></a><span class="bold"><strong>operator</strong></span>&gt;(<span class="bold"><strong>typename</strong></span> iterator_value&lt; BidiIter &gt;::type <span class="bold"><strong>const</strong></span> * lhs, <br> <a class="link" href="../boost/xpressive/sub_match.html" title="Struct template sub_match">sub_match</a>&lt; BidiIter &gt; <span class="bold"><strong>const</strong></span> &amp; rhs);<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> BidiIter&gt; <br> <span class="type"><span class="bold"><strong>bool</strong></span></span> <a name="boost.xpressive.operator_=_id1453879"></a><span class="bold"><strong>operator</strong></span>&gt;=(<span class="bold"><strong>typename</strong></span> iterator_value&lt; BidiIter &gt;::type <span class="bold"><strong>const</strong></span> * lhs, <br> <a class="link" href="../boost/xpressive/sub_match.html" title="Struct template sub_match">sub_match</a>&lt; BidiIter &gt; <span class="bold"><strong>const</strong></span> &amp; rhs);<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> BidiIter&gt; <br> <span class="type"><span class="bold"><strong>bool</strong></span></span> <a name="boost.xpressive.operator_=_id1453906"></a><span class="bold"><strong>operator</strong></span>&lt;=(<span class="bold"><strong>typename</strong></span> iterator_value&lt; BidiIter &gt;::type <span class="bold"><strong>const</strong></span> * lhs, <br> <a class="link" href="../boost/xpressive/sub_match.html" title="Struct template sub_match">sub_match</a>&lt; BidiIter &gt; <span class="bold"><strong>const</strong></span> &amp; rhs);<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> BidiIter&gt; <br> <span class="type"><span class="bold"><strong>bool</strong></span></span> <a name="boost.xpressive.operator==_id1453934"></a><span class="bold"><strong>operator</strong></span>==(<a class="link" href="../boost/xpressive/sub_match.html" title="Struct template sub_match">sub_match</a>&lt; BidiIter &gt; <span class="bold"><strong>const</strong></span> &amp; lhs, <br> <span class="bold"><strong>typename</strong></span> iterator_value&lt; BidiIter &gt;::type <span class="bold"><strong>const</strong></span> * rhs);<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> BidiIter&gt; <br> <span class="type"><span class="bold"><strong>bool</strong></span></span> <a name="boost.xpressive.operator!=_id1453961"></a><span class="bold"><strong>operator</strong></span>!=(<a class="link" href="../boost/xpressive/sub_match.html" title="Struct template sub_match">sub_match</a>&lt; BidiIter &gt; <span class="bold"><strong>const</strong></span> &amp; lhs, <br> <span class="bold"><strong>typename</strong></span> iterator_value&lt; BidiIter &gt;::type <span class="bold"><strong>const</strong></span> * rhs);<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> BidiIter&gt; <br> <span class="type"><span class="bold"><strong>bool</strong></span></span> <a name="boost.xpressive.operator_id1453988"></a><span class="bold"><strong>operator</strong></span>&lt;(<a class="link" href="../boost/xpressive/sub_match.html" title="Struct template sub_match">sub_match</a>&lt; BidiIter &gt; <span class="bold"><strong>const</strong></span> &amp; lhs, <br> <span class="bold"><strong>typename</strong></span> iterator_value&lt; BidiIter &gt;::type <span class="bold"><strong>const</strong></span> * rhs);<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> BidiIter&gt; <br> <span class="type"><span class="bold"><strong>bool</strong></span></span> <a name="boost.xpressive.operator_id1454015"></a><span class="bold"><strong>operator</strong></span>&gt;(<a class="link" href="../boost/xpressive/sub_match.html" title="Struct template sub_match">sub_match</a>&lt; BidiIter &gt; <span class="bold"><strong>const</strong></span> &amp; lhs, <br> <span class="bold"><strong>typename</strong></span> iterator_value&lt; BidiIter &gt;::type <span class="bold"><strong>const</strong></span> * rhs);<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> BidiIter&gt; <br> <span class="type"><span class="bold"><strong>bool</strong></span></span> <a name="boost.xpressive.operator_=_id1454042"></a><span class="bold"><strong>operator</strong></span>&gt;=(<a class="link" href="../boost/xpressive/sub_match.html" title="Struct template sub_match">sub_match</a>&lt; BidiIter &gt; <span class="bold"><strong>const</strong></span> &amp; lhs, <br> <span class="bold"><strong>typename</strong></span> iterator_value&lt; BidiIter &gt;::type <span class="bold"><strong>const</strong></span> * rhs);<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> BidiIter&gt; <br> <span class="type"><span class="bold"><strong>bool</strong></span></span> <a name="boost.xpressive.operator_=_id1454070"></a><span class="bold"><strong>operator</strong></span>&lt;=(<a class="link" href="../boost/xpressive/sub_match.html" title="Struct template sub_match">sub_match</a>&lt; BidiIter &gt; <span class="bold"><strong>const</strong></span> &amp; lhs, <br> <span class="bold"><strong>typename</strong></span> iterator_value&lt; BidiIter &gt;::type <span class="bold"><strong>const</strong></span> * rhs);<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> BidiIter&gt; <br> <span class="type"><span class="bold"><strong>bool</strong></span></span> <a name="boost.xpressive.operator==_id1454097"></a><span class="bold"><strong>operator</strong></span>==(<span class="bold"><strong>typename</strong></span> iterator_value&lt; BidiIter &gt;::type <span class="bold"><strong>const</strong></span> &amp; lhs, <br> <a class="link" href="../boost/xpressive/sub_match.html" title="Struct template sub_match">sub_match</a>&lt; BidiIter &gt; <span class="bold"><strong>const</strong></span> &amp; rhs);<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> BidiIter&gt; <br> <span class="type"><span class="bold"><strong>bool</strong></span></span> <a name="boost.xpressive.operator!=_id1454124"></a><span class="bold"><strong>operator</strong></span>!=(<span class="bold"><strong>typename</strong></span> iterator_value&lt; BidiIter &gt;::type <span class="bold"><strong>const</strong></span> &amp; lhs, <br> <a class="link" href="../boost/xpressive/sub_match.html" title="Struct template sub_match">sub_match</a>&lt; BidiIter &gt; <span class="bold"><strong>const</strong></span> &amp; rhs);<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> BidiIter&gt; <br> <span class="type"><span class="bold"><strong>bool</strong></span></span> <a name="boost.xpressive.operator_id1454151"></a><span class="bold"><strong>operator</strong></span>&lt;(<span class="bold"><strong>typename</strong></span> iterator_value&lt; BidiIter &gt;::type <span class="bold"><strong>const</strong></span> &amp; lhs, <br> <a class="link" href="../boost/xpressive/sub_match.html" title="Struct template sub_match">sub_match</a>&lt; BidiIter &gt; <span class="bold"><strong>const</strong></span> &amp; rhs);<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> BidiIter&gt; <br> <span class="type"><span class="bold"><strong>bool</strong></span></span> <a name="boost.xpressive.operator_id1454178"></a><span class="bold"><strong>operator</strong></span>&gt;(<span class="bold"><strong>typename</strong></span> iterator_value&lt; BidiIter &gt;::type <span class="bold"><strong>const</strong></span> &amp; lhs, <br> <a class="link" href="../boost/xpressive/sub_match.html" title="Struct template sub_match">sub_match</a>&lt; BidiIter &gt; <span class="bold"><strong>const</strong></span> &amp; rhs);<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> BidiIter&gt; <br> <span class="type"><span class="bold"><strong>bool</strong></span></span> <a name="boost.xpressive.operator_=_id1454206"></a><span class="bold"><strong>operator</strong></span>&gt;=(<span class="bold"><strong>typename</strong></span> iterator_value&lt; BidiIter &gt;::type <span class="bold"><strong>const</strong></span> &amp; lhs, <br> <a class="link" href="../boost/xpressive/sub_match.html" title="Struct template sub_match">sub_match</a>&lt; BidiIter &gt; <span class="bold"><strong>const</strong></span> &amp; rhs);<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> BidiIter&gt; <br> <span class="type"><span class="bold"><strong>bool</strong></span></span> <a name="boost.xpressive.operator_=_id1454233"></a><span class="bold"><strong>operator</strong></span>&lt;=(<span class="bold"><strong>typename</strong></span> iterator_value&lt; BidiIter &gt;::type <span class="bold"><strong>const</strong></span> &amp; lhs, <br> <a class="link" href="../boost/xpressive/sub_match.html" title="Struct template sub_match">sub_match</a>&lt; BidiIter &gt; <span class="bold"><strong>const</strong></span> &amp; rhs);<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> BidiIter&gt; <br> <span class="type"><span class="bold"><strong>bool</strong></span></span> <a name="boost.xpressive.operator==_id1454260"></a><span class="bold"><strong>operator</strong></span>==(<a class="link" href="../boost/xpressive/sub_match.html" title="Struct template sub_match">sub_match</a>&lt; BidiIter &gt; <span class="bold"><strong>const</strong></span> &amp; lhs, <br> <span class="bold"><strong>typename</strong></span> iterator_value&lt; BidiIter &gt;::type <span class="bold"><strong>const</strong></span> &amp; rhs);<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> BidiIter&gt; <br> <span class="type"><span class="bold"><strong>bool</strong></span></span> <a name="boost.xpressive.operator!=_id1454287"></a><span class="bold"><strong>operator</strong></span>!=(<a class="link" href="../boost/xpressive/sub_match.html" title="Struct template sub_match">sub_match</a>&lt; BidiIter &gt; <span class="bold"><strong>const</strong></span> &amp; lhs, <br> <span class="bold"><strong>typename</strong></span> iterator_value&lt; BidiIter &gt;::type <span class="bold"><strong>const</strong></span> &amp; rhs);<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> BidiIter&gt; <br> <span class="type"><span class="bold"><strong>bool</strong></span></span> <a name="boost.xpressive.operator_id1454314"></a><span class="bold"><strong>operator</strong></span>&lt;(<a class="link" href="../boost/xpressive/sub_match.html" title="Struct template sub_match">sub_match</a>&lt; BidiIter &gt; <span class="bold"><strong>const</strong></span> &amp; lhs, <br> <span class="bold"><strong>typename</strong></span> iterator_value&lt; BidiIter &gt;::type <span class="bold"><strong>const</strong></span> &amp; rhs);<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> BidiIter&gt; <br> <span class="type"><span class="bold"><strong>bool</strong></span></span> <a name="boost.xpressive.operator_id1454342"></a><span class="bold"><strong>operator</strong></span>&gt;(<a class="link" href="../boost/xpressive/sub_match.html" title="Struct template sub_match">sub_match</a>&lt; BidiIter &gt; <span class="bold"><strong>const</strong></span> &amp; lhs, <br> <span class="bold"><strong>typename</strong></span> iterator_value&lt; BidiIter &gt;::type <span class="bold"><strong>const</strong></span> &amp; rhs);<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> BidiIter&gt; <br> <span class="type"><span class="bold"><strong>bool</strong></span></span> <a name="boost.xpressive.operator_=_id1454369"></a><span class="bold"><strong>operator</strong></span>&gt;=(<a class="link" href="../boost/xpressive/sub_match.html" title="Struct template sub_match">sub_match</a>&lt; BidiIter &gt; <span class="bold"><strong>const</strong></span> &amp; lhs, <br> <span class="bold"><strong>typename</strong></span> iterator_value&lt; BidiIter &gt;::type <span class="bold"><strong>const</strong></span> &amp; rhs);<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> BidiIter&gt; <br> <span class="type"><span class="bold"><strong>bool</strong></span></span> <a name="boost.xpressive.operator_=_id1454396"></a><span class="bold"><strong>operator</strong></span>&lt;=(<a class="link" href="../boost/xpressive/sub_match.html" title="Struct template sub_match">sub_match</a>&lt; BidiIter &gt; <span class="bold"><strong>const</strong></span> &amp; lhs, <br> <span class="bold"><strong>typename</strong></span> iterator_value&lt; BidiIter &gt;::type <span class="bold"><strong>const</strong></span> &amp; rhs);<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> BidiIter&gt; <br> <span class="type"><a class="link" href="../boost/xpressive/sub_match.html" title="Struct template sub_match">sub_match</a>&lt; BidiIter &gt;::string_type</span> <br> <a name="boost.xpressive.operator+_id1454423"></a><span class="bold"><strong>operator</strong></span>+(<a class="link" href="../boost/xpressive/sub_match.html" title="Struct template sub_match">sub_match</a>&lt; BidiIter &gt; <span class="bold"><strong>const</strong></span> &amp; lhs, <br> <a class="link" href="../boost/xpressive/sub_match.html" title="Struct template sub_match">sub_match</a>&lt; BidiIter &gt; <span class="bold"><strong>const</strong></span> &amp; rhs);<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> BidiIter&gt; <br> <span class="type"><a class="link" href="../boost/xpressive/sub_match.html" title="Struct template sub_match">sub_match</a>&lt; BidiIter &gt;::string_type</span> <br> <a name="boost.xpressive.operator+_id1454455"></a><span class="bold"><strong>operator</strong></span>+(<a class="link" href="../boost/xpressive/sub_match.html" title="Struct template sub_match">sub_match</a>&lt; BidiIter &gt; <span class="bold"><strong>const</strong></span> &amp; lhs, <br> <span class="bold"><strong>typename</strong></span> iterator_value&lt; BidiIter &gt;::type <span class="bold"><strong>const</strong></span> &amp; rhs);<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> BidiIter&gt; <br> <span class="type"><a class="link" href="../boost/xpressive/sub_match.html" title="Struct template sub_match">sub_match</a>&lt; BidiIter &gt;::string_type</span> <br> <a name="boost.xpressive.operator+_id1454485"></a><span class="bold"><strong>operator</strong></span>+(<span class="bold"><strong>typename</strong></span> iterator_value&lt; BidiIter &gt;::type <span class="bold"><strong>const</strong></span> &amp; lhs, <br> <a class="link" href="../boost/xpressive/sub_match.html" title="Struct template sub_match">sub_match</a>&lt; BidiIter &gt; <span class="bold"><strong>const</strong></span> &amp; rhs);<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> BidiIter&gt; <br> <span class="type"><a class="link" href="../boost/xpressive/sub_match.html" title="Struct template sub_match">sub_match</a>&lt; BidiIter &gt;::string_type</span> <br> <a name="boost.xpressive.operator+_id1454515"></a><span class="bold"><strong>operator</strong></span>+(<a class="link" href="../boost/xpressive/sub_match.html" title="Struct template sub_match">sub_match</a>&lt; BidiIter &gt; <span class="bold"><strong>const</strong></span> &amp; lhs, <br> <span class="bold"><strong>typename</strong></span> iterator_value&lt; BidiIter &gt;::type <span class="bold"><strong>const</strong></span> * rhs);<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> BidiIter&gt; <br> <span class="type"><a class="link" href="../boost/xpressive/sub_match.html" title="Struct template sub_match">sub_match</a>&lt; BidiIter &gt;::string_type</span> <br> <a name="boost.xpressive.operator+_id1454545"></a><span class="bold"><strong>operator</strong></span>+(<span class="bold"><strong>typename</strong></span> iterator_value&lt; BidiIter &gt;::type <span class="bold"><strong>const</strong></span> * lhs, <br> <a class="link" href="../boost/xpressive/sub_match.html" title="Struct template sub_match">sub_match</a>&lt; BidiIter &gt; <span class="bold"><strong>const</strong></span> &amp; rhs);<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> BidiIter&gt; <br> <span class="type"><a class="link" href="../boost/xpressive/sub_match.html" title="Struct template sub_match">sub_match</a>&lt; BidiIter &gt;::string_type</span> <br> <a name="boost.xpressive.operator+_id1454574"></a><span class="bold"><strong>operator</strong></span>+(<a class="link" href="../boost/xpressive/sub_match.html" title="Struct template sub_match">sub_match</a>&lt; BidiIter &gt; <span class="bold"><strong>const</strong></span> &amp; lhs, <br> <span class="bold"><strong>typename</strong></span> <a class="link" href="../boost/xpressive/sub_match.html" title="Struct template sub_match">sub_match</a>&lt; BidiIter &gt;::string_type <span class="bold"><strong>const</strong></span> &amp; rhs);<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> BidiIter&gt; <br> <span class="type"><a class="link" href="../boost/xpressive/sub_match.html" title="Struct template sub_match">sub_match</a>&lt; BidiIter &gt;::string_type</span> <br> <a name="boost.xpressive.operator+_id1454608"></a><span class="bold"><strong>operator</strong></span>+(<span class="bold"><strong>typename</strong></span> <a class="link" href="../boost/xpressive/sub_match.html" title="Struct template sub_match">sub_match</a>&lt; BidiIter &gt;::string_type <span class="bold"><strong>const</strong></span> &amp; lhs, <br> <a class="link" href="../boost/xpressive/sub_match.html" title="Struct template sub_match">sub_match</a>&lt; BidiIter &gt; <span class="bold"><strong>const</strong></span> &amp; rhs);<br> }<br>}</pre>
 </div>
-<div class="section" lang="en">
+<div class="section" title="Header &lt;boost/xpressive/traits/c_regex_traits.hpp&gt;">
 <div class="titlepage"><div><div><h3 class="title">
<a name="header.boost.xpressive.traits.c_regex_traits_hpp"></a>Header &lt;<a href="../../../boost/xpressive/traits/c_regex_traits.hpp" target="_top">boost/xpressive/traits/c_regex_traits.hpp</a>&gt;</h3></div></div></div>
 <p>Contains the definition of the c_regex_traits&lt;&gt; template,
 which is a wrapper for the C locale functions that can be used to
-customize the behavior of static and dynamic regexes.<br>包含 c_regex_traits&lt;&gt; 模板的定义,它是对 C locale 函数的包装,可用于定制静 态和动态regexes的行为。 </p> -<pre class="synopsis"><span class="bold"><strong>namespace</strong></span> boost {<br> <span class="bold"><strong>namespace</strong></span> xpressive {<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> Char&gt; <span class="bold"><strong>struct</strong></span> <a class="link" href="../boost/xpressive/c_regex_traits.html" title="Struct template c_regex_traits">c_regex_traits</a>;<br><br> <span class="bold"><strong>template</strong></span>&lt;&gt; <span class="bold"><strong>struct</strong></span> <a class="link" href="../boost/xpressive/has_fold_case_c_regex_t_id3026682.html" title="Struct has_fold_case&lt;c_regex_traits&lt; char &gt;&gt;">has_fold_case</a>&lt;c_regex_traits&lt; <span class="bold"><strong>char</strong></span> &gt;&gt;;<br> }<br>}</pre> +customize the behavior of static and dynamic regexes.<br>包含 c_regex_traits&lt;&gt; 模板的定义,它是对 C locale 函数的包装,可用于定制静 态和动态regexes的行为。 </p> +<pre class="synopsis"><span class="bold"><strong>namespace</strong></span> boost {<br> <span class="bold"><strong>namespace</strong></span> xpressive {<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> Char&gt; <span class="bold"><strong>struct</strong></span> <a class="link" href="../boost/xpressive/c_regex_traits.html" title="Struct template c_regex_traits">c_regex_traits</a>;<br><br> <span class="bold"><strong>template</strong></span>&lt;&gt; <span class="bold"><strong>struct</strong></span> <a class="link" href="../boost/xpressive/has_fold_case_c_regex_t_id1455486.html" title="Struct has_fold_case&lt;c_regex_traits&lt; char &gt;&gt;">has_fold_case</a>&lt;c_regex_traits&lt; <span class="bold"><strong>char</strong></span> &gt;&gt;;<br> }<br>}</pre>
 </div>
-<div class="section" lang="en">
+<div class="section" title="Header &lt;boost/xpressive/traits/cpp_regex_traits.hpp&gt;">
 <div class="titlepage"><div><div><h3 class="title">
<a name="header.boost.xpressive.traits.cpp_regex_traits_hpp"></a>Header &lt;<a href="../../../boost/xpressive/traits/cpp_regex_traits.hpp" target="_top">boost/xpressive/traits/cpp_regex_traits.hpp</a>&gt;</h3></div></div></div>
 <p>Contains the definition of the cpp_regex_traits&lt;&gt; template,
 which is a wrapper for std::locale that can be used to customize the
-behavior of static and dynamic regexes.<br>包含 cpp_regex_traits&lt;&gt; 模 板的定义,它是 std::locale 的包装,可用于定制静态和动态regexes的行为。 </p> -<pre class="synopsis"><span class="bold"><strong>namespace</strong></span> boost {<br> <span class="bold"><strong>namespace</strong></span> xpressive {<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> Char&gt; <span class="bold"><strong>struct</strong></span> <a class="link" href="../boost/xpressive/cpp_regex_traits.html" title="Struct template cpp_regex_traits">cpp_regex_traits</a>;<br><br> <span class="bold"><strong>template</strong></span>&lt;&gt; <span class="bold"><strong>struct</strong></span> <a class="link" href="../boost/xpressive/has_fold_case_cpp_regex_id3027462.html" title="Struct has_fold_case&lt;cpp_regex_traits&lt; char &gt;&gt;">has_fold_case</a>&lt;cpp_regex_traits&lt; <span class="bold"><strong>char</strong></span> &gt;&gt;;<br> }<br>}</pre> +behavior of static and dynamic regexes.<br>包含 cpp_regex_traits&lt;&gt; 模 板的定义,它是 std::locale 的包装,可用于定制静态和动态regexes的行为。 </p> +<pre class="synopsis"><span class="bold"><strong>namespace</strong></span> boost {<br> <span class="bold"><strong>namespace</strong></span> xpressive {<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> Char&gt; <span class="bold"><strong>struct</strong></span> <a class="link" href="../boost/xpressive/cpp_regex_traits.html" title="Struct template cpp_regex_traits">cpp_regex_traits</a>;<br><br> <span class="bold"><strong>template</strong></span>&lt;&gt; <span class="bold"><strong>struct</strong></span> <a class="link" href="../boost/xpressive/has_fold_case_cpp_regex_id1456266.html" title="Struct has_fold_case&lt;cpp_regex_traits&lt; char &gt;&gt;">has_fold_case</a>&lt;cpp_regex_traits&lt; <span class="bold"><strong>char</strong></span> &gt;&gt;;<br> }<br>}</pre>
 </div>
-<div class="section" lang="en">
+<div class="section" title="Header &lt;boost/xpressive/traits/null_regex_traits.hpp&gt;">
 <div class="titlepage"><div><div><h3 class="title">
<a name="header.boost.xpressive.traits.null_regex_traits_hpp"></a>Header &lt;<a href="../../../boost/xpressive/traits/null_regex_traits.hpp" target="_top">boost/xpressive/traits/null_regex_traits.hpp</a>&gt;</h3></div></div></div>
 <p>Contains the definition of the null_regex_traits&lt;&gt; template,
 which is a stub regex traits implementation that can be used by static
-and dynamic regexes for searching non-character data.<br>包含 null_regex_traits&lt;&gt; 模板的定义,它是一个 stub regex traits 实现,可被 静态和动态regexes用来查找非字符数据。 </p> +and dynamic regexes for searching non-character data.<br>包含 null_regex_traits&lt;&gt; 模板的定义,它是一个 stub regex traits
+实现,可被静态和动态regexes用来查找非字符数据。  </p>
<pre class="synopsis"><span class="bold"><strong>namespace</strong></span> boost {<br> <span class="bold"><strong>namespace</strong></span> xpressive {<br> <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> Elem&gt; <span class="bold"><strong>struct</strong></span> <a class="link" href="../boost/xpressive/null_regex_traits.html" title="Struct template null_regex_traits">null_regex_traits</a>;<br> }<br>}</pre>
 </div>
-<div class="section" lang="en">
+<div class="section" title="Header &lt;boost/xpressive/xpressive.hpp&gt;">
 <div class="titlepage"><div><div><h3 class="title">
<a name="header.boost.xpressive.xpressive_hpp"></a>Header &lt;<a href="../../../boost/xpressive/xpressive.hpp" target="_top">boost/xpressive/xpressive.hpp</a>&gt;</h3></div></div></div> -<p>Includes all of xpressive including support for both static and dynamic regular expressions.<br>包含所有xpressive,包括对静态和动态正则表达式的支 持。 </p> +<p>Includes all of xpressive including support for both static and dynamic regular expressions.<br>包含所有xpressive,包括对静态和动态正则表达式的支 持。 </p>
 </div>
-<div class="section" lang="en">
+<div class="section" title="Header &lt;boost/xpressive/xpressive_dynamic.hpp&gt;">
 <div class="titlepage"><div><div><h3 class="title">
<a name="header.boost.xpressive.xpressive_dynamic_hpp"></a>Header &lt;<a href="../../../boost/xpressive/xpressive_dynamic.hpp" target="_top">boost/xpressive/xpressive_dynamic.hpp</a>&gt;</h3></div></div></div> -<p>Includes everything you need to write and use dynamic regular expressions.<br>包含编写和使用动态正则表达式所需的所有东西。 </p> +<p>Includes everything you need to write and use dynamic regular expressions.<br>包含编写和使用动态正则表达式所需的所有东西。 </p>
 </div>
-<div class="section" lang="en">
+<div class="section" title="Header &lt;boost/xpressive/xpressive_fwd.hpp&gt;">
 <div class="titlepage"><div><div><h3 class="title">
<a name="header.boost.xpressive.xpressive_fwd_hpp"></a>Header &lt;<a href="../../../boost/xpressive/xpressive_fwd.hpp" target="_top">boost/xpressive/xpressive_fwd.hpp</a>&gt;</h3></div></div></div> -<p>Forward declarations for all of xpressive's public data types.<br>对 xpressive的所有公有数据类型的前向声明。 </p> -<pre class="synopsis"><a class="link" href="../BOOST_PROTO_FUSION_V2.html" title="Macro BOOST_PROTO_FUSION_V2">BOOST_PROTO_FUSION_V2</a> +<p>Forward declarations for all of xpressive's public data types.<br>对 xpressive的所有公有数据类型的前向声明。 </p>
+<pre class="synopsis">
+<a class="link" href="../BOOST_PROTO_FUSION_V2.html" title="Macro BOOST_PROTO_FUSION_V2">BOOST_PROTO_FUSION_V2</a> <a class="link" href="../BOOST_XPRESSIVE_HAS_MS_STACK_GUARD.html" title="Macro BOOST_XPRESSIVE_HAS_MS_STACK_GUARD">BOOST_XPRESSIVE_HAS_MS_STACK_GUARD</a></pre> -<pre class="synopsis"><span class="bold"><strong>namespace</strong></span> boost {<br> <span class="bold"><strong>namespace</strong></span> xpressive {<br> <span class="bold"><strong>typedef</strong></span> <span class="bold"><strong>void</strong></span> <span class="bold"><strong>const</strong></span> * <a name="boost.xpressive.regex_id_type"></a>regex_id_type;<br> <span class="bold"><strong>typedef</strong></span> <a class="link" href="../boost/xpressive/basic_regex.html" title="Struct template basic_regex">basic_regex</a>&lt; std::string::const_iterator &gt; <a name="boost.xpressive.sregex"></a>sregex;<br> <span class="bold"><strong>typedef</strong></span> <a class="link" href="../boost/xpressive/basic_regex.html" title="Struct template basic_regex">basic_regex</a>&lt; <span class="bold"><strong>char</strong></span> <span class="bold"><strong>const</strong></span> * &gt; <a name="boost.xpressive.cregex"></a>cregex;<br> <span class="bold"><strong>typedef</strong></span> <a class="link" href="../boost/xpressive/basic_regex.html" title="Struct template basic_regex">basic_regex</a>&lt; std::wstring::const_iterator &gt; <a name="boost.xpressive.wsregex"></a>wsregex;<br> <span class="bold"><strong>typedef</strong></span> <a class="link" href="../boost/xpressive/basic_regex.html" title="Struct template basic_regex">basic_regex</a>&lt; <span class="bold"><strong>wchar_t</strong></span> <span class="bold"><strong>const</strong></span> * &gt; <a name="boost.xpressive.wcregex"></a>wcregex;<br> <span class="bold"><strong>typedef</strong></span> <a class="link" href="../boost/xpressive/sub_match.html" title="Struct template sub_match">sub_match</a>&lt; std::string::const_iterator &gt; <a name="boost.xpressive.ssub_match"></a>ssub_match;<br> <span class="bold"><strong>typedef</strong></span> <a class="link" href="../boost/xpressive/sub_match.html" title="Struct template sub_match">sub_match</a>&lt; <span class="bold"><strong>char</strong></span> <span class="bold"><strong>const</strong></span> * &gt; <a name="boost.xpressive.csub_match"></a>csub_match;<br> <span class="bold"><strong>typedef</strong></span> <a class="link" href="../boost/xpressive/sub_match.html" title="Struct template sub_match">sub_match</a>&lt; std::wstring::const_iterator &gt; <a name="boost.xpressive.wssub_match"></a>wssub_match;<br> <span class="bold"><strong>typedef</strong></span> <a class="link" href="../boost/xpressive/sub_match.html" title="Struct template sub_match">sub_match</a>&lt; <span class="bold"><strong>wchar_t</strong></span> <span class="bold"><strong>const</strong></span> * &gt; <a name="boost.xpressive.wcsub_match"></a>wcsub_match;<br> <span class="bold"><strong>typedef</strong></span> <a class="link" href="../boost/xpressive/regex_compiler.html" title="Struct template regex_compiler">regex_compiler</a>&lt; std::string::const_iterator &gt; <a name="boost.xpressive.sregex_compiler"></a>sregex_compiler;<br> <span class="bold"><strong>typedef</strong></span> <a class="link" href="../boost/xpressive/regex_compiler.html" title="Struct template regex_compiler">regex_compiler</a>&lt; <span class="bold"><strong>char</strong></span> <span class="bold"><strong>const</strong></span> * &gt; <a name="boost.xpressive.cregex_compiler"></a>cregex_compiler;<br> <span class="bold"><strong>typedef</strong></span> <a class="link" href="../boost/xpressive/regex_compiler.html" title="Struct template regex_compiler">regex_compiler</a>&lt; std::wstring::const_iterator &gt; <a name="boost.xpressive.wsregex_compiler"></a>wsregex_compiler;<br> <span class="bold"><strong>typedef</strong></span> <a class="link" href="../boost/xpressive/regex_compiler.html" title="Struct template regex_compiler">regex_compiler</a>&lt; <span class="bold"><strong>wchar_t</strong></span> <span class="bold"><strong>const</strong></span> * &gt; <a name="boost.xpressive.wcregex_compiler"></a>wcregex_compiler;<br> <span class="bold"><strong>typedef</strong></span> <a class="link" href="../boost/xpressive/regex_iterator.html" title="Struct template regex_iterator">regex_iterator</a>&lt; std::string::const_iterator &gt; <a name="boost.xpressive.sregex_iterator"></a>sregex_iterator;<br> <span class="bold"><strong>typedef</strong></span> <a class="link" href="../boost/xpressive/regex_iterator.html" title="Struct template regex_iterator">regex_iterator</a>&lt; <span class="bold"><strong>char</strong></span> <span class="bold"><strong>const</strong></span> * &gt; <a name="boost.xpressive.cregex_iterator"></a>cregex_iterator;<br> <span class="bold"><strong>typedef</strong></span> <a class="link" href="../boost/xpressive/regex_iterator.html" title="Struct template regex_iterator">regex_iterator</a>&lt; std::wstring::const_iterator &gt; <a name="boost.xpressive.wsregex_iterator"></a>wsregex_iterator;<br> <span class="bold"><strong>typedef</strong></span> <a class="link" href="../boost/xpressive/regex_iterator.html" title="Struct template regex_iterator">regex_iterator</a>&lt; <span class="bold"><strong>wchar_t</strong></span> <span class="bold"><strong>const</strong></span> * &gt; <a name="boost.xpressive.wcregex_iterator"></a>wcregex_iterator;<br> <span class="bold"><strong>typedef</strong></span> <a class="link" href="../boost/xpressive/regex_token_iterator.html" title="Struct template regex_token_iterator">regex_token_iterator</a>&lt; std::string::const_iterator &gt; <a name="boost.xpressive.sregex_token_iterator"></a>sregex_token_iterator;<br> <span class="bold"><strong>typedef</strong></span> <a class="link" href="../boost/xpressive/regex_token_iterator.html" title="Struct template regex_token_iterator">regex_token_iterator</a>&lt; <span class="bold"><strong>char</strong></span> <span class="bold"><strong>const</strong></span> * &gt; <a name="boost.xpressive.cregex_token_iterator"></a>cregex_token_iterator;<br> <span class="bold"><strong>typedef</strong></span> <a class="link" href="../boost/xpressive/regex_token_iterator.html" title="Struct template regex_token_iterator">regex_token_iterator</a>&lt; std::wstring::const_iterator &gt; <a name="boost.xpressive.wsregex_token_iterator"></a>wsregex_token_iterator;<br> <span class="bold"><strong>typedef</strong></span> <a class="link" href="../boost/xpressive/regex_token_iterator.html" title="Struct template regex_token_iterator">regex_token_iterator</a>&lt; <span class="bold"><strong>wchar_t</strong></span> <span class="bold"><strong>const</strong></span> * &gt; <a name="boost.xpressive.wcregex_token_iterator"></a>wcregex_token_iterator;<br> <span class="bold"><strong>typedef</strong></span> <a class="link" href="../boost/xpressive/match_results.html" title="Struct template match_results">match_results</a>&lt; std::string::const_iterator &gt; <a name="boost.xpressive.smatch"></a>smatch;<br> <span class="bold"><strong>typedef</strong></span> <a class="link" href="../boost/xpressive/match_results.html" title="Struct template match_results">match_results</a>&lt; <span class="bold"><strong>char</strong></span> <span class="bold"><strong>const</strong></span> * &gt; <a name="boost.xpressive.cmatch"></a>cmatch;<br> <span class="bold"><strong>typedef</strong></span> <a class="link" href="../boost/xpressive/match_results.html" title="Struct template match_results">match_results</a>&lt; std::wstring::const_iterator &gt; <a name="boost.xpressive.wsmatch"></a>wsmatch;<br> <span class="bold"><strong>typedef</strong></span> <a class="link" href="../boost/xpressive/match_results.html" title="Struct template match_results">match_results</a>&lt; <span class="bold"><strong>wchar_t</strong></span> <span class="bold"><strong>const</strong></span> * &gt; <a name="boost.xpressive.wcmatch"></a>wcmatch;<br> <span class="bold"><strong>typedef</strong></span> <a class="link" href="../boost/xpressive/regex_id_filter_predicate.html" title="Struct template regex_id_filter_predicate">regex_id_filter_predicate</a>&lt; std::string::const_iterator &gt; <a name="boost.xpressive.sregex_id_filter_predicate"></a>sregex_id_filter_predicate;<br> <span class="bold"><strong>typedef</strong></span> <a class="link" href="../boost/xpressive/regex_id_filter_predicate.html" title="Struct template regex_id_filter_predicate">regex_id_filter_predicate</a>&lt; <span class="bold"><strong>char</strong></span> <span class="bold"><strong>const</strong></span> * &gt; <a name="boost.xpressive.cregex_id_filter_predicate"></a>cregex_id_filter_predicate;<br> <span class="bold"><strong>typedef</strong></span> <a class="link" href="../boost/xpressive/regex_id_filter_predicate.html" title="Struct template regex_id_filter_predicate">regex_id_filter_predicate</a>&lt; std::wstring::const_iterator &gt; <a name="boost.xpressive.wsregex_id_filter_predi_id3028361"></a>wsregex_id_filter_predicate;<br> <span class="bold"><strong>typedef</strong></span> <a class="link" href="../boost/xpressive/regex_id_filter_predicate.html" title="Struct template regex_id_filter_predicate">regex_id_filter_predicate</a>&lt; <span class="bold"><strong>wchar_t</strong></span> <span class="bold"><strong>const</strong></span> * &gt; <a name="boost.xpressive.wcregex_id_filter_predi_id3028370"></a>wcregex_id_filter_predicate;<br> }<br>}</pre> +<pre class="synopsis"><span class="bold"><strong>namespace</strong></span> boost {<br> <span class="bold"><strong>namespace</strong></span> xpressive {<br> <span class="bold"><strong>typedef</strong></span> <span class="bold"><strong>void</strong></span> <span class="bold"><strong>const</strong></span> * <a name="boost.xpressive.regex_id_type"></a>regex_id_type;<br> <span class="bold"><strong>typedef</strong></span> <a class="link" href="../boost/xpressive/basic_regex.html" title="Struct template basic_regex">basic_regex</a>&lt; std::string::const_iterator &gt; <a name="boost.xpressive.sregex"></a>sregex;<br> <span class="bold"><strong>typedef</strong></span> <a class="link" href="../boost/xpressive/basic_regex.html" title="Struct template basic_regex">basic_regex</a>&lt; <span class="bold"><strong>char</strong></span> <span class="bold"><strong>const</strong></span> * &gt; <a name="boost.xpressive.cregex"></a>cregex;<br> <span class="bold"><strong>typedef</strong></span> <a class="link" href="../boost/xpressive/basic_regex.html" title="Struct template basic_regex">basic_regex</a>&lt; std::wstring::const_iterator &gt; <a name="boost.xpressive.wsregex"></a>wsregex;<br> <span class="bold"><strong>typedef</strong></span> <a class="link" href="../boost/xpressive/basic_regex.html" title="Struct template basic_regex">basic_regex</a>&lt; <span class="bold"><strong>wchar_t</strong></span> <span class="bold"><strong>const</strong></span> * &gt; <a name="boost.xpressive.wcregex"></a>wcregex;<br> <span class="bold"><strong>typedef</strong></span> <a class="link" href="../boost/xpressive/sub_match.html" title="Struct template sub_match">sub_match</a>&lt; std::string::const_iterator &gt; <a name="boost.xpressive.ssub_match"></a>ssub_match;<br> <span class="bold"><strong>typedef</strong></span> <a class="link" href="../boost/xpressive/sub_match.html" title="Struct template sub_match">sub_match</a>&lt; <span class="bold"><strong>char</strong></span> <span class="bold"><strong>const</strong></span> * &gt; <a name="boost.xpressive.csub_match"></a>csub_match;<br> <span class="bold"><strong>typedef</strong></span> <a class="link" href="../boost/xpressive/sub_match.html" title="Struct template sub_match">sub_match</a>&lt; std::wstring::const_iterator &gt; <a name="boost.xpressive.wssub_match"></a>wssub_match;<br> <span class="bold"><strong>typedef</strong></span> <a class="link" href="../boost/xpressive/sub_match.html" title="Struct template sub_match">sub_match</a>&lt; <span class="bold"><strong>wchar_t</strong></span> <span class="bold"><strong>const</strong></span> * &gt; <a name="boost.xpressive.wcsub_match"></a>wcsub_match;<br> <span class="bold"><strong>typedef</strong></span> <a class="link" href="../boost/xpressive/regex_compiler.html" title="Struct template regex_compiler">regex_compiler</a>&lt; std::string::const_iterator &gt; <a name="boost.xpressive.sregex_compiler"></a>sregex_compiler;<br> <span class="bold"><strong>typedef</strong></span> <a class="link" href="../boost/xpressive/regex_compiler.html" title="Struct template regex_compiler">regex_compiler</a>&lt; <span class="bold"><strong>char</strong></span> <span class="bold"><strong>const</strong></span> * &gt; <a name="boost.xpressive.cregex_compiler"></a>cregex_compiler;<br> <span class="bold"><strong>typedef</strong></span> <a class="link" href="../boost/xpressive/regex_compiler.html" title="Struct template regex_compiler">regex_compiler</a>&lt; std::wstring::const_iterator &gt; <a name="boost.xpressive.wsregex_compiler"></a>wsregex_compiler;<br> <span class="bold"><strong>typedef</strong></span> <a class="link" href="../boost/xpressive/regex_compiler.html" title="Struct template regex_compiler">regex_compiler</a>&lt; <span class="bold"><strong>wchar_t</strong></span> <span class="bold"><strong>const</strong></span> * &gt; <a name="boost.xpressive.wcregex_compiler"></a>wcregex_compiler;<br> <span class="bold"><strong>typedef</strong></span> <a class="link" href="../boost/xpressive/regex_iterator.html" title="Struct template regex_iterator">regex_iterator</a>&lt; std::string::const_iterator &gt; <a name="boost.xpressive.sregex_iterator"></a>sregex_iterator;<br> <span class="bold"><strong>typedef</strong></span> <a class="link" href="../boost/xpressive/regex_iterator.html" title="Struct template regex_iterator">regex_iterator</a>&lt; <span class="bold"><strong>char</strong></span> <span class="bold"><strong>const</strong></span> * &gt; <a name="boost.xpressive.cregex_iterator"></a>cregex_iterator;<br> <span class="bold"><strong>typedef</strong></span> <a class="link" href="../boost/xpressive/regex_iterator.html" title="Struct template regex_iterator">regex_iterator</a>&lt; std::wstring::const_iterator &gt; <a name="boost.xpressive.wsregex_iterator"></a>wsregex_iterator;<br> <span class="bold"><strong>typedef</strong></span> <a class="link" href="../boost/xpressive/regex_iterator.html" title="Struct template regex_iterator">regex_iterator</a>&lt; <span class="bold"><strong>wchar_t</strong></span> <span class="bold"><strong>const</strong></span> * &gt; <a name="boost.xpressive.wcregex_iterator"></a>wcregex_iterator;<br> <span class="bold"><strong>typedef</strong></span> <a class="link" href="../boost/xpressive/regex_token_iterator.html" title="Struct template regex_token_iterator">regex_token_iterator</a>&lt; std::string::const_iterator &gt; <a name="boost.xpressive.sregex_token_iterator"></a>sregex_token_iterator;<br> <span class="bold"><strong>typedef</strong></span> <a class="link" href="../boost/xpressive/regex_token_iterator.html" title="Struct template regex_token_iterator">regex_token_iterator</a>&lt; <span class="bold"><strong>char</strong></span> <span class="bold"><strong>const</strong></span> * &gt; <a name="boost.xpressive.cregex_token_iterator"></a>cregex_token_iterator;<br> <span class="bold"><strong>typedef</strong></span> <a class="link" href="../boost/xpressive/regex_token_iterator.html" title="Struct template regex_token_iterator">regex_token_iterator</a>&lt; std::wstring::const_iterator &gt; <a name="boost.xpressive.wsregex_token_iterator"></a>wsregex_token_iterator;<br> <span class="bold"><strong>typedef</strong></span> <a class="link" href="../boost/xpressive/regex_token_iterator.html" title="Struct template regex_token_iterator">regex_token_iterator</a>&lt; <span class="bold"><strong>wchar_t</strong></span> <span class="bold"><strong>const</strong></span> * &gt; <a name="boost.xpressive.wcregex_token_iterator"></a>wcregex_token_iterator;<br> <span class="bold"><strong>typedef</strong></span> <a class="link" href="../boost/xpressive/match_results.html" title="Struct template match_results">match_results</a>&lt; std::string::const_iterator &gt; <a name="boost.xpressive.smatch"></a>smatch;<br> <span class="bold"><strong>typedef</strong></span> <a class="link" href="../boost/xpressive/match_results.html" title="Struct template match_results">match_results</a>&lt; <span class="bold"><strong>char</strong></span> <span class="bold"><strong>const</strong></span> * &gt; <a name="boost.xpressive.cmatch"></a>cmatch;<br> <span class="bold"><strong>typedef</strong></span> <a class="link" href="../boost/xpressive/match_results.html" title="Struct template match_results">match_results</a>&lt; std::wstring::const_iterator &gt; <a name="boost.xpressive.wsmatch"></a>wsmatch;<br> <span class="bold"><strong>typedef</strong></span> <a class="link" href="../boost/xpressive/match_results.html" title="Struct template match_results">match_results</a>&lt; <span class="bold"><strong>wchar_t</strong></span> <span class="bold"><strong>const</strong></span> * &gt; <a name="boost.xpressive.wcmatch"></a>wcmatch;<br> <span class="bold"><strong>typedef</strong></span> <a class="link" href="../boost/xpressive/regex_id_filter_predicate.html" title="Struct template regex_id_filter_predicate">regex_id_filter_predicate</a>&lt; std::string::const_iterator &gt; <a name="boost.xpressive.sregex_id_filter_predicate"></a>sregex_id_filter_predicate;<br> <span class="bold"><strong>typedef</strong></span> <a class="link" href="../boost/xpressive/regex_id_filter_predicate.html" title="Struct template regex_id_filter_predicate">regex_id_filter_predicate</a>&lt; <span class="bold"><strong>char</strong></span> <span class="bold"><strong>const</strong></span> * &gt; <a name="boost.xpressive.cregex_id_filter_predicate"></a>cregex_id_filter_predicate;<br> <span class="bold"><strong>typedef</strong></span> <a class="link" href="../boost/xpressive/regex_id_filter_predicate.html" title="Struct template regex_id_filter_predicate">regex_id_filter_predicate</a>&lt; std::wstring::const_iterator &gt; <a name="boost.xpressive.wsregex_id_filter_predi_id1457165"></a>wsregex_id_filter_predicate;<br> <span class="bold"><strong>typedef</strong></span> <a class="link" href="../boost/xpressive/regex_id_filter_predicate.html" title="Struct template regex_id_filter_predicate">regex_id_filter_predicate</a>&lt; <span class="bold"><strong>wchar_t</strong></span> <span class="bold"><strong>const</strong></span> * &gt; <a name="boost.xpressive.wcregex_id_filter_predi_id1457174"></a>wcregex_id_filter_predicate;<br> }<br>}</pre>
 </div>
-<div class="section" lang="en">
+<div class="section" title="Header &lt;boost/xpressive/xpressive_static.hpp&gt;">
 <div class="titlepage"><div><div><h3 class="title">
<a name="header.boost.xpressive.xpressive_static_hpp"></a>Header &lt;<a href="../../../boost/xpressive/xpressive_static.hpp" target="_top">boost/xpressive/xpressive_static.hpp</a>&gt;</h3></div></div></div> -<p>Includes everything you need to write static regular expressions and use them.<br>包含编写和使用静态正则表达式所需的所有东西。 </p> +<p>Includes everything you need to write static regular expressions and use them.<br>包含编写和使用静态正则表达式所需的所有东西。 </p>
 </div>
-<div class="section" lang="en">
+<div class="section" title="Header &lt;boost/xpressive/xpressive_typeof.hpp&gt;">
 <div class="titlepage"><div><div><h3 class="title">
<a name="header.boost.xpressive.xpressive_typeof_hpp"></a>Header &lt;<a href="../../../boost/xpressive/xpressive_typeof.hpp" target="_top">boost/xpressive/xpressive_typeof.hpp</a>&gt;</h3></div></div></div> -<p>Type registrations so that xpressive can be used with the Boost.Typeof library.<br>类型登记信息,令xpressive可以和Boost.Typeof库一起使用。 </p> +<p>Type registrations so that xpressive can be used with the Boost.Typeof library.<br>类型登记信息,令xpressive可以和Boost.Typeof库一起使用。 </p>
 </div>
 </div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision"; width="100%"><tbody><tr>
=======================================
--- /trunk/doc/html/xpressive/user_s_guide.html Wed Jun 24 00:35:24 2009
+++ /trunk/doc/html/xpressive/user_s_guide.html Wed Sep  2 20:31:58 2009
@@ -4522,15 +4522,22 @@
 </div>
 <p> Squeeze the most performance out of xpressive with these tips
 and tricks.<br>
-以下这些提示和技巧可以将xpressive的最大性能挤压出来。 </p>
-<a name="boost_xpressive.user_s_guide.tips_n_tricks.use_static_regexes"></a> -<h3><a name="id4085012"></a> <a class="link" href="user_s_guide.html#boost_xpressive.user_s_guide.tips_n_tricks.use_static_regexes">Use
-Static Regexes 使用静态Regexes</a> </h3>
-<p> On average, static regexes execute about 10 to 15% faster
-than their dynamic counterparts. It's worth familiarizing yourself with
-the static regex dialect.<br>
-平均来说,静态regex执行起来比同等的动态regex快10%到15%。熟悉静态regex的写法 非常值得。 </p> -<a name="boost_xpressive.user_s_guide.tips_n_tricks.reuse__literal__classname_alt__boost__xpressive__match_results__match_results_lt__gt___classname___literal__objects"></a>
+以下这些提示和技巧可以将xpressive的最大性能挤压出来。</p><p>
+<a name="boost_xpressive.user_s_guide.tips_n_tricks.compile_patterns_once_and_reuse_them"></a> +</p><h3><a name="id4085340"></a> <a class="link" href="user_s_guide.html#boost_xpressive.user_s_guide.tips_n_tricks.compile_patterns_once_and_reuse_them">Compile
+Patterns Once And Reuse Them 对模式编译一次并重用它们</a> </h3>
+<p> Compiling a regex (dynamic or static) is more expensive than
+executing a match or search. If you have the option, prefer to compile
+a pattern into a <code class="literal"><code class="computeroutput"><a class="link" href="../boost/xpressive/basic_regex.html" title="Struct template basic_regex">basic_regex&lt;&gt;</a></code></code>
+object once and reuse it rather than recreating it over and over.<br>
+编译一个regex (动态或静态的)要比执行一次匹配或查找更为昂贵。如果你可以选 择,就应该一次性将模式编译到一个 <code class="literal"><code class="computeroutput"><a class="link" href="../boost/xpressive/basic_regex.html" title="Struct template basic_regex">basic_regex&lt;&gt;</a></code></code>
+对象中,然后重用它,而不是反复创建它。</p>
+<p>Since <code class="literal"><code class="computeroutput"><a class="link" title="Struct template basic_regex" href="../boost/xpressive/basic_regex.html">basic_regex&lt;&gt;</a></code></code>
+objects are not mutated by any of the regex algorithms, they are completely
+thread-safe once their initialization (and that of any grammars of which they +are members) completes. The easiest way to reuse your patterns is to simply make +your <code class="literal"><code class="computeroutput"><a class="link" title="Struct template basic_regex" href="../boost/xpressive/basic_regex.html">basic_regex&lt;&gt;</a></code></code> +objects "static const".<br>由于 <code class="literal"><code class="computeroutput"><a class="link" title="Struct template basic_regex" href="../boost/xpressive/basic_regex.html">basic_regex&lt;&gt;</a></code></code> 对象不会被任何 regex 算法改写,所以一旦这些对象的初始化(以及它们所含的语法元 素)完成,它们就是线程安全的。重用你的模式的最容易的方法是,令你的 <code class="literal"><code class="computeroutput"><a class="link" title="Struct template basic_regex" href="../boost/xpressive/basic_regex.html">basic_regex&lt;&gt;</a></code></code> 对象为"static const"。</p><a name="boost_xpressive.user_s_guide.tips_n_tricks.reuse__literal__classname_alt__boost__xpressive__match_results__match_results_lt__gt___classname___literal__objects"></a> <h3><a name="id4085047"></a> <a class="link" href="user_s_guide.html#boost_xpressive.user_s_guide.tips_n_tricks.reuse__literal__classname_alt__boost__xpressive__match_results__match_results_lt__gt___classname___literal__objects">Reuse <code class="literal"><code class="computeroutput"></code></code></a><a class="link" href="../boost/xpressive/match_results.html" title="Struct template match_results">match_results&lt;&gt;</a> Objects 重用&nbsp;<a class="link" href="../boost/xpressive/match_results.html" title="Struct template match_results">match_results&lt;&gt;</a>&amp;
@@ -4584,17 +4591,14 @@
算法提供了处理C-风格的空字符结束字符串的多个重载。你应该优先选用其中接受迭 代器区间的那些重载。如果你传递一个空字符结束的字符串给一个regex 算法,会即时通过调用 <code class="computeroutput"><span class="identifier">strlen</span></code> 来计算出结尾迭代器。如果你已经知道该字符串的长度,就可以通过以一个 <code class="computeroutput"><span class="special">[</span><span class="identifier">begin</span><span class="special">,</span> <span class="identifier">end</span><span class="special">)</span></code>
-对来调用这个regex算法,避免这种开销。 </p>
-<a name="boost_xpressive.user_s_guide.tips_n_tricks.compile_patterns_once_and_reuse_them"></a> -<h3><a name="id4085340"></a> <a class="link" href="user_s_guide.html#boost_xpressive.user_s_guide.tips_n_tricks.compile_patterns_once_and_reuse_them">Compile
-Patterns Once And Reuse Them 对模式编译一次并重用它们</a> </h3>
-<p> Compiling a regex (dynamic or static) is more expensive than
-executing a match or search. If you have the option, prefer to compile
-a pattern into a <code class="literal"><code class="computeroutput"><a class="link" href="../boost/xpressive/basic_regex.html" title="Struct template basic_regex">basic_regex&lt;&gt;</a></code></code>
-object once and reuse it rather than recreating it over and over.<br>
-编译一个regex (动态或静态的)要比执行一次匹配或查找更为昂贵。如果你可以选 择,就应该一次性将模式编译到一个 <code class="literal"><code class="computeroutput"><a class="link" href="../boost/xpressive/basic_regex.html" title="Struct template basic_regex">basic_regex&lt;&gt;</a></code></code>
-对象中,然后重用它,而不是反复创建它。 </p>
-<a name="boost_xpressive.user_s_guide.tips_n_tricks.understand__literal_syntax_option_type__optimize__literal_"></a>
+对来调用这个regex算法,避免这种开销。</p><p>
+<a name="boost_xpressive.user_s_guide.tips_n_tricks.use_static_regexes"></a> +</p><h3><a name="id4085012"></a> <a class="link" href="user_s_guide.html#boost_xpressive.user_s_guide.tips_n_tricks.use_static_regexes">Use
+Static Regexes 使用静态Regexes</a> </h3>
+<p> On average, static regexes execute about 10 to 15% faster
+than their dynamic counterparts. It's worth familiarizing yourself with
+the static regex dialect.<br>
+平均来说,静态regex执行起来比同等的动态regex快10%到15%。熟悉静态regex的写法 非常值得。 </p><a name="boost_xpressive.user_s_guide.tips_n_tricks.understand__literal_syntax_option_type__optimize__literal_"></a> <h3> <a name="id4085387"></a><a class="link" href="user_s_guide.html#boost_xpressive.user_s_guide.tips_n_tricks.understand__literal_syntax_option_type__optimize__literal_">Understand <code class="literal">syntax_option_type::optimize</code>&nbsp;</a></h3><h3><a class="link" href="user_s_guide.html#boost_xpressive.user_s_guide.tips_n_tricks.understand__literal_syntax_option_type__optimize__literal_">理
 <code class="literal">syntax_option_type::optimize</code>
=======================================
--- /trunk/doc/html/xpressive.html      Wed Jun 24 00:35:24 2009
+++ /trunk/doc/html/xpressive.html      Wed Sep  2 20:31:58 2009
@@ -204,7 +204,7 @@
 </div>
 </div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision"; width="100%"><tbody><tr> -<td align="left"><p><small>Last revised: May 01, 2009 at 19:25:07 GMT</small></p></td> +<td align="left"><p><small>Last revised: August 24, 2009 at 23:14:10 GMT</small></p></td>
 <td align="right"><div class="copyright-footer"></div></td>
 </tr></tbody></table>
 <hr>

Other related posts:

  • » [boost-doc-zh] r317 committed - 转换至1.40.0,第3批,完成以下库:... - codesite-noreply