diff options
Diffstat (limited to 'doc/html/boost/xpressive/as_xpr.html')
-rw-r--r-- | doc/html/boost/xpressive/as_xpr.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/html/boost/xpressive/as_xpr.html b/doc/html/boost/xpressive/as_xpr.html index d42ff49238..c8b8eab027 100644 --- a/doc/html/boost/xpressive/as_xpr.html +++ b/doc/html/boost/xpressive/as_xpr.html @@ -3,7 +3,7 @@ <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>Function template as_xpr</title> <link rel="stylesheet" href="../../../../doc/src/boostbook.css" type="text/css"> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<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/reference.html#header.boost.xpressive.regex_primitives_hpp" title="Header <boost/xpressive/regex_primitives.hpp>"> <link rel="prev" href="icase.html" title="Function template icase"> @@ -34,7 +34,7 @@ </span> <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> Literal<span class="special">></span> <span class="emphasis"><em><span class="identifier">unspecified</span></em></span> <span class="identifier">as_xpr</span><span class="special">(</span><span class="identifier">Literal</span> <span class="keyword">const</span> <span class="special">&</span> literal<span class="special">)</span><span class="special">;</span></pre></div> <div class="refsect1"> -<a name="id3917904"></a><h2>Description</h2> +<a name="idp537532800"></a><h2>Description</h2> <p>Use as_xpr() to turn a literal into a regular expression. For instance, "foo" >> "bar" will not compile because both operands to the right-shift operator are const char*, and no such operator exists. Use as_xpr("foo") >> "bar" instead.</p> <p>You can use as_xpr() with character literals in addition to string literals. For instance, as_xpr('a') will match an 'a'. You can also complement a character literal, as with ~as_xpr('a'). This will match any one character that is not an 'a'. </p> </div> |