l<span class="special">)</span><span class="special">;</span></pre></div>
<div class="refsect1">
<a name="id-1.3.47.5.10.54.4"></a><h2>Description</h2>
<p>Use as_xpr() to turn a literal into a regular expression. For instance, "foo" &gt;&gt; "bar" will not compile because both operands to the right-shift operator are const char*, and no such operator exists. Use as_xpr("foo") &gt;&gt; "bar" instead.</p>
<p>You can use as_xpr() with character literals in addition to string literals. For instance, as_xpr('a')