Boost logo

Boost-Commit :

From: matias_at_[hidden]
Date: 2007-06-15 02:42:34


Author: matias
Date: 2007-06-15 02:42:32 EDT (Fri, 15 Jun 2007)
New Revision: 7058
URL: http://svn.boost.org/trac/boost/changeset/7058

Log:
proof of concept

Added:
   sandbox/doc_test/box_wrapper/xhtml/document_to_test_formatting/
   sandbox/doc_test/box_wrapper/xhtml/document_to_test_formatting/basic_formatting_tests.html
   sandbox/doc_test/box_wrapper/xhtml/document_to_test_formatting/images.html
   sandbox/doc_test/box_wrapper/xhtml/document_to_test_formatting/introduction.html
   sandbox/doc_test/box_wrapper/xhtml/document_to_test_formatting/test.html

Added: sandbox/doc_test/box_wrapper/xhtml/document_to_test_formatting/basic_formatting_tests.html
==============================================================================
--- (empty file)
+++ sandbox/doc_test/box_wrapper/xhtml/document_to_test_formatting/basic_formatting_tests.html 2007-06-15 02:42:32 EDT (Fri, 15 Jun 2007)
@@ -0,0 +1,1420 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head xmlns="http://www.w3.org/1999/xhtml">
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <title>Basic
+ Formatting Tests</title>
+ <link xmlns="" rel="stylesheet" href="../boostbook.css" type="text/css" />
+ <meta name="generator" content="DocBook XSL Stylesheets V1.70.1" />
+ <link rel="start" href="../index.html" title="Document To Test Formatting" />
+ <link rel="up" href="../index.html" title="Document To Test Formatting" />
+ <link rel="prev" href="introduction.html" title="Introduction" />
+ <link rel="next" href="images.html" title="Images" />
+ </head>
+ <body>
+ <script type="text/javascript" src="../grouped_links.js"></script>
+ <div id="heading">
+ <div id="heading-placard"></div>
+ <div class="heading_navigation_box">
+ <div class="grouped_links" id="chapters_select_box">
+ <script type="text/javascript">
+ grouped_links_select_box(
+ '../boost_libs_grouped_links.xml',
+ 'chapters_select_box',
+ 'http://www.boost.org/libs/');
+ </script>
+ </div>
+ <div class="grouped_links" id="sections_select_box">
+ <script type="text/javascript">
+ grouped_links_select_box(
+ '../sections_grouped_links.xml',
+ 'sections_select_box',
+ '.././');
+ </script>
+ </div>
+ </div>
+ <div class="heading_search_box">
+ <form id="cref" action="http://google.com/cse">
+ <input type="hidden" name="cref" value="" />
+ <div> Search Boost </div>
+ <div>
+ <input class="search_box" type="text" name="q" id="q" size="40" maxlength="255" alt="Search Text" />
+ </div>
+ </form>
+ </div>
+ </div>
+ <div class="spirit-nav">
+ <a accesskey="p" href="introduction.html">
+ <img src="../images/prev.png" alt="Prev" />
+ </a>
+ <a accesskey="u" href="../index.html">
+ <img src="../images/up.png" alt="Up" />
+ </a>
+ <a accesskey="h" href="../index.html">
+ <img src="../images/home.png" alt="Home" />
+ </a>
+ <a accesskey="n" href="images.html">
+ <img src="../images/next.png" alt="Next" />
+ </a>
+ </div>
+ <div id="body">
+ <div id="body-inner">
+ <div id="content">
+ <div xmlns="http://www.w3.org/1999/xhtml" class="section" lang="en" xml:lang="en">
+ <div class="titlepage">
+ <div>
+ <div>
+ <h2 class="title" style="clear: both">
+ <a id="document_to_test_formatting.basic_formatting_tests"></a>
+ <a href="basic_formatting_tests.html" title="Basic&#10; Formatting Tests">Basic
+ Formatting Tests</a>
+ </h2>
+ </div>
+ </div>
+ </div>
+ <div xmlns="" class="toc">
+ <div class="box-outer-wrapper">
+ <div class="box-top-left"></div>
+ <div class="box-top-right"></div>
+ <div class="box-top"></div>
+ <div class="box-inner-wrapper">
+ <dl xmlns="http://www.w3.org/1999/xhtml">
+ <dt>
+ <span class="section">
+ <a href="basic_formatting_tests.html#document_to_test_formatting.basic_formatting_tests.inline_blocks">Inline
+ blocks</a>
+ </span>
+ </dt>
+ <dt>
+ <span class="section">
+ Lists
+ </span>
+ </dt>
+ <dt>
+ <span class="section">
+ <a href="basic_formatting_tests.html#document_to_test_formatting.basic_formatting_tests.code_blocks">Code
+ Blocks</a>
+ </span>
+ </dt>
+ <dt>
+ <span class="section">
+ Blurbs
+ </span>
+ </dt>
+ <dt>
+ <span class="section">
+ Tables
+ </span>
+ </dt>
+ <dt>
+ <span class="section">
+ <a href="basic_formatting_tests.html#document_to_test_formatting.basic_formatting_tests.variable_lists">Variable
+ Lists</a>
+ </span>
+ </dt>
+ <dt>
+ <span class="section">
+ Callouts
+ </span>
+ </dt>
+ </dl>
+ </div>
+ <div class="box-bottom-left"></div>
+ <div class="box-bottom-right"></div>
+ <div class="box-bottom"></div>
+ </div>
+ </div>
+ <div class="section" lang="en" xml:lang="en">
+ <div class="titlepage">
+ <div>
+ <div>
+ <h3 class="title">
+ <a id="document_to_test_formatting.basic_formatting_tests.inline_blocks"></a>
+ <a href="basic_formatting_tests.html#document_to_test_formatting.basic_formatting_tests.inline_blocks" title="Inline&#10; blocks">Inline
+ blocks</a>
+ </h3>
+ </div>
+ </div>
+ </div>
+ <a id="document_to_test_formatting.basic_formatting_tests.inline_blocks.font_styles"></a>
+ <h5><a id="id2569317"></a>
+ <a href="basic_formatting_tests.html#document_to_test_formatting.basic_formatting_tests.inline_blocks.font_styles">Font
+ Styles</a>
+ </h5>
+ <p>
+ Here we go with some inline formatting: <span class="emphasis"><em>italic</em></span>, <span class="bold"><strong>bold</strong></span>, <span class="underline">underline</span>,
+ <code class="literal">teletype</code>, <span class="strikethrough">strikethrough</span>,
+ we can combine styles as well: <span class="emphasis"><em><span class="bold"><strong>bold italic</strong></span></em></span>,
+ <span class="underline"><code class="literal">teletype with underline</code></span>.
+ </p>
+ <a id="document_to_test_formatting.basic_formatting_tests.inline_blocks.replaceable_text"></a>
+ <h5><a id="id2564981"></a>
+ <a href="basic_formatting_tests.html#document_to_test_formatting.basic_formatting_tests.inline_blocks.replaceable_text">Replaceable
+ Text</a>
+ </h5>
+ <p>
+ Text that is intended to be user-replaceable is
+ <em class="replaceable"><code>
+ rendered like this
+ </code></em>
+ .
+ </p>
+ <a id="document_to_test_formatting.basic_formatting_tests.inline_blocks.quotations"></a>
+ <h5><a id="id2565011"></a>
+ Quotations
+ </h5>
+ <p>
+ Here we go: “<span class="quote">A question that sometimes drives me hazy: am I or are
+ the others crazy?</span>”--Einstein
+ </p>
+ <p>
+ Note the proper left and right quote marks. Also, while you can simply use
+ ordinary quote marks like "quoted", our quotation, above, will
+ generate correct DocBook quotations (e.g. &lt;quote&gt;quoted&lt;/quote&gt;).
+ </p>
+ <p>
+ Like all phrase elements, quotations may be nested. Example:
+ </p>
+ <p>
+ “<span class="quote">Here's the rule for bargains: ‘<span class="quote">Do other men, for they would
+ do you.</span>’ That's the true business precept.</span>”
+ </p>
+ <a id="document_to_test_formatting.basic_formatting_tests.inline_blocks.inline_code"></a>
+ <h5><a id="id2565070"></a>
+ <a href="basic_formatting_tests.html#document_to_test_formatting.basic_formatting_tests.inline_blocks.inline_code">Inline
+ Code</a>
+ </h5>
+ <p>
+ This text has inlined code <code class="computeroutput"><span class="keyword">int</span> <span class="identifier">main</span><span class="special">()</span> <span class="special">{</span> <span class="keyword">return</span> <span class="number">0</span><span class="special">;</span> <span class="special">}</span></code>
+ in it. The code should be syntax highlighted.
+ </p>
+ <a id="document_to_test_formatting.basic_formatting_tests.inline_blocks.links"></a>
+ <h5><a id="id2565145"></a>
+ Links
+ </h5>
+ <p>
+ Try this: <a xmlns="" href="http://www.boost.org" target="_top">this is <span xmlns="http://www.w3.org/1999/xhtml" class="bold"><strong>boost's</strong></span>
+ website....</a> it should be visible as a link.
+ </p>
+ <a id="document_to_test_formatting.basic_formatting_tests.inline_blocks.footnotes"></a>
+ <h5><a id="id2565184"></a>
+ Footnotes
+ </h5>
+ <p>
+ Here's one
+ <sup>[<a id="id2565201" href="#ftn.id2565201">1</a>]</sup>
+ .
+ </p>
+ <p>
+ And here's another
+ <sup>[<a id="id2565213" href="#ftn.id2565213">2</a>]</sup>
+ .
+ </p>
+ </div>
+ <div class="section" lang="en" xml:lang="en">
+ <div class="titlepage">
+ <div>
+ <div>
+ <h3 class="title">
+ <a id="document_to_test_formatting.basic_formatting_tests.lists"></a>
+ Lists
+ </h3>
+ </div>
+ </div>
+ </div>
+ <p>
+ A numbered list:
+ </p>
+ <div class="orderedlist">
+ <ol type="1">
+ <li>
+ One
+ </li>
+ <li>
+ Two
+ </li>
+ <li>
+ Three
+ <div class="orderedlist"><ol type="a"><li>
+ Three.a
+ </li><li>
+ Three.b
+ </li><li>
+ Three.c
+ </li></ol></div></li>
+ <li>
+ Four
+ <div class="orderedlist"><ol type="a"><li>
+ Four.a
+ <div class="orderedlist"><ol type="i"><li>
+ Four.a.i
+ </li><li>
+ Four.a.ii
+ </li></ol></div></li></ol></div></li>
+ <li>
+ Five
+ </li>
+ </ol>
+ </div>
+ <p>
+ An unordered list:
+ </p>
+ <div class="itemizedlist">
+ <ul type="disc">
+ <li>
+ First
+ </li>
+ <li>
+ Second
+ </li>
+ <li>
+ Third
+ </li>
+ </ul>
+ </div>
+ <p>
+ A mixture of the two:
+ </p>
+ <div class="orderedlist">
+ <ol type="1">
+ <li>
+ 1
+ <div class="itemizedlist"><ul type="disc"><li>
+ 1.a
+ <div class="orderedlist"><ol type="a"><li>
+ 1.a.1
+ </li><li>
+ 1.a.2
+ </li></ol></div></li><li>
+ 1.b
+ </li></ul></div></li>
+ <li>
+ 2
+ <div class="itemizedlist"><ul type="disc"><li>
+ 2.a
+ </li><li>
+ 2.b
+ <div class="orderedlist"><ol type="a"><li>
+ 2.b.1
+ </li><li>
+ 2.b.2
+ <div class="itemizedlist"><ul type="circle"><li>
+ 2.b.2.a
+ </li><li>
+ 2.b.2.b
+ </li></ul></div></li></ol></div></li></ul></div></li>
+ </ol>
+ </div>
+ </div>
+ <div class="section" lang="en" xml:lang="en">
+ <div class="titlepage">
+ <div>
+ <div>
+ <h3 class="title">
+ <a id="document_to_test_formatting.basic_formatting_tests.code_blocks"></a>
+ <a href="basic_formatting_tests.html#document_to_test_formatting.basic_formatting_tests.code_blocks" title="Code&#10; Blocks">Code
+ Blocks</a>
+ </h3>
+ </div>
+ </div>
+ </div>
+ <p>
+ These should be syntax highlighted:
+ </p>
+ <div xmlns="" class="programlisting">
+ <div class="box-outer-wrapper">
+ <div class="box-top-left"></div>
+ <div class="box-top-right"></div>
+ <div class="box-top"></div>
+ <div class="box-inner-wrapper">
+ <pre>
+<span xmlns="http://www.w3.org/1999/xhtml" class="preprocessor">#include</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">iostream</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;</span>
+
+<span xmlns="http://www.w3.org/1999/xhtml" class="keyword">int</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">main</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">()</span>
+<span xmlns="http://www.w3.org/1999/xhtml" class="special">{</span>
+ <span xmlns="http://www.w3.org/1999/xhtml" class="comment">// Sample code
+</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">std</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">::</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">cout</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;&lt;</span> <span xmlns="http://www.w3.org/1999/xhtml" class="string">"Hello, World\n"</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">;</span>
+ <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">return</span> <span xmlns="http://www.w3.org/1999/xhtml" class="number">0</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">;</span>
+<span xmlns="http://www.w3.org/1999/xhtml" class="special">}</span>
+</pre>
+ </div>
+ <div class="box-bottom-left"></div>
+ <div class="box-bottom-right"></div>
+ <div class="box-bottom"></div>
+ </div>
+ </div>
+ <p>
+ Now let's include a larger example, this may span several pages and should
+ not be chopped off half way through... some FO processors get this wrong!
+ </p>
+ <div xmlns="" class="programlisting">
+ <div class="box-outer-wrapper">
+ <div class="box-top-left"></div>
+ <div class="box-top-right"></div>
+ <div class="box-top"></div>
+ <div class="box-inner-wrapper">
+ <pre>
+<span xmlns="http://www.w3.org/1999/xhtml" class="keyword">namespace</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">boost</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">{</span>
+
+<span xmlns="http://www.w3.org/1999/xhtml" class="keyword">template</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="keyword">class</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;</span>
+<span xmlns="http://www.w3.org/1999/xhtml" class="keyword">class</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">sub_match</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">;</span>
+
+<span xmlns="http://www.w3.org/1999/xhtml" class="keyword">typedef</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">sub_match</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="keyword">const</span> <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">char</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">*&gt;</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">csub_match</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">;</span>
+<span xmlns="http://www.w3.org/1999/xhtml" class="keyword">typedef</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">sub_match</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="keyword">const</span> <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">wchar_t</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">*&gt;</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">wcsub_match</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">;</span>
+<span xmlns="http://www.w3.org/1999/xhtml" class="keyword">typedef</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">sub_match</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">std</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">::</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">string</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">::</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">const_iterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">ssub_match</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">;</span>
+<span xmlns="http://www.w3.org/1999/xhtml" class="keyword">typedef</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">sub_match</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">std</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">::</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">wstring</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">::</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">const_iterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">wssub_match</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">;</span>
+
+<span xmlns="http://www.w3.org/1999/xhtml" class="keyword">template</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="keyword">class</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;</span>
+<span xmlns="http://www.w3.org/1999/xhtml" class="keyword">class</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">sub_match</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">:</span> <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">public</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">std</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">::</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">pair</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">,</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;</span>
+<span xmlns="http://www.w3.org/1999/xhtml" class="special">{</span>
+<span xmlns="http://www.w3.org/1999/xhtml" class="keyword">public</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">:</span>
+ <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">typedef</span> <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">typename</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">iterator_traits</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;::</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">value_type</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">value_type</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">;</span>
+ <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">typedef</span> <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">typename</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">iterator_traits</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;::</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">difference_type</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">difference_type</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">;</span>
+ <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">typedef</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">iterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">;</span>
+
+ <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">bool</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">matched</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">;</span>
+
+ <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">difference_type</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">length</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">()</span><span xmlns="http://www.w3.org/1999/xhtml" class="keyword">const</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">;</span>
+ <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">operator</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">basic_string</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">value_type</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;()</span><span xmlns="http://www.w3.org/1999/xhtml" class="keyword">const</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">;</span>
+ <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">basic_string</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">value_type</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">str</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">()</span><span xmlns="http://www.w3.org/1999/xhtml" class="keyword">const</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">;</span>
+
+ <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">int</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">compare</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">(</span><span xmlns="http://www.w3.org/1999/xhtml" class="keyword">const</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">sub_match</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&amp;</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">s</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">)</span><span xmlns="http://www.w3.org/1999/xhtml" class="keyword">const</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">;</span>
+ <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">int</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">compare</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">(</span><span xmlns="http://www.w3.org/1999/xhtml" class="keyword">const</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">basic_string</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">value_type</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;&amp;</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">s</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">)</span><span xmlns="http://www.w3.org/1999/xhtml" class="keyword">const</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">;</span>
+ <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">int</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">compare</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">(</span><span xmlns="http://www.w3.org/1999/xhtml" class="keyword">const</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">value_type</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">*</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">s</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">)</span><span xmlns="http://www.w3.org/1999/xhtml" class="keyword">const</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">;</span>
+<span xmlns="http://www.w3.org/1999/xhtml" class="preprocessor">#ifdef</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BOOST_REGEX_MATCH_EXTRA</span>
+ <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">typedef</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">implementation</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">-</span><span xmlns="http://www.w3.org/1999/xhtml" class="keyword">private</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">capture_sequence_type</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">;</span>
+ <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">const</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">capture_sequence_type</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&amp;</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">captures</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">()</span><span xmlns="http://www.w3.org/1999/xhtml" class="keyword">const</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">;</span>
+<span xmlns="http://www.w3.org/1999/xhtml" class="preprocessor">#endif</span>
+<span xmlns="http://www.w3.org/1999/xhtml" class="special">};</span>
+<span xmlns="http://www.w3.org/1999/xhtml" class="comment">//
+</span><span xmlns="http://www.w3.org/1999/xhtml" class="comment">// comparisons to another sub_match:
+</span><span xmlns="http://www.w3.org/1999/xhtml" class="comment">//
+</span><span xmlns="http://www.w3.org/1999/xhtml" class="keyword">template</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="keyword">class</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;</span>
+<span xmlns="http://www.w3.org/1999/xhtml" class="keyword">bool</span> <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">operator</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">==</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">(</span><span xmlns="http://www.w3.org/1999/xhtml" class="keyword">const</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">sub_match</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;&amp;</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">lhs</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">,</span>
+ <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">const</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">sub_match</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;&amp;</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">rhs</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">);</span>
+<span xmlns="http://www.w3.org/1999/xhtml" class="keyword">template</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="keyword">class</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;</span>
+<span xmlns="http://www.w3.org/1999/xhtml" class="keyword">bool</span> <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">operator</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">!=</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">(</span><span xmlns="http://www.w3.org/1999/xhtml" class="keyword">const</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">sub_match</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;&amp;</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">lhs</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">,</span>
+ <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">const</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">sub_match</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;&amp;</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">rhs</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">);</span>
+<span xmlns="http://www.w3.org/1999/xhtml" class="keyword">template</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="keyword">class</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;</span>
+<span xmlns="http://www.w3.org/1999/xhtml" class="keyword">bool</span> <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">operator</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">(</span><span xmlns="http://www.w3.org/1999/xhtml" class="keyword">const</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">sub_match</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;&amp;</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">lhs</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">,</span>
+ <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">const</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">sub_match</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;&amp;</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">rhs</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">);</span>
+<span xmlns="http://www.w3.org/1999/xhtml" class="keyword">template</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="keyword">class</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;</span>
+<span xmlns="http://www.w3.org/1999/xhtml" class="keyword">bool</span> <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">operator</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;=</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">(</span><span xmlns="http://www.w3.org/1999/xhtml" class="keyword">const</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">sub_match</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;&amp;</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">lhs</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">,</span>
+ <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">const</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">sub_match</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;&amp;</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">rhs</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">);</span>
+<span xmlns="http://www.w3.org/1999/xhtml" class="keyword">template</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="keyword">class</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;</span>
+<span xmlns="http://www.w3.org/1999/xhtml" class="keyword">bool</span> <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">operator</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;=</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">(</span><span xmlns="http://www.w3.org/1999/xhtml" class="keyword">const</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">sub_match</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;&amp;</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">lhs</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">,</span>
+ <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">const</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">sub_match</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;&amp;</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">rhs</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">);</span>
+<span xmlns="http://www.w3.org/1999/xhtml" class="keyword">template</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="keyword">class</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;</span>
+<span xmlns="http://www.w3.org/1999/xhtml" class="keyword">bool</span> <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">operator</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">(</span><span xmlns="http://www.w3.org/1999/xhtml" class="keyword">const</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">sub_match</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;&amp;</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">lhs</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">,</span>
+ <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">const</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">sub_match</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;&amp;</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">rhs</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">);</span>
+
+
+<span xmlns="http://www.w3.org/1999/xhtml" class="comment">//
+</span><span xmlns="http://www.w3.org/1999/xhtml" class="comment">// comparisons to a basic_string:
+</span><span xmlns="http://www.w3.org/1999/xhtml" class="comment">//
+</span><span xmlns="http://www.w3.org/1999/xhtml" class="keyword">template</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="keyword">class</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">,</span> <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">class</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">traits</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">,</span> <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">class</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">Allocator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;</span>
+<span xmlns="http://www.w3.org/1999/xhtml" class="keyword">bool</span> <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">operator</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">==</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">(</span><span xmlns="http://www.w3.org/1999/xhtml" class="keyword">const</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">std</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">::</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">basic_string</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">iterator_traits</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;::</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier"
>value_type</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">,</span>
+ <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">traits</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">,</span>
+ <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">Allocator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;&amp;</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">lhs</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">,</span>
+ <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">const</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">sub_match</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;&amp;</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">rhs</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">);</span>
+<span xmlns="http://www.w3.org/1999/xhtml" class="keyword">template</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="keyword">class</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">,</span> <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">class</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">traits</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">,</span> <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">class</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">Allocator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;</span>
+<span xmlns="http://www.w3.org/1999/xhtml" class="keyword">bool</span> <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">operator</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">!=</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">(</span><span xmlns="http://www.w3.org/1999/xhtml" class="keyword">const</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">std</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">::</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">basic_string</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">iterator_traits</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;::</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier"
>value_type</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">,</span>
+ <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">traits</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">,</span>
+ <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">Allocator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;&amp;</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">lhs</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">,</span>
+ <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">const</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">sub_match</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;&amp;</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">rhs</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">);</span>
+<span xmlns="http://www.w3.org/1999/xhtml" class="keyword">template</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="keyword">class</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">,</span> <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">class</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">traits</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">,</span> <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">class</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">Allocator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;</span>
+<span xmlns="http://www.w3.org/1999/xhtml" class="keyword">bool</span> <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">operator</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">(</span><span xmlns="http://www.w3.org/1999/xhtml" class="keyword">const</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">std</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">::</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">basic_string</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">iterator_traits</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;::</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifie
r">value_type</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">,</span>
+ <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">traits</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">,</span>
+ <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">Allocator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;&amp;</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">lhs</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">,</span>
+ <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">const</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">sub_match</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;&amp;</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">rhs</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">);</span>
+<span xmlns="http://www.w3.org/1999/xhtml" class="keyword">template</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="keyword">class</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">,</span> <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">class</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">traits</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">,</span> <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">class</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">Allocator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;</span>
+<span xmlns="http://www.w3.org/1999/xhtml" class="keyword">bool</span> <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">operator</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">(</span><span xmlns="http://www.w3.org/1999/xhtml" class="keyword">const</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">std</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">::</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">basic_string</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">iterator_traits</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;::</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifie
r">value_type</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">,</span>
+ <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">traits</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">,</span>
+ <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">Allocator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;&amp;</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">lhs</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">,</span>
+ <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">const</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">sub_match</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;&amp;</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">rhs</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">);</span>
+<span xmlns="http://www.w3.org/1999/xhtml" class="keyword">template</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="keyword">class</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">,</span> <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">class</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">traits</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">,</span> <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">class</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">Allocator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;</span>
+<span xmlns="http://www.w3.org/1999/xhtml" class="keyword">bool</span> <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">operator</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;=</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">(</span><span xmlns="http://www.w3.org/1999/xhtml" class="keyword">const</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">std</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">::</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">basic_string</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">iterator_traits</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;::</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifi
er">value_type</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">,</span>
+ <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">traits</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">,</span>
+ <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">Allocator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;&amp;</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">lhs</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">,</span>
+ <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">const</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">sub_match</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;&amp;</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">rhs</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">);</span>
+<span xmlns="http://www.w3.org/1999/xhtml" class="keyword">template</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="keyword">class</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">,</span> <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">class</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">traits</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">,</span> <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">class</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">Allocator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;</span>
+<span xmlns="http://www.w3.org/1999/xhtml" class="keyword">bool</span> <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">operator</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;=</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">(</span><span xmlns="http://www.w3.org/1999/xhtml" class="keyword">const</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">std</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">::</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">basic_string</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">iterator_traits</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;::</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifi
er">value_type</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">,</span>
+ <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">traits</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">,</span>
+ <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">Allocator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;&amp;</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">lhs</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">,</span>
+ <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">const</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">sub_match</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;&amp;</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">rhs</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">);</span>
+
+<span xmlns="http://www.w3.org/1999/xhtml" class="keyword">template</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="keyword">class</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">,</span> <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">class</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">traits</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">,</span> <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">class</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">Allocator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;</span>
+<span xmlns="http://www.w3.org/1999/xhtml" class="keyword">bool</span> <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">operator</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">==</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">(</span><span xmlns="http://www.w3.org/1999/xhtml" class="keyword">const</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">sub_match</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;&amp;</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">lhs</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">,</span>
+ <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">const</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">std</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">::</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">basic_string</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">iterator_traits</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;::</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">value_type</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">,</span>
+ <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">traits</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">,</span>
+ <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">Allocator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;&amp;</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">rhs</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">);</span>
+<span xmlns="http://www.w3.org/1999/xhtml" class="keyword">template</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="keyword">class</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">,</span> <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">class</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">traits</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">,</span> <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">class</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">Allocator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;</span>
+<span xmlns="http://www.w3.org/1999/xhtml" class="keyword">bool</span> <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">operator</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">!=</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">(</span><span xmlns="http://www.w3.org/1999/xhtml" class="keyword">const</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">sub_match</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;&amp;</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">lhs</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">,</span>
+ <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">const</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">std</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">::</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">basic_string</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">iterator_traits</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;::</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">value_type</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">,</span>
+ <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">traits</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">,</span>
+ <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">Allocator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;&amp;</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">rhs</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">);</span>
+<span xmlns="http://www.w3.org/1999/xhtml" class="keyword">template</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="keyword">class</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">,</span> <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">class</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">traits</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">,</span> <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">class</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">Allocator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;</span>
+<span xmlns="http://www.w3.org/1999/xhtml" class="keyword">bool</span> <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">operator</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">(</span><span xmlns="http://www.w3.org/1999/xhtml" class="keyword">const</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">sub_match</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;&amp;</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">lhs</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">,</span>
+ <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">const</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">std</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">::</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">basic_string</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">iterator_traits</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;::</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">value_type</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">,</span>
+ <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">traits</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">,</span>
+ <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">Allocator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;&amp;</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">rhs</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">);</span>
+<span xmlns="http://www.w3.org/1999/xhtml" class="keyword">template</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="keyword">class</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">,</span> <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">class</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">traits</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">,</span> <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">class</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">Allocator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;</span>
+<span xmlns="http://www.w3.org/1999/xhtml" class="keyword">bool</span> <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">operator</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">(</span><span xmlns="http://www.w3.org/1999/xhtml" class="keyword">const</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">sub_match</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;&amp;</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">lhs</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">,</span>
+ <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">const</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">std</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">::</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">basic_string</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">iterator_traits</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;::</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">value_type</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">,</span>
+ <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">traits</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">,</span>
+ <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">Allocator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;&amp;</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">rhs</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">);</span>
+<span xmlns="http://www.w3.org/1999/xhtml" class="keyword">template</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="keyword">class</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">,</span> <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">class</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">traits</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">,</span> <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">class</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">Allocator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;</span>
+<span xmlns="http://www.w3.org/1999/xhtml" class="keyword">bool</span> <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">operator</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;=</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">(</span><span xmlns="http://www.w3.org/1999/xhtml" class="keyword">const</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">sub_match</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;&amp;</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">lhs</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">,</span>
+ <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">const</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">std</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">::</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">basic_string</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">iterator_traits</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;::</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">value_type</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">,</span>
+ <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">traits</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">,</span>
+ <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">Allocator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;&amp;</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">rhs</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">);</span>
+<span xmlns="http://www.w3.org/1999/xhtml" class="keyword">template</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="keyword">class</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">,</span> <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">class</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">traits</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">,</span> <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">class</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">Allocator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;</span>
+<span xmlns="http://www.w3.org/1999/xhtml" class="keyword">bool</span> <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">operator</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;=</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">(</span><span xmlns="http://www.w3.org/1999/xhtml" class="keyword">const</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">sub_match</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;&amp;</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">lhs</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">,</span>
+ <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">const</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">std</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">::</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">basic_string</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">iterator_traits</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;::</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">value_type</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">,</span>
+ <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">traits</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">,</span>
+ <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">Allocator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;&amp;</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">rhs</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">);</span>
+
+<span xmlns="http://www.w3.org/1999/xhtml" class="comment">//
+</span><span xmlns="http://www.w3.org/1999/xhtml" class="comment">// comparisons to a pointer to a character array:
+</span><span xmlns="http://www.w3.org/1999/xhtml" class="comment">//
+</span><span xmlns="http://www.w3.org/1999/xhtml" class="keyword">template</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="keyword">class</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;</span>
+<span xmlns="http://www.w3.org/1999/xhtml" class="keyword">bool</span> <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">operator</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">==</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">(</span><span xmlns="http://www.w3.org/1999/xhtml" class="keyword">typename</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">iterator_traits</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;::</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">value_type</span> <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">const</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">*</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">lhs</span><span xmlns="http://www.w3.org/1999/xhtml" class="special"
>,</span>
+ <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">const</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">sub_match</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;&amp;</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">rhs</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">);</span>
+<span xmlns="http://www.w3.org/1999/xhtml" class="keyword">template</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="keyword">class</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;</span>
+<span xmlns="http://www.w3.org/1999/xhtml" class="keyword">bool</span> <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">operator</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">!=</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">(</span><span xmlns="http://www.w3.org/1999/xhtml" class="keyword">typename</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">iterator_traits</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;::</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">value_type</span> <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">const</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">*</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">lhs</span><span xmlns="http://www.w3.org/1999/xhtml" class="special"
>,</span>
+ <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">const</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">sub_match</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;&amp;</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">rhs</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">);</span>
+<span xmlns="http://www.w3.org/1999/xhtml" class="keyword">template</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="keyword">class</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;</span>
+<span xmlns="http://www.w3.org/1999/xhtml" class="keyword">bool</span> <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">operator</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">(</span><span xmlns="http://www.w3.org/1999/xhtml" class="keyword">typename</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">iterator_traits</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;::</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">value_type</span> <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">const</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">*</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">lhs</span><span xmlns="http://www.w3.org/1999/xhtml" class="specia
l">,</span>
+ <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">const</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">sub_match</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;&amp;</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">rhs</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">);</span>
+<span xmlns="http://www.w3.org/1999/xhtml" class="keyword">template</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="keyword">class</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;</span>
+<span xmlns="http://www.w3.org/1999/xhtml" class="keyword">bool</span> <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">operator</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">(</span><span xmlns="http://www.w3.org/1999/xhtml" class="keyword">typename</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">iterator_traits</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;::</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">value_type</span> <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">const</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">*</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">lhs</span><span xmlns="http://www.w3.org/1999/xhtml" class="specia
l">,</span>
+ <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">const</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">sub_match</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;&amp;</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">rhs</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">);</span>
+<span xmlns="http://www.w3.org/1999/xhtml" class="keyword">template</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="keyword">class</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;</span>
+<span xmlns="http://www.w3.org/1999/xhtml" class="keyword">bool</span> <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">operator</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;=</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">(</span><span xmlns="http://www.w3.org/1999/xhtml" class="keyword">typename</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">iterator_traits</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;::</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">value_type</span> <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">const</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">*</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">lhs</span><span xmlns="http://www.w3.org/1999/xhtml" class="speci
al">,</span>
+ <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">const</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">sub_match</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;&amp;</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">rhs</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">);</span>
+<span xmlns="http://www.w3.org/1999/xhtml" class="keyword">template</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="keyword">class</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;</span>
+<span xmlns="http://www.w3.org/1999/xhtml" class="keyword">bool</span> <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">operator</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;=</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">(</span><span xmlns="http://www.w3.org/1999/xhtml" class="keyword">typename</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">iterator_traits</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;::</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">value_type</span> <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">const</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">*</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">lhs</span><span xmlns="http://www.w3.org/1999/xhtml" class="speci
al">,</span>
+ <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">const</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">sub_match</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;&amp;</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">rhs</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">);</span>
+
+<span xmlns="http://www.w3.org/1999/xhtml" class="keyword">template</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="keyword">class</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;</span>
+<span xmlns="http://www.w3.org/1999/xhtml" class="keyword">bool</span> <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">operator</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">==</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">(</span><span xmlns="http://www.w3.org/1999/xhtml" class="keyword">const</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">sub_match</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;&amp;</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">lhs</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">,</span>
+ <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">typename</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">iterator_traits</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;::</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">value_type</span> <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">const</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">*</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">rhs</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">);</span>
+<span xmlns="http://www.w3.org/1999/xhtml" class="keyword">template</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="keyword">class</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;</span>
+<span xmlns="http://www.w3.org/1999/xhtml" class="keyword">bool</span> <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">operator</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">!=</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">(</span><span xmlns="http://www.w3.org/1999/xhtml" class="keyword">const</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">sub_match</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;&amp;</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">lhs</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">,</span>
+ <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">typename</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">iterator_traits</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;::</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">value_type</span> <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">const</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">*</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">rhs</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">);</span>
+<span xmlns="http://www.w3.org/1999/xhtml" class="keyword">template</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="keyword">class</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;</span>
+<span xmlns="http://www.w3.org/1999/xhtml" class="keyword">bool</span> <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">operator</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">]</span>##<span xmlns="http://www.w3.org/1999/xhtml" class="special">(</span><span xmlns="http://www.w3.org/1999/xhtml" class="keyword">const</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">sub_match</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;&amp;</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">lhs</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">,</span>
+ <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">typename</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">iterator_traits</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;::</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">value_type</span> <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">const</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">*</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">rhs</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">);</span>
+<span xmlns="http://www.w3.org/1999/xhtml" class="keyword">template</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="keyword">class</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;</span>
+<span xmlns="http://www.w3.org/1999/xhtml" class="keyword">bool</span> <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">operator</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">(</span><span xmlns="http://www.w3.org/1999/xhtml" class="keyword">const</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">sub_match</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;&amp;</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">lhs</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">,</span>
+ <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">typename</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">iterator_traits</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;::</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">value_type</span> <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">const</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">*</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">rhs</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">);</span>
+<span xmlns="http://www.w3.org/1999/xhtml" class="keyword">template</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="keyword">class</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;</span>
+<span xmlns="http://www.w3.org/1999/xhtml" class="keyword">bool</span> <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">operator</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;=</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">(</span><span xmlns="http://www.w3.org/1999/xhtml" class="keyword">const</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">sub_match</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;&amp;</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">lhs</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">,</span>
+ <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">typename</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">iterator_traits</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;::</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">value_type</span> <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">const</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">*</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">rhs</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">);</span>
+<span xmlns="http://www.w3.org/1999/xhtml" class="keyword">template</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="keyword">class</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;</span>
+<span xmlns="http://www.w3.org/1999/xhtml" class="keyword">bool</span> <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">operator</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;=</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">(</span><span xmlns="http://www.w3.org/1999/xhtml" class="keyword">const</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">sub_match</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;&amp;</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">lhs</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">,</span>
+ <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">typename</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">iterator_traits</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;::</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">value_type</span> <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">const</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">*</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">rhs</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">);</span>
+
+<span xmlns="http://www.w3.org/1999/xhtml" class="comment">//
+</span><span xmlns="http://www.w3.org/1999/xhtml" class="comment">// comparisons to a single character:
+</span><span xmlns="http://www.w3.org/1999/xhtml" class="comment">//
+</span><span xmlns="http://www.w3.org/1999/xhtml" class="keyword">template</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="keyword">class</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;</span>
+<span xmlns="http://www.w3.org/1999/xhtml" class="keyword">bool</span> <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">operator</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">==</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">(</span><span xmlns="http://www.w3.org/1999/xhtml" class="keyword">typename</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">iterator_traits</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;::</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">value_type</span> <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">const</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&amp;</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">lhs</span><span xmlns="http://www.w3.org/1999/xhtml" class="spec
ial">,</span>
+ <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">const</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">sub_match</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;&amp;</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">rhs</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">);</span>
+<span xmlns="http://www.w3.org/1999/xhtml" class="keyword">template</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="keyword">class</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;</span>
+<span xmlns="http://www.w3.org/1999/xhtml" class="keyword">bool</span> <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">operator</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">!=</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">(</span><span xmlns="http://www.w3.org/1999/xhtml" class="keyword">typename</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">iterator_traits</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;::</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">value_type</span> <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">const</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&amp;</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">lhs</span><span xmlns="http://www.w3.org/1999/xhtml" class="spec
ial">,</span>
+ <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">const</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">sub_match</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;&amp;</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">rhs</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">);</span>
+<span xmlns="http://www.w3.org/1999/xhtml" class="keyword">template</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="keyword">class</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;</span>
+<span xmlns="http://www.w3.org/1999/xhtml" class="keyword">bool</span> <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">operator</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">(</span><span xmlns="http://www.w3.org/1999/xhtml" class="keyword">typename</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">iterator_traits</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;::</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">value_type</span> <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">const</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&amp;</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">lhs</span><span xmlns="http://www.w3.org/1999/xhtml" class="sp
ecial">,</span>
+ <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">const</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">sub_match</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;&amp;</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">rhs</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">);</span>
+<span xmlns="http://www.w3.org/1999/xhtml" class="keyword">template</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="keyword">class</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;</span>
+<span xmlns="http://www.w3.org/1999/xhtml" class="keyword">bool</span> <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">operator</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">(</span><span xmlns="http://www.w3.org/1999/xhtml" class="keyword">typename</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">iterator_traits</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;::</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">value_type</span> <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">const</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&amp;</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">lhs</span><span xmlns="http://www.w3.org/1999/xhtml" class="sp
ecial">,</span>
+ <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">const</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">sub_match</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;&amp;</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">rhs</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">);</span>
+<span xmlns="http://www.w3.org/1999/xhtml" class="keyword">template</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="keyword">class</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;</span>
+<span xmlns="http://www.w3.org/1999/xhtml" class="keyword">bool</span> <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">operator</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;=</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">(</span><span xmlns="http://www.w3.org/1999/xhtml" class="keyword">typename</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">iterator_traits</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;::</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">value_type</span> <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">const</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&amp;</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">lhs</span><span xmlns="http://www.w3.org/1999/xhtml" class="s
pecial">,</span>
+ <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">const</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">sub_match</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;&amp;</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">rhs</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">);</span>
+<span xmlns="http://www.w3.org/1999/xhtml" class="keyword">template</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="keyword">class</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;</span>
+<span xmlns="http://www.w3.org/1999/xhtml" class="keyword">bool</span> <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">operator</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;=</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">(</span><span xmlns="http://www.w3.org/1999/xhtml" class="keyword">typename</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">iterator_traits</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;::</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">value_type</span> <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">const</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&amp;</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">lhs</span><span xmlns="http://www.w3.org/1999/xhtml" class="s
pecial">,</span>
+ <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">const</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">sub_match</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;&amp;</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">rhs</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">);</span>
+
+<span xmlns="http://www.w3.org/1999/xhtml" class="keyword">template</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="keyword">class</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;</span>
+<span xmlns="http://www.w3.org/1999/xhtml" class="keyword">bool</span> <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">operator</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">==</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">(</span><span xmlns="http://www.w3.org/1999/xhtml" class="keyword">const</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">sub_match</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;&amp;</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">lhs</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">,</span>
+ <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">typename</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">iterator_traits</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;::</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">value_type</span> <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">const</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&amp;</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">rhs</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">);</span>
+<span xmlns="http://www.w3.org/1999/xhtml" class="keyword">template</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="keyword">class</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;</span>
+<span xmlns="http://www.w3.org/1999/xhtml" class="keyword">bool</span> <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">operator</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">!=</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">(</span><span xmlns="http://www.w3.org/1999/xhtml" class="keyword">const</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">sub_match</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;&amp;</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">lhs</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">,</span>
+ <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">typename</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">iterator_traits</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;::</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">value_type</span> <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">const</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&amp;</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">rhs</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">);</span>
+<span xmlns="http://www.w3.org/1999/xhtml" class="keyword">template</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="keyword">class</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;</span>
+<span xmlns="http://www.w3.org/1999/xhtml" class="keyword">bool</span> <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">operator</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">(</span><span xmlns="http://www.w3.org/1999/xhtml" class="keyword">const</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">sub_match</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;&amp;</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">lhs</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">,</span>
+ <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">typename</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">iterator_traits</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;::</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">value_type</span> <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">const</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&amp;</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">rhs</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">);</span>
+<span xmlns="http://www.w3.org/1999/xhtml" class="keyword">template</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="keyword">class</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;</span>
+<span xmlns="http://www.w3.org/1999/xhtml" class="keyword">bool</span> <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">operator</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">(</span><span xmlns="http://www.w3.org/1999/xhtml" class="keyword">const</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">sub_match</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;&amp;</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">lhs</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">,</span>
+ <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">typename</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">iterator_traits</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;::</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">value_type</span> <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">const</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&amp;</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">rhs</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">);</span>
+<span xmlns="http://www.w3.org/1999/xhtml" class="keyword">template</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="keyword">class</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;</span>
+<span xmlns="http://www.w3.org/1999/xhtml" class="keyword">bool</span> <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">operator</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;=</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">(</span><span xmlns="http://www.w3.org/1999/xhtml" class="keyword">const</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">sub_match</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;&amp;</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">lhs</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">,</span>
+ <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">typename</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">iterator_traits</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;::</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">value_type</span> <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">const</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&amp;</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">rhs</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">);</span>
+<span xmlns="http://www.w3.org/1999/xhtml" class="keyword">template</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="keyword">class</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;</span>
+<span xmlns="http://www.w3.org/1999/xhtml" class="keyword">bool</span> <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">operator</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;=</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">(</span><span xmlns="http://www.w3.org/1999/xhtml" class="keyword">const</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">sub_match</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;&amp;</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">lhs</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">,</span>
+ <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">typename</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">iterator_traits</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;::</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">value_type</span> <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">const</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&amp;</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">rhs</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">);</span>
+<span xmlns="http://www.w3.org/1999/xhtml" class="comment">//
+</span><span xmlns="http://www.w3.org/1999/xhtml" class="comment">// addition operators:
+</span><span xmlns="http://www.w3.org/1999/xhtml" class="comment">//
+</span><span xmlns="http://www.w3.org/1999/xhtml" class="keyword">template</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="keyword">class</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">,</span> <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">class</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">traits</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">,</span> <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">class</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">Allocator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;</span>
+<span xmlns="http://www.w3.org/1999/xhtml" class="identifier">std</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">::</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">basic_string</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="keyword">typename</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">iterator_traits</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;::</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">value_type</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">,</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">traits</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">,</span> <span xmlns="http://www.w3.org/1999/xhtml" class="
identifier">Allocator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;</span>
+ <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">operator</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">+</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">(</span><span xmlns="http://www.w3.org/1999/xhtml" class="keyword">const</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">std</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">::</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">basic_string</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="keyword">typename</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">iterator_traits</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;::</span><span xmlns="http://www.w3.org/1999/xhtml" class="ident
ifier">value_type</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">,</span>
+ <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">traits</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">,</span>
+ <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">Allocator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;&amp;</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">s</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">,</span>
+ <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">const</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">sub_match</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;&amp;</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">m</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">);</span>
+<span xmlns="http://www.w3.org/1999/xhtml" class="keyword">template</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="keyword">class</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">,</span> <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">class</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">traits</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">,</span> <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">class</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">Allocator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;</span>
+<span xmlns="http://www.w3.org/1999/xhtml" class="identifier">std</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">::</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">basic_string</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="keyword">typename</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">iterator_traits</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;::</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">value_type</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">,</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">traits</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">,</span> <span xmlns="http://www.w3.org/1999/xhtml" class="
identifier">Allocator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;</span>
+ <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">operator</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">+</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">(</span><span xmlns="http://www.w3.org/1999/xhtml" class="keyword">const</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">sub_match</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;&amp;</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">m</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">,</span>
+ <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">const</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">std</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">::</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">basic_string</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="keyword">typename</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">iterator_traits</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;::</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">value_type</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">,</span>
+ <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">traits</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">,</span>
+ <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">Allocator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;&amp;</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">s</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">);</span>
+<span xmlns="http://www.w3.org/1999/xhtml" class="keyword">template</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="keyword">class</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;</span>
+<span xmlns="http://www.w3.org/1999/xhtml" class="identifier">std</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">::</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">basic_string</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="keyword">typename</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">iterator_traits</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;::</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">value_type</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;</span>
+ <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">operator</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">+</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">(</span><span xmlns="http://www.w3.org/1999/xhtml" class="keyword">typename</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">iterator_traits</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;::</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">value_type</span> <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">const</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">*</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">s</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">,</span>
+ <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">const</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">sub_match</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;&amp;</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">m</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">);</span>
+<span xmlns="http://www.w3.org/1999/xhtml" class="keyword">template</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="keyword">class</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;</span>
+<span xmlns="http://www.w3.org/1999/xhtml" class="identifier">std</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">::</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">basic_string</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="keyword">typename</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">iterator_traits</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;::</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">value_type</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;</span>
+ <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">operator</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">+</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">(</span><span xmlns="http://www.w3.org/1999/xhtml" class="keyword">const</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">sub_match</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;&amp;</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">m</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">,</span>
+ <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">typename</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">iterator_traits</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;::</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">value_type</span> <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">const</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">*</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">s</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">);</span>
+<span xmlns="http://www.w3.org/1999/xhtml" class="keyword">template</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="keyword">class</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;</span>
+<span xmlns="http://www.w3.org/1999/xhtml" class="identifier">std</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">::</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">basic_string</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="keyword">typename</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">iterator_traits</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;::</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">value_type</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;</span>
+ <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">operator</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">+</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">(</span><span xmlns="http://www.w3.org/1999/xhtml" class="keyword">typename</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">iterator_traits</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;::</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">value_type</span> <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">const</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&amp;</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">s</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">,</span>
+ <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">const</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">sub_match</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;&amp;</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">m</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">);</span>
+<span xmlns="http://www.w3.org/1999/xhtml" class="keyword">template</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="keyword">class</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;</span>
+<span xmlns="http://www.w3.org/1999/xhtml" class="identifier">std</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">::</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">basic_string</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="keyword">typename</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">iterator_traits</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;::</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">value_type</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;</span>
+ <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">operator</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">+</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">(</span><span xmlns="http://www.w3.org/1999/xhtml" class="keyword">const</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">sub_match</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;&amp;</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">m</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">,</span>
+ <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">typename</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">iterator_traits</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;::</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">value_type</span> <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">const</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&amp;</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">s</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">);</span>
+<span xmlns="http://www.w3.org/1999/xhtml" class="keyword">template</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="keyword">class</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;</span>
+<span xmlns="http://www.w3.org/1999/xhtml" class="identifier">std</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">::</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">basic_string</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="keyword">typename</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">iterator_traits</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;::</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">value_type</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;</span>
+ <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">operator</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">+</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">(</span><span xmlns="http://www.w3.org/1999/xhtml" class="keyword">const</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">sub_match</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;&amp;</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">m1</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">,</span>
+ <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">const</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">sub_match</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;&amp;</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">m2</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">);</span>
+
+<span xmlns="http://www.w3.org/1999/xhtml" class="comment">//
+</span><span xmlns="http://www.w3.org/1999/xhtml" class="comment">// stream inserter:
+</span><span xmlns="http://www.w3.org/1999/xhtml" class="comment">//
+</span><span xmlns="http://www.w3.org/1999/xhtml" class="keyword">template</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="keyword">class</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">charT</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">,</span> <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">class</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">traits</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">,</span> <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">class</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;</span>
+<span xmlns="http://www.w3.org/1999/xhtml" class="identifier">basic_ostream</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">charT</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">,</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">traits</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;&amp;</span>
+ <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">operator</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;&lt;</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">(</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">basic_ostream</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">charT</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">,</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">traits</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;&amp;</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">os</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">,</span>
+ <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">const</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">sub_match</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&lt;</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">BidirectionalIterator</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">&gt;&amp;</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">m</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">);</span>
+
+<span xmlns="http://www.w3.org/1999/xhtml" class="special">}</span> <span xmlns="http://www.w3.org/1999/xhtml" class="comment">// namespace boost
+</span></pre>
+ </div>
+ <div class="box-bottom-left"></div>
+ <div class="box-bottom-right"></div>
+ <div class="box-bottom"></div>
+ </div>
+ </div>
+ </div>
+ <div class="section" lang="en" xml:lang="en">
+ <div class="titlepage">
+ <div>
+ <div>
+ <h3 class="title">
+ <a id="document_to_test_formatting.basic_formatting_tests.blurbs"></a>
+ Blurbs
+ </h3>
+ </div>
+ </div>
+ </div>
+ <a id="document_to_test_formatting.basic_formatting_tests.blurbs.preformatted_text"></a>
+ <h5><a id="id2622822"></a>
+ <a href="basic_formatting_tests.html#document_to_test_formatting.basic_formatting_tests.blurbs.preformatted_text">Preformatted
+ text</a>
+ </h5>
+ <p>
+ Here's some sample program output:
+ </p>
+ <div xmlns="" class="programlisting">
+ <div class="box-outer-wrapper">
+ <div class="box-top-left"></div>
+ <div class="box-top-right"></div>
+ <div class="box-top"></div>
+ <div class="box-inner-wrapper">
+ <pre>F test for equal standard deviations
+____________________________________
+
+Sample 1:
+Number of Observations = 240
+Sample Standard Deviation = 65.549
+
+Sample 2:
+Number of Observations = 240
+Sample Standard Deviation = 61.854
+
+Test Statistic = 1.123
+
+CDF of test statistic: = 8.148e-001
+Upper Critical Value at alpha: = 1.238e+000
+Upper Critical Value at alpha/2: = 1.289e+000
+Lower Critical Value at alpha: = 8.080e-001
+Lower Critical Value at alpha/2: = 7.756e-001
+
+Results for Alternative Hypothesis and alpha = 0.0500
+
+Alternative Hypothesis Conclusion
+Standard deviations are unequal (two sided test) REJECTED
+Standard deviation 1 is less than standard deviation 2 REJECTED
+Standard deviation 1 is greater than standard deviation 2 REJECTED
+</pre>
+ </div>
+ <div class="box-bottom-left"></div>
+ <div class="box-bottom-right"></div>
+ <div class="box-bottom"></div>
+ </div>
+ </div>
+ <a id="document_to_test_formatting.basic_formatting_tests.blurbs.blockquote"></a>
+ <h5><a id="id2622875"></a>
+ Blockquote
+ </h5>
+ <p>
+ Lets indent the next paragraph:
+ </p>
+ <div class="blockquote">
+ <blockquote class="blockquote">
+ <p>
+ </p>
+ <p>
+ Here we go!!!
+ </p>
+ <p>
+ </p>
+ </blockquote>
+ </div>
+ <a id="document_to_test_formatting.basic_formatting_tests.blurbs.admonishments"></a>
+ <h5><a id="id2622912"></a>
+ Admonishments
+ </h5>
+ <p>
+ There are four admonishments supported by Docbook XML:
+ </p>
+ <div xmlns="" class="note">
+ <div class="box-outer-wrapper">
+ <div class="box-top-left"></div>
+ <div class="box-top-right"></div>
+ <div class="box-top"></div>
+ <div class="box-inner-wrapper">
+ <div class="admonition-graphic">
+ <img alt="[Note]" src="../images/note.png" />
+ </div>
+ <div class="admonition-body">
+ <div class="admonition-title">Note</div>
+ <div class="admonition-content">
+ <p xmlns="http://www.w3.org/1999/xhtml">
+ </p>
+ <p xmlns="http://www.w3.org/1999/xhtml">
+ This is a note
+ </p>
+ <p xmlns="http://www.w3.org/1999/xhtml">
+ </p>
+ </div>
+ </div>
+ </div>
+ <div class="box-bottom-left"></div>
+ <div class="box-bottom-right"></div>
+ <div class="box-bottom"></div>
+ </div>
+ </div>
+ <div xmlns="" class="tip">
+ <div class="box-outer-wrapper">
+ <div class="box-top-left"></div>
+ <div class="box-top-right"></div>
+ <div class="box-top"></div>
+ <div class="box-inner-wrapper">
+ <div class="admonition-graphic">
+ <img alt="[Tip]" src="../images/tip.png" />
+ </div>
+ <div class="admonition-body">
+ <div class="admonition-title">Tip</div>
+ <div class="admonition-content">
+ <p xmlns="http://www.w3.org/1999/xhtml">
+ </p>
+ <p xmlns="http://www.w3.org/1999/xhtml">
+ This is a tip
+ </p>
+ <p xmlns="http://www.w3.org/1999/xhtml">
+ </p>
+ </div>
+ </div>
+ </div>
+ <div class="box-bottom-left"></div>
+ <div class="box-bottom-right"></div>
+ <div class="box-bottom"></div>
+ </div>
+ </div>
+ <div xmlns="" class="important">
+ <div class="box-outer-wrapper">
+ <div class="box-top-left"></div>
+ <div class="box-top-right"></div>
+ <div class="box-top"></div>
+ <div class="box-inner-wrapper">
+ <div class="admonition-graphic">
+ <img alt="[Important]" src="../images/important.png" />
+ </div>
+ <div class="admonition-body">
+ <div class="admonition-title">Important</div>
+ <div class="admonition-content">
+ <p xmlns="http://www.w3.org/1999/xhtml">
+ </p>
+ <p xmlns="http://www.w3.org/1999/xhtml">
+ This is important
+ </p>
+ <p xmlns="http://www.w3.org/1999/xhtml">
+ </p>
+ </div>
+ </div>
+ </div>
+ <div class="box-bottom-left"></div>
+ <div class="box-bottom-right"></div>
+ <div class="box-bottom"></div>
+ </div>
+ </div>
+ <div xmlns="" class="caution">
+ <div class="box-outer-wrapper">
+ <div class="box-top-left"></div>
+ <div class="box-top-right"></div>
+ <div class="box-top"></div>
+ <div class="box-inner-wrapper">
+ <div class="admonition-graphic">
+ <img alt="[Caution]" src="../images/caution.png" />
+ </div>
+ <div class="admonition-body">
+ <div class="admonition-title">Caution</div>
+ <div class="admonition-content">
+ <p xmlns="http://www.w3.org/1999/xhtml">
+ </p>
+ <p xmlns="http://www.w3.org/1999/xhtml">
+ This is a caution
+ </p>
+ <p xmlns="http://www.w3.org/1999/xhtml">
+ </p>
+ </div>
+ </div>
+ </div>
+ <div class="box-bottom-left"></div>
+ <div class="box-bottom-right"></div>
+ <div class="box-bottom"></div>
+ </div>
+ </div>
+ <div xmlns="" class="warning">
+ <div class="box-outer-wrapper">
+ <div class="box-top-left"></div>
+ <div class="box-top-right"></div>
+ <div class="box-top"></div>
+ <div class="box-inner-wrapper">
+ <div class="admonition-graphic">
+ <img alt="[Warning]" src="../images/warning.png" />
+ </div>
+ <div class="admonition-body">
+ <div class="admonition-title">Warning</div>
+ <div class="admonition-content">
+ <p xmlns="http://www.w3.org/1999/xhtml">
+ </p>
+ <p xmlns="http://www.w3.org/1999/xhtml">
+ This is a warning
+ </p>
+ <p xmlns="http://www.w3.org/1999/xhtml">
+ </p>
+ <p xmlns="http://www.w3.org/1999/xhtml">
+ They can contain more than one paragraph.
+ </p>
+ <p xmlns="http://www.w3.org/1999/xhtml">
+ </p>
+ </div>
+ </div>
+ </div>
+ <div class="box-bottom-left"></div>
+ <div class="box-bottom-right"></div>
+ <div class="box-bottom"></div>
+ </div>
+ </div>
+ <a id="document_to_test_formatting.basic_formatting_tests.blurbs.headings"></a>
+ <h5><a id="id2622996"></a>
+ Headings
+ </h5>
+ <p>
+ Now try rendering some heading styles:
+ </p>
+ <a id="document_to_test_formatting.basic_formatting_tests.blurbs.heading_1"></a>
+ <h2><a id="id2623022"></a>
+ <a href="basic_formatting_tests.html#document_to_test_formatting.basic_formatting_tests.blurbs.heading_1">Heading
+ 1</a>
+ </h2>
+ <a id="document_to_test_formatting.basic_formatting_tests.blurbs.heading_2"></a>
+ <h3><a id="id2623044"></a>
+ <a href="basic_formatting_tests.html#document_to_test_formatting.basic_formatting_tests.blurbs.heading_2">Heading
+ 2</a>
+ </h3>
+ <a id="document_to_test_formatting.basic_formatting_tests.blurbs.heading_3"></a>
+ <h4><a id="id2623066"></a>
+ <a href="basic_formatting_tests.html#document_to_test_formatting.basic_formatting_tests.blurbs.heading_3">Heading
+ 3</a>
+ </h4>
+ <a id="document_to_test_formatting.basic_formatting_tests.blurbs.heading_4"></a>
+ <h5><a id="id2623088"></a>
+ <a href="basic_formatting_tests.html#document_to_test_formatting.basic_formatting_tests.blurbs.heading_4">Heading
+ 4</a>
+ </h5>
+ <a id="document_to_test_formatting.basic_formatting_tests.blurbs.heading_5"></a>
+ <h6><a id="id2623111"></a>
+ <a href="basic_formatting_tests.html#document_to_test_formatting.basic_formatting_tests.blurbs.heading_5">Heading
+ 5</a>
+ </h6>
+ <a id="document_to_test_formatting.basic_formatting_tests.blurbs.heading_6"></a>
+ <h4><a id="id2623133"></a>
+ <a href="basic_formatting_tests.html#document_to_test_formatting.basic_formatting_tests.blurbs.heading_6">Heading
+ 6</a>
+ </h4>
+ <a id="document_to_test_formatting.basic_formatting_tests.blurbs.blurbs"></a>
+ <h5><a id="id2623156"></a>
+ Blurbs
+ </h5>
+ <div xmlns="" class="sidebar">
+ <div class="box-outer-wrapper">
+ <div class="box-top-left"></div>
+ <div class="box-top-right"></div>
+ <div class="box-top"></div>
+ <div class="box-inner-wrapper">
+ <p xmlns="http://www.w3.org/1999/xhtml">
+ <span class="bold"><strong>An eye catching advertisement or note...</strong></span>
+ </p>
+ <p xmlns="http://www.w3.org/1999/xhtml">
+ These should be rendered in a manner similar to admonishments.
+ </p>
+ <p xmlns="http://www.w3.org/1999/xhtml">
+ They can contain more than one paragraph.
+ </p>
+ </div>
+ <div class="box-bottom-left"></div>
+ <div class="box-bottom-right"></div>
+ <div class="box-bottom"></div>
+ </div>
+ </div>
+ </div>
+ <div class="section" lang="en" xml:lang="en">
+ <div class="titlepage">
+ <div>
+ <div>
+ <h3 class="title">
+ <a id="document_to_test_formatting.basic_formatting_tests.tables"></a>
+ Tables
+ </h3>
+ </div>
+ </div>
+ </div>
+ <p>
+ Here's a big table with code and other tricky things:
+ </p>
+ <div class="table">
+ <a id="id2623217"></a>
+ <p class="title">
+ <b>Table 1. Notes on the Implementation of the Beta Distribution</b>
+ </p>
+ <div class="table-contents">
+ <table xmlns="" class="table" summary="Notes on the Implementation of the Beta Distribution">
+ <colgroup>
+ <col xmlns="http://www.w3.org/1999/xhtml" />
+ <col xmlns="http://www.w3.org/1999/xhtml" />
+ </colgroup>
+ <thead xmlns="http://www.w3.org/1999/xhtml">
+ <tr>
+ <th>
+ <p>
+ Function
+ </p>
+ </th>
+ <th>
+ <p>
+ Implementation Notes
+ </p>
+ </th>
+ </tr>
+ </thead>
+ <tbody xmlns="http://www.w3.org/1999/xhtml">
+ <tr>
+ <td>
+ <p>
+ pdf
+ </p>
+ </td>
+ <td>
+ <p>
+ f(x;α,β) = x<sup>α - 1</sup> (1 - x)<sup>β -1</sup> / B(α, β) Implemented using ibeta_derivative(a,
+ b, x).
+ </p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>
+ cdf
+ </p>
+ </td>
+ <td>
+ <p>
+ Using the incomplete beta function ibeta(a, b, x)
+ </p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>
+ cdf complement
+ </p>
+ </td>
+ <td>
+ <p>
+ ibetac(a, b, x)
+ </p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>
+ quantile
+ </p>
+ </td>
+ <td>
+ <p>
+ Using the inverse incomplete beta function ibeta_inv(a, b, p)
+ </p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>
+ quantile from the complement
+ </p>
+ </td>
+ <td>
+ <p>
+ ibetac_inv(a, b, q)
+ </p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>
+ mean
+ </p>
+ </td>
+ <td>
+ <p>
+ <code class="computeroutput"><span class="identifier">a</span><span class="special">/(</span><span class="identifier">a</span><span class="special">+</span><span class="identifier">b</span><span class="special">)</span></code>
+ </p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>
+ variance
+ </p>
+ </td>
+ <td>
+ <p>
+ <code class="computeroutput"><span class="identifier">a</span> <span class="special">*</span>
+ <span class="identifier">b</span> <span class="special">/</span>
+ <span class="special">(</span><span class="identifier">a</span><span class="special">+</span><span class="identifier">b</span><span class="special">)^</span><span class="number">2</span> <span class="special">*</span> <span class="special">(</span><span class="identifier">a</span> <span class="special">+</span> <span class="identifier">b</span> <span class="special">+</span> <span class="number">1</span><span class="special">)</span></code>
+ </p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>
+ mode
+ </p>
+ </td>
+ <td>
+ <p>
+ <code class="computeroutput"><span class="special">(</span><span class="identifier">a</span><span class="special">-</span><span class="number">1</span><span class="special">)</span>
+ <span class="special">/</span> <span class="special">(</span><span class="identifier">a</span> <span class="special">+</span> <span class="identifier">b</span> <span class="special">+</span> <span class="number">2</span><span class="special">)</span></code>
+ </p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>
+ skewness
+ </p>
+ </td>
+ <td>
+ <p>
+ <code class="computeroutput"><span class="number">2</span> <span class="special">(</span><span class="identifier">b</span><span class="special">-</span><span class="identifier">a</span><span class="special">)</span> <span class="identifier">sqrt</span><span class="special">(</span><span class="identifier">a</span><span class="special">+</span><span class="identifier">b</span><span class="special">+</span><span class="number">1</span><span class="special">)/(</span><span class="identifier">a</span><span class="special">+</span><span class="identifier">b</span><span class="special">+</span><span class="number">2</span><span class="special">)</span> <span class="special">*</span>
+ <span class="identifier">sqrt</span><span class="special">(</span><span class="identifier">a</span> <span class="special">*</span> <span class="identifier">b</span><span class="special">)</span></code>
+ </p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>
+ kurtosis excess
+ </p>
+ </td>
+ <td>
+ <p>
+ <span class="inlinemediaobject"><img src="../../beta_dist_kurtosis.png" alt="beta_dist_kurtosis" /></span>
+ </p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>
+ kurtosis
+ </p>
+ </td>
+ <td>
+ <p>
+ <code class="computeroutput"><span class="identifier">kurtosis</span> <span class="special">+</span>
+ <span class="number">3</span></code>
+ </p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>
+ parameter estimation
+ </p>
+ </td>
+ <td>
+ <p>
+ </p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>
+ alpha
+ </p>
+ <p>
+ from mean and variance
+ </p>
+ </td>
+ <td>
+ <p>
+ <code class="computeroutput"><span class="identifier">mean</span> <span class="special">*</span>
+ <span class="special">((</span> <span class="special">(</span><span class="identifier">mean</span> <span class="special">*</span>
+ <span class="special">(</span><span class="number">1</span>
+ <span class="special">-</span> <span class="identifier">mean</span><span class="special">))</span> <span class="special">/</span> <span class="identifier">variance</span><span class="special">)-</span>
+ <span class="number">1</span><span class="special">)</span></code>
+ </p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>
+ beta
+ </p>
+ <p>
+ from mean and variance
+ </p>
+ </td>
+ <td>
+ <p>
+ <code class="computeroutput"><span class="special">(</span><span class="number">1</span>
+ <span class="special">-</span> <span class="identifier">mean</span><span class="special">)</span> <span class="special">*</span> <span class="special">(((</span><span class="identifier">mean</span>
+ <span class="special">*</span> <span class="special">(</span><span class="number">1</span> <span class="special">-</span> <span class="identifier">mean</span><span class="special">))</span>
+ <span class="special">/</span><span class="identifier">variance</span><span class="special">)-</span><span class="number">1</span><span class="special">)</span></code>
+ </p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>
+ The member functions <code class="computeroutput"><span class="identifier">estimate_alpha</span></code>
+ and <code class="computeroutput"><span class="identifier">estimate_beta</span></code>
+ </p>
+ <p>
+ from cdf and probability x and <span class="bold"><strong>either</strong></span>
+ <code class="computeroutput"><span class="identifier">alpha</span></code> or <code class="computeroutput"><span class="identifier">beta</span></code>
+ </p>
+ </td>
+ <td>
+ <p>
+ Implemented in terms of the inverse incomplete beta functions ibeta_inva,
+ and ibeta_invb respectively.
+ </p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>
+ <code class="computeroutput"><span class="identifier">estimate_alpha</span></code>
+ </p>
+ </td>
+ <td>
+ <p>
+ <code class="computeroutput"><span class="identifier">ibeta_inva</span><span class="special">(</span><span class="identifier">beta</span><span class="special">,</span> <span class="identifier">x</span><span class="special">,</span> <span class="identifier">probability</span><span class="special">)</span></code>
+ </p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>
+ <code class="computeroutput"><span class="identifier">estimate_beta</span></code>
+ </p>
+ </td>
+ <td>
+ <p>
+ <code class="computeroutput"><span class="identifier">ibeta_invb</span><span class="special">(</span><span class="identifier">alpha</span><span class="special">,</span>
+ <span class="identifier">x</span><span class="special">,</span>
+ <span class="identifier">probability</span><span class="special">)</span></code>
+ </p>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ </div>
+ </div>
+ <br class="table-break" />
+ </div>
+ <div class="section" lang="en" xml:lang="en">
+ <div class="titlepage">
+ <div>
+ <div>
+ <h3 class="title">
+ <a id="document_to_test_formatting.basic_formatting_tests.variable_lists"></a>
+ <a href="basic_formatting_tests.html#document_to_test_formatting.basic_formatting_tests.variable_lists" title="Variable&#10; Lists">Variable
+ Lists</a>
+ </h3>
+ </div>
+ </div>
+ </div>
+ <div class="variablelist">
+ <p class="title">
+ <b>A Variable List</b>
+ </p>
+ <dl>
+ <dt>
+ <span class="term">term 1</span>
+ </dt>
+ <dd>
+ The definition of term 1
+ </dd>
+ <dt>
+ <span class="term">term 2</span>
+ </dt>
+ <dd>
+ The definition of term 2
+ </dd>
+ <dt>
+ <span class="term">term 3</span>
+ </dt>
+ <dd>
+ The definition of term 3
+ </dd>
+ </dl>
+ </div>
+ </div>
+ <div class="section" lang="en" xml:lang="en">
+ <div class="titlepage">
+ <div>
+ <div>
+ <h3 class="title">
+ <a id="document_to_test_formatting.basic_formatting_tests.callouts"></a>
+ Callouts
+ </h3>
+ </div>
+ </div>
+ </div>
+ <p>
+ Here's some code with left-placed callouts:
+ </p>
+ <p>
+ </p>
+ <p>
+
+</p>
+ <div xmlns="" class="programlisting">
+ <div class="box-outer-wrapper">
+ <div class="box-top-left"></div>
+ <div class="box-top-right"></div>
+ <div class="box-top"></div>
+ <div class="box-inner-wrapper">
+ <pre>
+<span xmlns="http://www.w3.org/1999/xhtml" class="keyword">class</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">x</span>
+<span xmlns="http://www.w3.org/1999/xhtml" class="special">{</span>
+<span xmlns="http://www.w3.org/1999/xhtml" class="keyword">public</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">:</span>
+
+ <span xmlns="http://www.w3.org/1999/xhtml" class="line_callout_bug"><a id="document_to_test_formatting2co" href="basic_formatting_tests.html#document_to_test_formatting2"><img xmlns="" src="../images/callouts/1.png" alt="1" border="0" /></a></span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">x</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">()</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">:</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">n</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">(</span><span xmlns="http://www.w3.org/1999/xhtml" class="number">0</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">)</span>
+ <span xmlns="http://www.w3.org/1999/xhtml" class="special">{</span>
+ <span xmlns="http://www.w3.org/1999/xhtml" class="special">}</span>
+
+ <span xmlns="http://www.w3.org/1999/xhtml" class="line_callout_bug"><a id="document_to_test_formatting3co" href="basic_formatting_tests.html#document_to_test_formatting3"><img xmlns="" src="../images/callouts/2.png" alt="2" border="0" /></a></span><span xmlns="http://www.w3.org/1999/xhtml" class="special">~</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">x</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">()</span>
+ <span xmlns="http://www.w3.org/1999/xhtml" class="special">{</span>
+ <span xmlns="http://www.w3.org/1999/xhtml" class="special">}</span>
+
+ <span xmlns="http://www.w3.org/1999/xhtml" class="line_callout_bug"><a id="document_to_test_formatting4co" href="basic_formatting_tests.html#document_to_test_formatting4"><img xmlns="" src="../images/callouts/3.png" alt="3" border="0" /></a></span><span xmlns="http://www.w3.org/1999/xhtml" class="keyword">int</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">get</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">()</span> <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">const</span>
+ <span xmlns="http://www.w3.org/1999/xhtml" class="special">{</span>
+ <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">return</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">n</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">;</span>
+ <span xmlns="http://www.w3.org/1999/xhtml" class="special">}</span>
+
+ <span xmlns="http://www.w3.org/1999/xhtml" class="line_callout_bug"><a id="document_to_test_formatting5co" href="basic_formatting_tests.html#document_to_test_formatting5"><img xmlns="" src="../images/callouts/4.png" alt="4" border="0" /></a></span><span xmlns="http://www.w3.org/1999/xhtml" class="keyword">void</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">set</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">(</span><span xmlns="http://www.w3.org/1999/xhtml" class="keyword">int</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">n_</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">)</span>
+ <span xmlns="http://www.w3.org/1999/xhtml" class="special">{</span>
+ <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">n</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">=</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">n_</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">;</span>
+ <span xmlns="http://www.w3.org/1999/xhtml" class="special">}</span>
+<span xmlns="http://www.w3.org/1999/xhtml" class="special">};</span>
+</pre>
+ </div>
+ <div class="box-bottom-left"></div>
+ <div class="box-bottom-right"></div>
+ <div class="box-bottom"></div>
+ </div>
+ </div>
+ <p>
+ </p>
+ <p>
+ </p>
+ <p>
+ </p>
+ <div class="calloutlist">
+ <table border="0" summary="Callout list">
+ <tr>
+ <td width="5%" valign="top" align="left"><a id="document_to_test_formatting2"></a>1 </td>
+ <td valign="top" align="left">
+ <p> Constructor </p>
+ </td>
+ </tr>
+ <tr>
+ <td width="5%" valign="top" align="left"><a id="document_to_test_formatting3"></a>2 </td>
+ <td valign="top" align="left">
+ <p> Destructor </p>
+ </td>
+ </tr>
+ <tr>
+ <td width="5%" valign="top" align="left"><a id="document_to_test_formatting4"></a>3 </td>
+ <td valign="top" align="left">
+ <p> Get the <code class="computeroutput"><span class="identifier">n</span></code>
+ member variable </p>
+ </td>
+ </tr>
+ <tr>
+ <td width="5%" valign="top" align="left"><a id="document_to_test_formatting5"></a>4 </td>
+ <td valign="top" align="left">
+ <p> Set the <code class="computeroutput"><span class="identifier">n</span></code>
+ member variable </p>
+ </td>
+ </tr>
+ </table>
+ </div>
+ <p>
+ </p>
+ <p>
+ </p>
+ <p>
+ And again with callouts placed exactly where we put them:
+ </p>
+ <p>
+ </p>
+ <p>
+
+</p>
+ <div xmlns="" class="programlisting">
+ <div class="box-outer-wrapper">
+ <div class="box-top-left"></div>
+ <div class="box-top-right"></div>
+ <div class="box-top"></div>
+ <div class="box-inner-wrapper">
+ <pre>
+<span xmlns="http://www.w3.org/1999/xhtml" class="identifier">std</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">::</span><span xmlns="http://www.w3.org/1999/xhtml" class="identifier">string</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">foo_bar</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">()</span> <span xmlns="http://www.w3.org/1999/xhtml" class="callout_bug"><a id="document_to_test_formatting0co" href="basic_formatting_tests.html#document_to_test_formatting0"><img xmlns="" src="../images/callouts/1.png" alt="1" border="0" /></a></span>
+<span xmlns="http://www.w3.org/1999/xhtml" class="special">{</span>
+ <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">return</span> <span xmlns="http://www.w3.org/1999/xhtml" class="string">"foo-bar"</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">;</span> <span xmlns="http://www.w3.org/1999/xhtml" class="callout_bug"><a id="document_to_test_formatting1co" href="basic_formatting_tests.html#document_to_test_formatting1"><img xmlns="" src="../images/callouts/2.png" alt="2" border="0" /></a></span>
+<span xmlns="http://www.w3.org/1999/xhtml" class="special">}</span>
+</pre>
+ </div>
+ <div class="box-bottom-left"></div>
+ <div class="box-bottom-right"></div>
+ <div class="box-bottom"></div>
+ </div>
+ </div>
+ <p>
+ </p>
+ <p>
+ </p>
+ <p>
+ </p>
+ <div class="calloutlist">
+ <table border="0" summary="Callout list">
+ <tr>
+ <td width="5%" valign="top" align="left"><a id="document_to_test_formatting0"></a>1 </td>
+ <td valign="top" align="left">
+ <p> The <span class="emphasis"><em>Mythical</em></span> FooBar. See <a xmlns="" href="http://en.wikipedia.org/wiki/Foobar" target="_top">Foobar
+ for details</a> </p>
+ </td>
+ </tr>
+ <tr>
+ <td width="5%" valign="top" align="left"><a id="document_to_test_formatting1"></a>2 </td>
+ <td valign="top" align="left">
+ <p> return 'em, foo-bar man! </p>
+ </td>
+ </tr>
+ </table>
+ </div>
+ <p>
+ </p>
+ <p>
+ </p>
+ </div>
+ <div class="footnotes">
+ <br />
+ <hr width="100" align="left" />
+ <div class="footnote">
+ <p><sup>[<a id="ftn.id2565201" href="#id2565201">1</a>] </sup>
+ A sample footnote
+ </p>
+ </div>
+ <div class="footnote">
+ <p><sup>[<a id="ftn.id2565213" href="#id2565213">2</a>] </sup>
+ Another sample footnote
+ </p>
+ </div>
+ </div>
+ </div>
+ </div>
+ <div class="clear"></div>
+ </div>
+ </div>
+ <div class="spirit-nav">
+ <a accesskey="p" href="introduction.html">
+ <img src="../images/prev.png" alt="Prev" />
+ </a>
+ <a accesskey="u" href="../index.html">
+ <img src="../images/up.png" alt="Up" />
+ </a>
+ <a accesskey="h" href="../index.html">
+ <img src="../images/home.png" alt="Home" />
+ </a>
+ <a accesskey="n" href="images.html">
+ <img src="../images/next.png" alt="Next" />
+ </a>
+ </div>
+ <div id="footer">
+ <div id="footer-left">
+ <div id="copyright">
+ <p xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision">Copyright © 2007 John Maddock, Joel de Guzman and Eric Niebler</p>
+ </div>
+ <div id="license">
+ <p>Distributed under the
+ Boost Software License, Version 1.0.
+ </p>
+ </div>
+ </div>
+ <div id="footer-right">
+ <div id="banners">
+ <p id="banner-xhtml">
+ XHTML 1.0
+ </p>
+ <p id="banner-css">
+ CSS
+ </p>
+ <p id="banner-sourceforge">
+ SourceForge
+ </p>
+ </div>
+ </div>
+ <div class="clear"></div>
+ </div>
+ </body>
+</html>

Added: sandbox/doc_test/box_wrapper/xhtml/document_to_test_formatting/images.html
==============================================================================
--- (empty file)
+++ sandbox/doc_test/box_wrapper/xhtml/document_to_test_formatting/images.html 2007-06-15 02:42:32 EDT (Fri, 15 Jun 2007)
@@ -0,0 +1,136 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head xmlns="http://www.w3.org/1999/xhtml">
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <title>Images</title>
+ <link xmlns="" rel="stylesheet" href="../boostbook.css" type="text/css" />
+ <meta name="generator" content="DocBook XSL Stylesheets V1.70.1" />
+ <link rel="start" href="../index.html" title="Document To Test Formatting" />
+ <link rel="up" href="../index.html" title="Document To Test Formatting" />
+ <link rel="prev" href="basic_formatting_tests.html" title="Basic&#10; Formatting Tests" />
+ <link rel="next" href="test.html" title=" test HTML4 symbols" />
+ </head>
+ <body>
+ <script type="text/javascript" src="../grouped_links.js"></script>
+ <div id="heading">
+ <div id="heading-placard"></div>
+ <div class="heading_navigation_box">
+ <div class="grouped_links" id="chapters_select_box">
+ <script type="text/javascript">
+ grouped_links_select_box(
+ '../boost_libs_grouped_links.xml',
+ 'chapters_select_box',
+ 'http://www.boost.org/libs/');
+ </script>
+ </div>
+ <div class="grouped_links" id="sections_select_box">
+ <script type="text/javascript">
+ grouped_links_select_box(
+ '../sections_grouped_links.xml',
+ 'sections_select_box',
+ '.././');
+ </script>
+ </div>
+ </div>
+ <div class="heading_search_box">
+ <form id="cref" action="http://google.com/cse">
+ <input type="hidden" name="cref" value="" />
+ <div> Search Boost </div>
+ <div>
+ <input class="search_box" type="text" name="q" id="q" size="40" maxlength="255" alt="Search Text" />
+ </div>
+ </form>
+ </div>
+ </div>
+ <div class="spirit-nav">
+ <a accesskey="p" href="basic_formatting_tests.html">
+ <img src="../images/prev.png" alt="Prev" />
+ </a>
+ <a accesskey="u" href="../index.html">
+ <img src="../images/up.png" alt="Up" />
+ </a>
+ <a accesskey="h" href="../index.html">
+ <img src="../images/home.png" alt="Home" />
+ </a>
+ <a accesskey="n" href="test.html">
+ <img src="../images/next.png" alt="Next" />
+ </a>
+ </div>
+ <div id="body">
+ <div id="body-inner">
+ <div id="content">
+ <div xmlns="http://www.w3.org/1999/xhtml" class="section" lang="en" xml:lang="en">
+ <div class="titlepage">
+ <div>
+ <div>
+ <h2 class="title" style="clear: both">
+ <a id="document_to_test_formatting.images"></a>
+ Images
+ </h2>
+ </div>
+ </div>
+ </div>
+ <p>
+ These are tricky enough that they warrent their own section.
+ </p>
+ <p>
+ Let's start with a PNG file that's set to 120dpi, it should render at a sensible
+ size in both html and PDF forms. It should print OK too!
+ </p>
+ <p>
+ <span class="inlinemediaobject"><img src="../../digamma3.png" alt="digamma3" /></span>
+ </p>
+ <p>
+ Now try again with a sample SVG image:
+ </p>
+ <p>
+ <span class="inlinemediaobject"><img src="../../open_clipart_library_logo.svg" alt="open_clipart_library_logo" /></span>
+ </p>
+ </div>
+ </div>
+ <div class="clear"></div>
+ </div>
+ </div>
+ <div class="spirit-nav">
+ <a accesskey="p" href="basic_formatting_tests.html">
+ <img src="../images/prev.png" alt="Prev" />
+ </a>
+ <a accesskey="u" href="../index.html">
+ <img src="../images/up.png" alt="Up" />
+ </a>
+ <a accesskey="h" href="../index.html">
+ <img src="../images/home.png" alt="Home" />
+ </a>
+ <a accesskey="n" href="test.html">
+ <img src="../images/next.png" alt="Next" />
+ </a>
+ </div>
+ <div id="footer">
+ <div id="footer-left">
+ <div id="copyright">
+ <p xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision">Copyright © 2007 John Maddock, Joel de Guzman and Eric Niebler</p>
+ </div>
+ <div id="license">
+ <p>Distributed under the
+ Boost Software License, Version 1.0.
+ </p>
+ </div>
+ </div>
+ <div id="footer-right">
+ <div id="banners">
+ <p id="banner-xhtml">
+ XHTML 1.0
+ </p>
+ <p id="banner-css">
+ CSS
+ </p>
+ <p id="banner-sourceforge">
+ SourceForge
+ </p>
+ </div>
+ </div>
+ <div class="clear"></div>
+ </div>
+ </body>
+</html>

Added: sandbox/doc_test/box_wrapper/xhtml/document_to_test_formatting/introduction.html
==============================================================================
--- (empty file)
+++ sandbox/doc_test/box_wrapper/xhtml/document_to_test_formatting/introduction.html 2007-06-15 02:42:32 EDT (Fri, 15 Jun 2007)
@@ -0,0 +1,152 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head xmlns="http://www.w3.org/1999/xhtml">
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <title>Introduction</title>
+ <link xmlns="" rel="stylesheet" href="../boostbook.css" type="text/css" />
+ <meta name="generator" content="DocBook XSL Stylesheets V1.70.1" />
+ <link rel="start" href="../index.html" title="Document To Test Formatting" />
+ <link rel="up" href="../index.html" title="Document To Test Formatting" />
+ <link rel="prev" href="../index.html" title="Document To Test Formatting" />
+ <link rel="next" href="basic_formatting_tests.html" title="Basic&#10; Formatting Tests" />
+ </head>
+ <body>
+ <script type="text/javascript" src="../grouped_links.js"></script>
+ <div id="heading">
+ <div id="heading-placard"></div>
+ <div class="heading_navigation_box">
+ <div class="grouped_links" id="chapters_select_box">
+ <script type="text/javascript">
+ grouped_links_select_box(
+ '../boost_libs_grouped_links.xml',
+ 'chapters_select_box',
+ 'http://www.boost.org/libs/');
+ </script>
+ </div>
+ <div class="grouped_links" id="sections_select_box">
+ <script type="text/javascript">
+ grouped_links_select_box(
+ '../sections_grouped_links.xml',
+ 'sections_select_box',
+ '.././');
+ </script>
+ </div>
+ </div>
+ <div class="heading_search_box">
+ <form id="cref" action="http://google.com/cse">
+ <input type="hidden" name="cref" value="" />
+ <div> Search Boost </div>
+ <div>
+ <input class="search_box" type="text" name="q" id="q" size="40" maxlength="255" alt="Search Text" />
+ </div>
+ </form>
+ </div>
+ </div>
+ <div class="spirit-nav">
+ <a accesskey="p" href="../index.html">
+ <img src="../images/prev.png" alt="Prev" />
+ </a>
+ <a accesskey="u" href="../index.html">
+ <img src="../images/up.png" alt="Up" />
+ </a>
+ <a accesskey="h" href="../index.html">
+ <img src="../images/home.png" alt="Home" />
+ </a>
+ <a accesskey="n" href="basic_formatting_tests.html">
+ <img src="../images/next.png" alt="Next" />
+ </a>
+ </div>
+ <div id="body">
+ <div id="body-inner">
+ <div id="content">
+ <div xmlns="http://www.w3.org/1999/xhtml" class="section" lang="en" xml:lang="en">
+ <div class="titlepage">
+ <div>
+ <div>
+ <h2 class="title" style="clear: both">
+ <a id="document_to_test_formatting.introduction"></a>
+ Introduction
+ </h2>
+ </div>
+ </div>
+ </div>
+ <p>
+ This document is purely a test case to test out HTML and PDF generation and
+ style.
+ </p>
+ <p>
+ This is some body text.
+ </p>
+ <div xmlns="" class="programlisting">
+ <div class="box-outer-wrapper">
+ <div class="box-top-left"></div>
+ <div class="box-top-right"></div>
+ <div class="box-top"></div>
+ <div class="box-inner-wrapper">
+ <pre>
+<span xmlns="http://www.w3.org/1999/xhtml" class="keyword">int</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">main</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">()</span>
+<span xmlns="http://www.w3.org/1999/xhtml" class="special">{</span>
+ <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">double</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">d</span> <span xmlns="http://www.w3.org/1999/xhtml" class="special">=</span> <span xmlns="http://www.w3.org/1999/xhtml" class="number">2.345</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">;</span>
+ <span xmlns="http://www.w3.org/1999/xhtml" class="keyword">return</span> <span xmlns="http://www.w3.org/1999/xhtml" class="identifier">d</span><span xmlns="http://www.w3.org/1999/xhtml" class="special">;</span>
+<span xmlns="http://www.w3.org/1999/xhtml" class="special">}</span>
+</pre>
+ </div>
+ <div class="box-bottom-left"></div>
+ <div class="box-bottom-right"></div>
+ <div class="box-bottom"></div>
+ </div>
+ </div>
+ <p>
+ We can count in Greek too: α, β, γ.
+ </p>
+ <p>
+ Try some superscrips and subscripts: x<sup>2</sup>, x<sub>i</sub><sup>3</sup>, α<sup>2</sup>, β<sup>α</sup>, ⌊x⌋, ⌊α⌋, ⌈a⌉.
+ </p>
+ </div>
+ </div>
+ <div class="clear"></div>
+ </div>
+ </div>
+ <div class="spirit-nav">
+ <a accesskey="p" href="../index.html">
+ <img src="../images/prev.png" alt="Prev" />
+ </a>
+ <a accesskey="u" href="../index.html">
+ <img src="../images/up.png" alt="Up" />
+ </a>
+ <a accesskey="h" href="../index.html">
+ <img src="../images/home.png" alt="Home" />
+ </a>
+ <a accesskey="n" href="basic_formatting_tests.html">
+ <img src="../images/next.png" alt="Next" />
+ </a>
+ </div>
+ <div id="footer">
+ <div id="footer-left">
+ <div id="copyright">
+ <p xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision">Copyright © 2007 John Maddock, Joel de Guzman and Eric Niebler</p>
+ </div>
+ <div id="license">
+ <p>Distributed under the
+ Boost Software License, Version 1.0.
+ </p>
+ </div>
+ </div>
+ <div id="footer-right">
+ <div id="banners">
+ <p id="banner-xhtml">
+ XHTML 1.0
+ </p>
+ <p id="banner-css">
+ CSS
+ </p>
+ <p id="banner-sourceforge">
+ SourceForge
+ </p>
+ </div>
+ </div>
+ <div class="clear"></div>
+ </div>
+ </body>
+</html>

Added: sandbox/doc_test/box_wrapper/xhtml/document_to_test_formatting/test.html
==============================================================================
--- (empty file)
+++ sandbox/doc_test/box_wrapper/xhtml/document_to_test_formatting/test.html 2007-06-15 02:42:32 EDT (Fri, 15 Jun 2007)
@@ -0,0 +1,119 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head xmlns="http://www.w3.org/1999/xhtml">
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <title> test HTML4 symbols</title>
+ <link xmlns="" rel="stylesheet" href="../boostbook.css" type="text/css" />
+ <meta name="generator" content="DocBook XSL Stylesheets V1.70.1" />
+ <link rel="start" href="../index.html" title="Document To Test Formatting" />
+ <link rel="up" href="../index.html" title="Document To Test Formatting" />
+ <link rel="prev" href="images.html" title="Images" />
+ </head>
+ <body>
+ <script type="text/javascript" src="../grouped_links.js"></script>
+ <div id="heading">
+ <div id="heading-placard"></div>
+ <div class="heading_navigation_box">
+ <div class="grouped_links" id="chapters_select_box">
+ <script type="text/javascript">
+ grouped_links_select_box(
+ '../boost_libs_grouped_links.xml',
+ 'chapters_select_box',
+ 'http://www.boost.org/libs/');
+ </script>
+ </div>
+ <div class="grouped_links" id="sections_select_box">
+ <script type="text/javascript">
+ grouped_links_select_box(
+ '../sections_grouped_links.xml',
+ 'sections_select_box',
+ '.././');
+ </script>
+ </div>
+ </div>
+ <div class="heading_search_box">
+ <form id="cref" action="http://google.com/cse">
+ <input type="hidden" name="cref" value="" />
+ <div> Search Boost </div>
+ <div>
+ <input class="search_box" type="text" name="q" id="q" size="40" maxlength="255" alt="Search Text" />
+ </div>
+ </form>
+ </div>
+ </div>
+ <div class="spirit-nav">
+ <a accesskey="p" href="images.html">
+ <img src="../images/prev.png" alt="Prev" />
+ </a>
+ <a accesskey="u" href="../index.html">
+ <img src="../images/up.png" alt="Up" />
+ </a>
+ <a accesskey="h" href="../index.html">
+ <img src="../images/home.png" alt="Home" />
+ </a>
+ </div>
+ <div id="body">
+ <div id="body-inner">
+ <div id="content">
+ <div xmlns="http://www.w3.org/1999/xhtml" class="section" lang="en" xml:lang="en">
+ <div class="titlepage">
+ <div>
+ <div>
+ <h2 class="title" style="clear: both">
+ <a id="document_to_test_formatting.test"></a>
+ test HTML4 symbols
+ </h2>
+ </div>
+ </div>
+ </div>
+ <p>
+ ƒ, Α, Β, Γ, Δ, Ε, Ζ, Η, Θ, Ι, Κ, Λ, Μ, Ν, Ξ, Ο, Π, Ρ, Σ, Τ, Υ, Φ, Χ, Ψ, Ω, α, β, γ, δ, ε, ζ, η, θ, ι, κ, λ, μ, ν,
+ ξ, ο, π, ρ, ς, σ, τ, υ, φ, χ, ψ, ω, ϑ, ϒ, ϖ, •, …, ′, ″, ‾, ⁄, ℘, ℑ, ℜ, ™, ℵ, ←, ↑, →, ↓, ↔, ↵, ⇐, ⇑, ⇒, ⇓, ⇔, ∀,
+ ∂, ∃, ∅, ∇, ∈, ∉, ∋, ∏, ∑, −, ∗, √, ∝, ∞, ∠, ∧, ∨, ∩, ∪, ∫, ∴, ∼, ≅, ≈, ≠, ≡, ≤, ≥, ⊂, ⊃, ⊄, ⊆, ⊇, ⊕, ⊗, ⊥, ⋅, ⌈,
+ ⌉, ⌊, ⌋, 〈, 〉, ◊, ♠, ♣, ♥, ♦,
+ </p>
+ </div>
+ </div>
+ <div class="clear"></div>
+ </div>
+ </div>
+ <div class="spirit-nav">
+ <a accesskey="p" href="images.html">
+ <img src="../images/prev.png" alt="Prev" />
+ </a>
+ <a accesskey="u" href="../index.html">
+ <img src="../images/up.png" alt="Up" />
+ </a>
+ <a accesskey="h" href="../index.html">
+ <img src="../images/home.png" alt="Home" />
+ </a>
+ </div>
+ <div id="footer">
+ <div id="footer-left">
+ <div id="copyright">
+ <p xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision">Copyright © 2007 John Maddock, Joel de Guzman and Eric Niebler</p>
+ </div>
+ <div id="license">
+ <p>Distributed under the
+ Boost Software License, Version 1.0.
+ </p>
+ </div>
+ </div>
+ <div id="footer-right">
+ <div id="banners">
+ <p id="banner-xhtml">
+ XHTML 1.0
+ </p>
+ <p id="banner-css">
+ CSS
+ </p>
+ <p id="banner-sourceforge">
+ SourceForge
+ </p>
+ </div>
+ </div>
+ <div class="clear"></div>
+ </div>
+ </body>
+</html>


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk