diff options
Diffstat (limited to 'doc/html/boost/xpressive/as_xpr.html')
-rw-r--r--[-rwxr-xr-x] | doc/html/boost/xpressive/as_xpr.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/html/boost/xpressive/as_xpr.html b/doc/html/boost/xpressive/as_xpr.html index 53c134a106..d42ff49238 100755..100644 --- a/doc/html/boost/xpressive/as_xpr.html +++ b/doc/html/boost/xpressive/as_xpr.html @@ -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="id3818819"></a><h2>Description</h2> +<a name="id3917904"></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> |