boost-react-native-bundle
Version:
Boost library as in https://sourceforge.net/projects/boost/files/boost/1.57.0/
183 lines (182 loc) • 171 kB
HTML
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>Reference</title>
<link rel="stylesheet" href="../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="../index.html" title="The Boost C++ Libraries BoostBook Documentation Subset">
<link rel="up" href="../xpressive.html" title="Chapter 39. Boost.Xpressive">
<link rel="prev" href="user_s_guide.html" title="User's Guide">
<link rel="next" href="../boost/xpressive/swap_idp355202096.html" title="Function template swap">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../boost.png"></td>
<td align="center"><a href="../../../index.html">Home</a></td>
<td align="center"><a href="../../../libs/libraries.htm">Libraries</a></td>
<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../more/index.htm">More</a></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="user_s_guide.html"><img src="../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../xpressive.html"><img src="../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="../boost/xpressive/swap_idp355202096.html"><img src="../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h2 class="title" style="clear: both">
<a name="xpressive.reference"></a>Reference</h2></div></div></div>
<div class="toc"><dl class="toc">
<dt><span class="section"><a href="reference.html#header.boost.xpressive.basic_regex_hpp">Header <boost/xpressive/basic_regex.hpp></a></span></dt>
<dt><span class="section"><a href="reference.html#header.boost.xpressive.match_results_hpp">Header <boost/xpressive/match_results.hpp></a></span></dt>
<dt><span class="section"><a href="reference.html#header.boost.xpressive.regex_actions_hpp">Header <boost/xpressive/regex_actions.hpp></a></span></dt>
<dt><span class="section"><a href="reference.html#header.boost.xpressive.regex_algorithms_hpp">Header <boost/xpressive/regex_algorithms.hpp></a></span></dt>
<dt><span class="section"><a href="reference.html#header.boost.xpressive.regex_compiler_hpp">Header <boost/xpressive/regex_compiler.hpp></a></span></dt>
<dt><span class="section"><a href="reference.html#header.boost.xpressive.regex_constants_hpp">Header <boost/xpressive/regex_constants.hpp></a></span></dt>
<dt><span class="section"><a href="reference.html#header.boost.xpressive.regex_error_hpp">Header <boost/xpressive/regex_error.hpp></a></span></dt>
<dt><span class="section"><a href="reference.html#header.boost.xpressive.regex_iterator_hpp">Header <boost/xpressive/regex_iterator.hpp></a></span></dt>
<dt><span class="section"><a href="reference.html#header.boost.xpressive.regex_primitives_hpp">Header <boost/xpressive/regex_primitives.hpp></a></span></dt>
<dt><span class="section"><a href="reference.html#header.boost.xpressive.regex_token_iterator_hpp">Header <boost/xpressive/regex_token_iterator.hpp></a></span></dt>
<dt><span class="section"><a href="reference.html#header.boost.xpressive.regex_traits_hpp">Header <boost/xpressive/regex_traits.hpp></a></span></dt>
<dt><span class="section"><a href="reference.html#header.boost.xpressive.sub_match_hpp">Header <boost/xpressive/sub_match.hpp></a></span></dt>
<dt><span class="section"><a href="reference.html#header.boost.xpressive.traits.c_regex_traits_hpp">Header <boost/xpressive/traits/c_regex_traits.hpp></a></span></dt>
<dt><span class="section"><a href="reference.html#header.boost.xpressive.traits.cpp_regex_traits_hpp">Header <boost/xpressive/traits/cpp_regex_traits.hpp></a></span></dt>
<dt><span class="section"><a href="reference.html#header.boost.xpressive.traits.null_regex_traits_hpp">Header <boost/xpressive/traits/null_regex_traits.hpp></a></span></dt>
<dt><span class="section"><a href="reference.html#header.boost.xpressive.xpressive_hpp">Header <boost/xpressive/xpressive.hpp></a></span></dt>
<dt><span class="section"><a href="reference.html#header.boost.xpressive.xpressive_dynamic_hpp">Header <boost/xpressive/xpressive_dynamic.hpp></a></span></dt>
<dt><span class="section"><a href="reference.html#header.boost.xpressive.xpressive_fwd_hpp">Header <boost/xpressive/xpressive_fwd.hpp></a></span></dt>
<dt><span class="section"><a href="reference.html#header.boost.xpressive.xpressive_static_hpp">Header <boost/xpressive/xpressive_static.hpp></a></span></dt>
<dt><span class="section"><a href="reference.html#header.boost.xpressive.xpressive_typeof_hpp">Header <boost/xpressive/xpressive_typeof.hpp></a></span></dt>
</dl></div>
<div class="section">
<div class="titlepage"><div><div><h3 class="title">
<a name="header.boost.xpressive.basic_regex_hpp"></a>Header <<a href="../../../boost/xpressive/basic_regex.hpp" target="_top">boost/xpressive/basic_regex.hpp</a>></h3></div></div></div>
<p>Contains the definition of the basic_regex<> class template and its associated helper functions. </p>
<pre class="synopsis"><span class="keyword">namespace</span> <span class="identifier">boost</span> <span class="special">{</span>
<span class="keyword">namespace</span> <span class="identifier">xpressive</span> <span class="special">{</span>
<span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> BidiIter<span class="special">></span>
<span class="keyword">void</span> <a class="link" href="../boost/xpressive/swap_idp355202096.html" title="Function template swap"><span class="identifier">swap</span></a><span class="special">(</span><a class="link" href="../boost/xpressive/basic_regex.html" title="Struct template basic_regex">basic_regex</a><span class="special"><</span> <span class="identifier">BidiIter</span> <span class="special">></span> <span class="special">&</span><span class="special">,</span> <a class="link" href="../boost/xpressive/basic_regex.html" title="Struct template basic_regex">basic_regex</a><span class="special"><</span> <span class="identifier">BidiIter</span> <span class="special">></span> <span class="special">&</span><span class="special">)</span><span class="special">;</span>
<span class="special">}</span>
<span class="special">}</span></pre>
</div>
<div class="section">
<div class="titlepage"><div><div><h3 class="title">
<a name="header.boost.xpressive.match_results_hpp"></a>Header <<a href="../../../boost/xpressive/match_results.hpp" target="_top">boost/xpressive/match_results.hpp</a>></h3></div></div></div>
<p>Contains the definition of the match_results type and associated helpers. The match_results type holds the results of a regex_match() or regex_search() operation. </p>
</div>
<div class="section">
<div class="titlepage"><div><div><h3 class="title">
<a name="header.boost.xpressive.regex_actions_hpp"></a>Header <<a href="../../../boost/xpressive/regex_actions.hpp" target="_top">boost/xpressive/regex_actions.hpp</a>></h3></div></div></div>
<p>Defines the syntax elements of xpressive's action expressions. </p>
<pre class="synopsis"><span class="keyword">namespace</span> <span class="identifier">boost</span> <span class="special">{</span>
<span class="keyword">namespace</span> <span class="identifier">xpressive</span> <span class="special">{</span>
<span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <a class="link" href="../PolymorphicFunctionObject.html" title="Concept PolymorphicFunctionObject">PolymorphicFunctionObject</a><span class="special">></span> <span class="keyword">struct</span> <a class="link" href="../boost/xpressive/function.html" title="Struct template function">function</a><span class="special">;</span>
<span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> T<span class="special">></span> <span class="keyword">struct</span> <a class="link" href="../boost/xpressive/value.html" title="Struct template value">value</a><span class="special">;</span>
<span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> T<span class="special">></span> <span class="keyword">struct</span> <a class="link" href="../boost/xpressive/reference.html" title="Struct template reference">reference</a><span class="special">;</span>
<span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> T<span class="special">></span> <span class="keyword">struct</span> <a class="link" href="../boost/xpressive/local.html" title="Struct template local">local</a><span class="special">;</span>
<span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> T<span class="special">,</span> <span class="keyword">int</span> I <span class="special">=</span> <span class="number">0</span><span class="special">></span> <span class="keyword">struct</span> <a class="link" href="../boost/xpressive/placeholder.html" title="Struct template placeholder">placeholder</a><span class="special">;</span>
<a class="link" href="../boost/function.html" title="Class template function">function</a><span class="special"><</span> <a class="link" href="../boost/xpressive/op/at.html" title="Struct at">op::at</a> <span class="special">></span><span class="special">::</span><span class="identifier">type</span> <span class="keyword">const</span> <a class="link" href="../boost/xpressive/at.html" title="Global at">at</a><span class="special">;</span> <span class="comment">// <code class="computeroutput">at</code> is a lazy PolymorphicFunctionObject for indexing into a sequence in an xpressive semantic action. </span>
<a class="link" href="../boost/function.html" title="Class template function">function</a><span class="special"><</span> <a class="link" href="../boost/xpressive/op/push.html" title="Struct push">op::push</a> <span class="special">></span><span class="special">::</span><span class="identifier">type</span> <span class="keyword">const</span> <a class="link" href="../boost/xpressive/push.html" title="Global push">push</a><span class="special">;</span> <span class="comment">// <code class="computeroutput">push</code> is a lazy PolymorphicFunctionObject for pushing a value into a container in an xpressive semantic action. </span>
<a class="link" href="../boost/function.html" title="Class template function">function</a><span class="special"><</span> <a class="link" href="../boost/xpressive/op/push_back.html" title="Struct push_back">op::push_back</a> <span class="special">></span><span class="special">::</span><span class="identifier">type</span> <span class="keyword">const</span> <a class="link" href="../boost/xpressive/push_back.html" title="Global push_back">push_back</a><span class="special">;</span> <span class="comment">// <code class="computeroutput">push_back</code> is a lazy PolymorphicFunctionObject for pushing a value into a container in an xpressive semantic action. </span>
<a class="link" href="../boost/function.html" title="Class template function">function</a><span class="special"><</span> <a class="link" href="../boost/xpressive/op/push_front.html" title="Struct push_front">op::push_front</a> <span class="special">></span><span class="special">::</span><span class="identifier">type</span> <span class="keyword">const</span> <a class="link" href="../boost/xpressive/push_front.html" title="Global push_front">push_front</a><span class="special">;</span> <span class="comment">// <code class="computeroutput">push_front</code> is a lazy PolymorphicFunctionObject for pushing a value into a container in an xpressive semantic action. </span>
<a class="link" href="../boost/function.html" title="Class template function">function</a><span class="special"><</span> <a class="link" href="../boost/xpressive/op/pop.html" title="Struct pop">op::pop</a> <span class="special">></span><span class="special">::</span><span class="identifier">type</span> <span class="keyword">const</span> <a class="link" href="../boost/xpressive/pop.html" title="Global pop">pop</a><span class="special">;</span> <span class="comment">// <code class="computeroutput">pop</code> is a lazy PolymorphicFunctionObject for popping the top element from a sequence in an xpressive semantic action. </span>
<a class="link" href="../boost/function.html" title="Class template function">function</a><span class="special"><</span> <a class="link" href="../boost/xpressive/op/pop_back.html" title="Struct pop_back">op::pop_back</a> <span class="special">></span><span class="special">::</span><span class="identifier">type</span> <span class="keyword">const</span> <a class="link" href="../boost/xpressive/pop_back.html" title="Global pop_back">pop_back</a><span class="special">;</span> <span class="comment">// <code class="computeroutput">pop_back</code> is a lazy PolymorphicFunctionObject for popping the back element from a sequence in an xpressive semantic action. </span>
<a class="link" href="../boost/function.html" title="Class template function">function</a><span class="special"><</span> <a class="link" href="../boost/xpressive/op/pop_front.html" title="Struct pop_front">op::pop_front</a> <span class="special">></span><span class="special">::</span><span class="identifier">type</span> <span class="keyword">const</span> <a class="link" href="../boost/xpressive/pop_front.html" title="Global pop_front">pop_front</a><span class="special">;</span> <span class="comment">// <code class="computeroutput">pop_front</code> is a lazy PolymorphicFunctionObject for popping the front element from a sequence in an xpressive semantic action. </span>
<a class="link" href="../boost/function.html" title="Class template function">function</a><span class="special"><</span> <a class="link" href="../boost/xpressive/op/top.html" title="Struct top">op::top</a> <span class="special">></span><span class="special">::</span><span class="identifier">type</span> <span class="keyword">const</span> <a class="link" href="../boost/xpressive/top.html" title="Global top">top</a><span class="special">;</span> <span class="comment">// <code class="computeroutput">top</code> is a lazy PolymorphicFunctionObject for accessing the top element from a stack in an xpressive semantic action. </span>
<a class="link" href="../boost/function.html" title="Class template function">function</a><span class="special"><</span> <a class="link" href="../boost/xpressive/op/back.html" title="Struct back">op::back</a> <span class="special">></span><span class="special">::</span><span class="identifier">type</span> <span class="keyword">const</span> <a class="link" href="../boost/xpressive/back.html" title="Global back">back</a><span class="special">;</span> <span class="comment">// <code class="computeroutput">back</code> is a lazy PolymorphicFunctionObject for fetching the back element of a sequence in an xpressive semantic action. </span>
<a class="link" href="../boost/function.html" title="Class template function">function</a><span class="special"><</span> <a class="link" href="../boost/xpressive/op/front.html" title="Struct front">op::front</a> <span class="special">></span><span class="special">::</span><span class="identifier">type</span> <span class="keyword">const</span> <a class="link" href="../boost/xpressive/front.html" title="Global front">front</a><span class="special">;</span> <span class="comment">// <code class="computeroutput">front</code> is a lazy PolymorphicFunctionObject for fetching the front element of a sequence in an xpressive semantic action. </span>
<a class="link" href="../boost/function.html" title="Class template function">function</a><span class="special"><</span> <a class="link" href="../boost/xpressive/op/first.html" title="Struct first">op::first</a> <span class="special">></span><span class="special">::</span><span class="identifier">type</span> <span class="keyword">const</span> <a class="link" href="../boost/xpressive/first.html" title="Global first">first</a><span class="special">;</span> <span class="comment">// <code class="computeroutput">first</code> is a lazy PolymorphicFunctionObject for accessing the first element of a <code class="computeroutput">std::pair<></code> in an xpressive semantic action. </span>
<a class="link" href="../boost/function.html" title="Class template function">function</a><span class="special"><</span> <a class="link" href="../boost/xpressive/op/second.html" title="Struct second">op::second</a> <span class="special">></span><span class="special">::</span><span class="identifier">type</span> <span class="keyword">const</span> <a class="link" href="../boost/xpressive/second.html" title="Global second">second</a><span class="special">;</span> <span class="comment">// <code class="computeroutput">second</code> is a lazy PolymorphicFunctionObject for accessing the second element of a <code class="computeroutput">std::pair<></code> in an xpressive semantic action. </span>
<a class="link" href="../boost/function.html" title="Class template function">function</a><span class="special"><</span> <a class="link" href="../boost/xpressive/op/matched.html" title="Struct matched">op::matched</a> <span class="special">></span><span class="special">::</span><span class="identifier">type</span> <span class="keyword">const</span> <a class="link" href="../boost/xpressive/matched.html" title="Global matched">matched</a><span class="special">;</span> <span class="comment">// <code class="computeroutput">matched</code> is a lazy PolymorphicFunctionObject for accessing the <code class="computeroutput">matched</code> member of a <code class="computeroutput"><a class="link" href="../boost/xpressive/sub_match.html" title="Struct template sub_match">xpressive::sub_match</a><></code> in an xpressive semantic action. </span>
<a class="link" href="../boost/function.html" title="Class template function">function</a><span class="special"><</span> <a class="link" href="../boost/xpressive/op/length.html" title="Struct length">op::length</a> <span class="special">></span><span class="special">::</span><span class="identifier">type</span> <span class="keyword">const</span> <a class="link" href="../boost/xpressive/length.html" title="Global length">length</a><span class="special">;</span> <span class="comment">// <code class="computeroutput">length</code> is a lazy PolymorphicFunctionObject for computing the length of a <code class="computeroutput"><a class="link" href="../boost/xpressive/sub_match.html" title="Struct template sub_match">xpressive::sub_match</a><></code> in an xpressive semantic action. </span>
<a class="link" href="../boost/function.html" title="Class template function">function</a><span class="special"><</span> <a class="link" href="../boost/xpressive/op/str.html" title="Struct str">op::str</a> <span class="special">></span><span class="special">::</span><span class="identifier">type</span> <span class="keyword">const</span> <a class="link" href="../boost/xpressive/str.html" title="Global str">str</a><span class="special">;</span> <span class="comment">// <code class="computeroutput">str</code> is a lazy PolymorphicFunctionObject for converting a <code class="computeroutput"><a class="link" href="../boost/xpressive/sub_match.html" title="Struct template sub_match">xpressive::sub_match</a><></code> to a <code class="computeroutput">std::basic_string<></code> in an xpressive semantic action. </span>
<a class="link" href="../boost/function.html" title="Class template function">function</a><span class="special"><</span> <a class="link" href="../boost/xpressive/op/insert.html" title="Struct insert">op::insert</a> <span class="special">></span><span class="special">::</span><span class="identifier">type</span> <span class="keyword">const</span> <a class="link" href="../boost/xpressive/insert.html" title="Global insert">insert</a><span class="special">;</span> <span class="comment">// <code class="computeroutput">insert</code> is a lazy PolymorphicFunctionObject for inserting a value or a range of values into a sequence in an xpressive semantic action. </span>
<a class="link" href="../boost/function.html" title="Class template function">function</a><span class="special"><</span> <a class="link" href="../boost/xpressive/op/make_pair.html" title="Struct make_pair">op::make_pair</a> <span class="special">></span><span class="special">::</span><span class="identifier">type</span> <span class="keyword">const</span> <a class="link" href="../boost/xpressive/make_pair.html" title="Global make_pair">make_pair</a><span class="special">;</span> <span class="comment">// <code class="computeroutput">make_pair</code> is a lazy PolymorphicFunctionObject for making a <code class="computeroutput">std::pair<></code> in an xpressive semantic action. </span>
<a class="link" href="../boost/function.html" title="Class template function">function</a><span class="special"><</span> <a class="link" href="../boost/xpressive/op/unwrap_reference.html" title="Struct unwrap_reference">op::unwrap_reference</a> <span class="special">></span><span class="special">::</span><span class="identifier">type</span> <span class="keyword">const</span> <a class="link" href="../boost/xpressive/unwrap_reference.html" title="Global unwrap_reference">unwrap_reference</a><span class="special">;</span> <span class="comment">// <code class="computeroutput">unwrap_reference</code> is a lazy PolymorphicFunctionObject for unwrapping a <code class="computeroutput">boost::reference_wrapper<></code> in an xpressive semantic action. </span>
<span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> T<span class="special">,</span> <span class="keyword">typename</span> A<span class="special">></span> <span class="emphasis"><em><span class="identifier">unspecified</span></em></span> <a class="link" href="../boost/xpressive/as_idp355663328.html" title="Function template as"><span class="identifier">as</span></a><span class="special">(</span><span class="identifier">A</span> <span class="keyword">const</span> <span class="special">&</span><span class="special">)</span><span class="special">;</span>
<span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> T<span class="special">,</span> <span class="keyword">typename</span> A<span class="special">></span> <span class="emphasis"><em><span class="identifier">unspecified</span></em></span> <a class="link" href="../boost/xpressive/static_cast_idp355668816.html" title="Function template static_cast_"><span class="identifier">static_cast_</span></a><span class="special">(</span><span class="identifier">A</span> <span class="keyword">const</span> <span class="special">&</span><span class="special">)</span><span class="special">;</span>
<span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> T<span class="special">,</span> <span class="keyword">typename</span> A<span class="special">></span> <span class="emphasis"><em><span class="identifier">unspecified</span></em></span> <a class="link" href="../boost/xpressive/dynamic_cast_idp355674304.html" title="Function template dynamic_cast_"><span class="identifier">dynamic_cast_</span></a><span class="special">(</span><span class="identifier">A</span> <span class="keyword">const</span> <span class="special">&</span><span class="special">)</span><span class="special">;</span>
<span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> T<span class="special">,</span> <span class="keyword">typename</span> A<span class="special">></span> <span class="emphasis"><em><span class="identifier">unspecified</span></em></span> <a class="link" href="../boost/xpressive/const_cast_idp355679808.html" title="Function template const_cast_"><span class="identifier">const_cast_</span></a><span class="special">(</span><span class="identifier">A</span> <span class="keyword">const</span> <span class="special">&</span><span class="special">)</span><span class="special">;</span>
<span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> T<span class="special">></span> <a class="link" href="../boost/xpressive/value.html" title="Struct template value">value</a><span class="special"><</span> <span class="identifier">T</span> <span class="special">></span> <span class="keyword">const</span> <a class="link" href="../boost/xpressive/val.html" title="Function template val"><span class="identifier">val</span></a><span class="special">(</span><span class="identifier">T</span> <span class="keyword">const</span> <span class="special">&</span><span class="special">)</span><span class="special">;</span>
<span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> T<span class="special">></span> <a class="link" href="../boost/xpressive/reference.html" title="Struct template reference">reference</a><span class="special"><</span> <span class="identifier">T</span> <span class="special">></span> <span class="keyword">const</span> <a class="link" href="../boost/xpressive/ref.html" title="Function template ref"><span class="identifier">ref</span></a><span class="special">(</span><span class="identifier">T</span> <span class="special">&</span><span class="special">)</span><span class="special">;</span>
<span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> T<span class="special">></span> <a class="link" href="../boost/xpressive/reference.html" title="Struct template reference">reference</a><span class="special"><</span> <span class="identifier">T</span> <span class="keyword">const</span> <span class="special">></span> <span class="keyword">const</span> <a class="link" href="../boost/xpressive/cref.html" title="Function template cref"><span class="identifier">cref</span></a><span class="special">(</span><span class="identifier">T</span> <span class="keyword">const</span> <span class="special">&</span><span class="special">)</span><span class="special">;</span>
<span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> T<span class="special">></span> <span class="emphasis"><em><span class="identifier">unspecified</span></em></span> <a class="link" href="../boost/xpressive/check.html" title="Function template check"><span class="identifier">check</span></a><span class="special">(</span><span class="identifier">T</span> <span class="keyword">const</span> <span class="special">&</span><span class="special">)</span><span class="special">;</span>
<span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span><span class="special">...</span> ArgBindings<span class="special">></span> <span class="emphasis"><em><span class="identifier">unspecified</span></em></span> <a class="link" href="../boost/xpressive/let.html" title="Function template let"><span class="identifier">let</span></a><span class="special">(</span><span class="identifier">ArgBindings</span> <span class="keyword">const</span> <span class="special">&</span><span class="special">...</span><span class="special">)</span><span class="special">;</span>
<span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> T<span class="special">,</span> <span class="keyword">typename</span><span class="special">...</span> Args<span class="special">></span>
<span class="emphasis"><em><span class="identifier">unspecified</span></em></span> <a class="link" href="../boost/xpressive/construct_idp355727504.html" title="Function template construct"><span class="identifier">construct</span></a><span class="special">(</span><span class="identifier">Args</span> <span class="keyword">const</span> <span class="special">&</span><span class="special">...</span><span class="special">)</span><span class="special">;</span>
<span class="keyword">namespace</span> <span class="identifier">op</span> <span class="special">{</span>
<span class="keyword">struct</span> <a class="link" href="../boost/xpressive/op/at.html" title="Struct at">at</a><span class="special">;</span>
<span class="keyword">struct</span> <a class="link" href="../boost/xpressive/op/push.html" title="Struct push">push</a><span class="special">;</span>
<span class="keyword">struct</span> <a class="link" href="../boost/xpressive/op/push_back.html" title="Struct push_back">push_back</a><span class="special">;</span>
<span class="keyword">struct</span> <a class="link" href="../boost/xpressive/op/push_front.html" title="Struct push_front">push_front</a><span class="special">;</span>
<span class="keyword">struct</span> <a class="link" href="../boost/xpressive/op/pop.html" title="Struct pop">pop</a><span class="special">;</span>
<span class="keyword">struct</span> <a class="link" href="../boost/xpressive/op/pop_back.html" title="Struct pop_back">pop_back</a><span class="special">;</span>
<span class="keyword">struct</span> <a class="link" href="../boost/xpressive/op/pop_front.html" title="Struct pop_front">pop_front</a><span class="special">;</span>
<span class="keyword">struct</span> <a class="link" href="../boost/xpressive/op/front.html" title="Struct front">front</a><span class="special">;</span>
<span class="keyword">struct</span> <a class="link" href="../boost/xpressive/op/back.html" title="Struct back">back</a><span class="special">;</span>
<span class="keyword">struct</span> <a class="link" href="../boost/xpressive/op/top.html" title="Struct top">top</a><span class="special">;</span>
<span class="keyword">struct</span> <a class="link" href="../boost/xpressive/op/first.html" title="Struct first">first</a><span class="special">;</span>
<span class="keyword">struct</span> <a class="link" href="../boost/xpressive/op/second.html" title="Struct second">second</a><span class="special">;</span>
<span class="keyword">struct</span> <a class="link" href="../boost/xpressive/op/matched.html" title="Struct matched">matched</a><span class="special">;</span>
<span class="keyword">struct</span> <a class="link" href="../boost/xpressive/op/length.html" title="Struct length">length</a><span class="special">;</span>
<span class="keyword">struct</span> <a class="link" href="../boost/xpressive/op/str.html" title="Struct str">str</a><span class="special">;</span>
<span class="keyword">struct</span> <a class="link" href="../boost/xpressive/op/insert.html" title="Struct insert">insert</a><span class="special">;</span>
<span class="keyword">struct</span> <a class="link" href="../boost/xpressive/op/make_pair.html" title="Struct make_pair">make_pair</a><span class="special">;</span>
<span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> T<span class="special">></span> <span class="keyword">struct</span> <a class="link" href="../boost/xpressive/op/as.html" title="Struct template as">as</a><span class="special">;</span>
<span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> T<span class="special">></span> <span class="keyword">struct</span> <a class="link" href="../boost/xpressive/op/static_cast_.html" title="Struct template static_cast_">static_cast_</a><span class="special">;</span>
<span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> T<span class="special">></span> <span class="keyword">struct</span> <a class="link" href="../boost/xpressive/op/dynamic_cast_.html" title="Struct template dynamic_cast_">dynamic_cast_</a><span class="special">;</span>
<span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> T<span class="special">></span> <span class="keyword">struct</span> <a class="link" href="../boost/xpressive/op/const_cast_.html" title="Struct template const_cast_">const_cast_</a><span class="special">;</span>
<span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> T<span class="special">></span> <span class="keyword">struct</span> <a class="link" href="../boost/xpressive/op/construct.html" title="Struct template construct">construct</a><span class="special">;</span>
<span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> Except<span class="special">></span> <span class="keyword">struct</span> <a class="link" href="../boost/xpressive/op/throw_.html" title="Struct template throw_">throw_</a><span class="special">;</span>
<span class="keyword">struct</span> <a class="link" href="../boost/xpressive/op/unwrap_reference.html" title="Struct unwrap_reference">unwrap_reference</a><span class="special">;</span>
<span class="special">}</span>
<span class="special">}</span>
<span class="special">}</span></pre>
</div>
<div class="section">
<div class="titlepage"><div><div><h3 class="title">
<a name="header.boost.xpressive.regex_algorithms_hpp"></a>Header <<a href="../../../boost/xpressive/regex_algorithms.hpp" target="_top">boost/xpressive/regex_algorithms.hpp</a>></h3></div></div></div>
<p>Contains the regex_match(), regex_search() and regex_replace() algorithms. </p>
<pre class="synopsis"><span class="keyword">namespace</span> <span class="identifier">boost</span> <span class="special">{</span>
<span class="keyword">namespace</span> <span class="identifier">xpressive</span> <span class="special">{</span>
<span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> BidiIter<span class="special">></span>
<span class="keyword">bool</span> <a class="link" href="../boost/xpressive/regex_match.html" title="Function regex_match"><span class="identifier">regex_match</span></a><span class="special">(</span><span class="identifier">BidiIter</span><span class="special">,</span> <span class="identifier">BidiIter</span><span class="special">,</span> <a class="link" href="../boost/xpressive/match_results.html" title="Struct template match_results">match_results</a><span class="special"><</span> <span class="identifier">BidiIter</span> <span class="special">></span> <span class="special">&</span><span class="special">,</span>
<a class="link" href="../boost/xpressive/basic_regex.html" title="Struct template basic_regex">basic_regex</a><span class="special"><</span> <span class="identifier">BidiIter</span> <span class="special">></span> <span class="keyword">const</span> <span class="special">&</span><span class="special">,</span>
<span class="identifier">regex_constants</span><span class="special">::</span><span class="identifier">match_flag_type</span> <span class="special">=</span> <span class="identifier">regex_constants</span><span class="special">::</span><span class="identifier">match_default</span><span class="special">)</span><span class="special">;</span>
<span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> BidiIter<span class="special">></span>
<span class="keyword">bool</span> <a class="link" href="../boost/xpressive/regex_match.html" title="Function regex_match"><span class="identifier">regex_match</span></a><span class="special">(</span><span class="identifier">BidiIter</span><span class="special">,</span> <span class="identifier">BidiIter</span><span class="special">,</span> <a class="link" href="../boost/xpressive/basic_regex.html" title="Struct template basic_regex">basic_regex</a><span class="special"><</span> <span class="identifier">BidiIter</span> <span class="special">></span> <span class="keyword">const</span> <span class="special">&</span><span class="special">,</span>
<span class="identifier">regex_constants</span><span class="special">::</span><span class="identifier">match_flag_type</span> <span class="special">=</span> <span class="identifier">regex_constants</span><span class="special">::</span><span class="identifier">match_default</span><span class="special">)</span><span class="special">;</span>
<span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> Char<span class="special">></span>
<span class="keyword">bool</span> <a class="link" href="../boost/xpressive/regex_match.html" title="Function regex_match"><span class="identifier">regex_match</span></a><span class="special">(</span><span class="identifier">Char</span> <span class="special">*</span><span class="special">,</span> <a class="link" href="../boost/xpressive/match_results.html" title="Struct template match_results">match_results</a><span class="special"><</span> <span class="identifier">Char</span> <span class="special">*</span> <span class="special">></span> <span class="special">&</span><span class="special">,</span>
<a class="link" href="../boost/xpressive/basic_regex.html" title="Struct template basic_regex">basic_regex</a><span class="special"><</span> <span class="identifier">Char</span> <span class="special">*</span> <span class="special">></span> <span class="keyword">const</span> <span class="special">&</span><span class="special">,</span>
<span class="identifier">regex_constants</span><span class="special">::</span><span class="identifier">match_flag_type</span> <span class="special">=</span> <span class="identifier">regex_constants</span><span class="special">::</span><span class="identifier">match_default</span><span class="special">)</span><span class="special">;</span>
<span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> BidiRange<span class="special">,</span> <span class="keyword">typename</span> BidiIter<span class="special">></span>
<span class="keyword">bool</span> <a class="link" href="../boost/xpressive/regex_match.html" title="Function regex_match"><span class="identifier">regex_match</span></a><span class="special">(</span><span class="identifier">BidiRange</span> <span class="special">&</span><span class="special">,</span> <a class="link" href="../boost/xpressive/match_results.html" title="Struct template match_results">match_results</a><span class="special"><</span> <span class="identifier">BidiIter</span> <span class="special">></span> <span class="special">&</span><span class="special">,</span>
<a class="link" href="../boost/xpressive/basic_regex.html" title="Struct template basic_regex">basic_regex</a><span class="special"><</span> <span class="identifier">BidiIter</span> <span class="special">></span> <span class="keyword">const</span> <span class="special">&</span><span class="special">,</span>
<span class="identifier">regex_constants</span><span class="special">::</span><span class="identifier">match_flag_type</span> <span class="special">=</span> <span class="identifier">regex_constants</span><span class="special">::</span><span class="identifier">match_default</span><span class="special">,</span>
<span class="emphasis"><em><span class="identifier">unspecified</span></em></span> <span class="special">=</span> <span class="number">0</span><span class="special">)</span><span class="special">;</span>
<span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> BidiRange<span class="special">,</span> <span class="keyword">typename</span> BidiIter<span class="special">></span>
<span class="keyword">bool</span> <a class="link" href="../boost/xpressive/regex_match.html" title="Function regex_match"><span class="identifier">regex_match</span></a><span class="special">(</span><span class="identifier">BidiRange</span> <span class="keyword">const</span> <span class="special">&</span><span class="special">,</span> <a class="link" href="../boost/xpressive/match_results.html" title="Struct template match_results">match_results</a><span class="special"><</span> <span class="identifier">BidiIter</span> <span class="special">></span> <span class="special">&</span><span class="special">,</span>
<a class="link" href="../boost/xpressive/basic_regex.html" title="Struct template basic_regex">basic_regex</a><span class="special"><</span> <span class="identifier">BidiIter</span> <span class="special">></span> <span class="keyword">const</span> <span class="special">&</span><span class="special">,</span>
<span class="identifier">regex_constants</span><span class="special">::</span><span class="identifier">match_flag_type</span> <span class="special">=</span> <span class="identifier">regex_constants</span><span class="special">::</span><span class="identifier">match_default</span><span class="special">,</span>
<span class="emphasis"><em><span class="identifier">unspecified</span></em></span> <span class="special">=</span> <span class="number">0</span><span class="special">)</span><span class="special">;</span>
<span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> Char<span class="special">></span>
<span class="keyword">bool</span> <a class="link" href="../boost/xpressive/regex_match.html" title="Function regex_match"><span class="identifier">regex_match</span></a><span class="special">(</span><span class="identifier">Char</span> <span class="special">*</span><span class="special">,</span> <a class="link" href="../boost/xpressive/basic_regex.html" title="Struct template basic_regex">basic_regex</a><span class="special"><</span> <span class="identifier">Char</span> <span class="special">*</span> <span class="special">></span> <span class="keyword">const</span> <span class="special">&</span><span class="special">,</span>
<span class="identifier">regex_constants</span><span class="special">::</span><span class="identifier">match_flag_type</span> <span class="special">=</span> <span class="identifier">regex_constants</span><span class="special">::</span><span class="identifier">match_default</span><span class="special">)</span><span class="special">;</span>
<span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> BidiRange<span class="special">,</span> <span class="keyword">typename</span> BidiIter<span class="special">></span>
<span class="keyword">bool</span> <a class="link" href="../boost/xpressive/regex_match.html" title="Function regex_match"><span class="identifier">regex_match</span></a><span class="special">(</span><span class="identifier">BidiRange</span> <span class="special">&</span><span class="special">,</span> <a class="link" href="../boost/xpressive/basic_regex.html" title="Struct template basic_regex">basic_regex</a><span class="special"><</span> <span class="identifier">BidiIter</span> <span class="special">></span> <span class="keyword">const</span> <span class="special">&</span><span class="special">,</span>
<span class="identifier">regex_constants</span><span class="special">::</span><span class="identifier">match_flag_type</span> <span class="special">=</span> <span class="identifier">regex_constants</span><span class="special">::</span><span class="identifier">match_default</span><span class="special">,</span>
<span class="emphasis"><em><span class="identifier">unspecified</span></em></span> <span class="special">=</span> <span class="number">0</span><span class="special">)</span><span class="special">;</span>
<span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> BidiRange<span class="special">,</span> <span class="keyword">typename</span> BidiIter<span class="special">></span>
<span class="keyword">bool</span> <a class="link" href="../boost/xpressive/regex_match.html" title="Function regex_match"><span class="identifier">regex_match</span></a><span class="special">(</span><span class="identifier">BidiRange</span> <span class="keyword">const</span> <span class="special">&</span><span class="special">,</span> <a class="link" href="../boost/xpressive/basic_regex.html" title="Struct template basic_regex">basic_regex</a><span class="special"><</span> <span class="identifier">BidiIter</span> <span class="special">></span> <span class="keyword">const</span> <span class="special">&</span><span class="special">,</span>
<span class="identifier">regex_constants</span><span class="special">::</span><span class="identifier">match_flag_type</span> <span class="special">=</span> <span class="identifier">regex_constants</span><span class="special">::</span><span class="identifier">match_default</span><span class="special">,</span>
<span class="emphasis"><em><span class="identifier">unspecified</span></em></span> <span class="special">=</span> <span class="number">0</span><span class="special">)</span><span class="special">;</span>
<span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> BidiIter<span class="special">></span>
<span class="keyword">bool</span> <a class="link" href="../boost/xpressive/regex_search.html" title="Function regex_search"><span class="identifier">regex_search</span></a><span class="special">(</span><span class="identifier">BidiIter</span><span class="special">,</span> <span class="identifier">BidiIter</span><span class="special">,</span> <a class="link" href="../boost/xpressive/match_results.html" title="Struct template match_results">match_results</a><span class="special"><</span> <span class="identifier">BidiIter</span> <span class="special">></span> <span class="special">&</span><span class="special">,</span>
<a class="link" href="../boost/xpressive/basic_regex.html" title="Struct template basic_regex">basic_regex</a><span class="special"><</span> <span class="identifier">BidiIter</span> <span class="special">></span> <span class="keyword">const</span> <span class="special">&</span><span class="special">,</span>
<span class="identifier">regex_constants</span><span class="special">::</span><span class="identifier">match_flag_type</span> <span class="special">=</span> <span class="identifier">regex_constants</span><span class="special">::</span><span class="identifier">match_default</span><span class="special">)</span><span class="special">;</span>
<span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> BidiIter<span class="special">></span>
<span class="keyword">bool</span> <a class="link" href="../boost/xpressive/regex_search.html" title="Function regex_search"><span class="identifier">regex_search</span></a><span class="special">(</span><span class="identifier">BidiIter</span><span class="special">,</span> <span class="identifier">BidiIter</span><span class="special">,</span> <a class="link" href="../boost/xpressive/basic_regex.html" title="Struct template basic_regex">basic_regex</a><span class="special"><</span> <span class="identifier">BidiIter</span> <span class="special">></span> <span class="keyword">const</span> <span class="special">&</span><span class="special">,</span>
<span class="identifier">regex_constants</span><span class="special">::</span><span class="identifier">match_flag_type</span> <span class="special">=</span> <span class="identifier">regex_constants</span><span class="special">::</span><span class="identifier">match_default</span><span class="special">)</span><span class="special">;</span>
<span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> Char<span class="special">></span>
<span class="keyword">bool</span> <a class="link" href="../boost/xpressive/regex_search.html" title="Function regex_search"><span class="identifier">regex_search</span></a><span class="special">(</span><span class="identifier">Char</span> <span class="special">*</span><span class="special">,</span> <a class="link" href="../boost/xpressive/match_results.html" title="Struct template match_results">match_results</a><span class="special"><</span> <span class="identifier">Char</span> <span class="special">*</span> <span class="special">></span> <span class="special">&</span><span class="special">,</span>
<a class="link" href="../boost/xpressive/basic_regex.html" title="Struct template basic_regex