diff options
Diffstat (limited to 'doc/html/boost/xpressive/op/const_cast_.html')
-rw-r--r-- | doc/html/boost/xpressive/op/const_cast_.html | 60 |
1 files changed, 52 insertions, 8 deletions
diff --git a/doc/html/boost/xpressive/op/const_cast_.html b/doc/html/boost/xpressive/op/const_cast_.html index a4aa47913f..46ca87e2f2 100644 --- a/doc/html/boost/xpressive/op/const_cast_.html +++ b/doc/html/boost/xpressive/op/const_cast_.html @@ -3,7 +3,7 @@ <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>Struct template const_cast_</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_actions_hpp" title="Header <boost/xpressive/regex_actions.hpp>"> <link rel="prev" href="dynamic_cast_.html" title="Struct template dynamic_cast_"> @@ -26,7 +26,7 @@ <a name="boost.xpressive.op.const_cast_"></a><div class="titlepage"></div> <div class="refnamediv"> <h2><span class="refentrytitle">Struct template const_cast_</span></h2> -<p>boost::xpressive::op::const_cast_</p> +<p>boost::xpressive::op::const_cast_ — <code class="computeroutput"><a class="link" href="const_cast_.html" title="Struct template const_cast_">const_cast_</a><></code> is a PolymorphicFunctionObject for const-casting a parameter to a cv qualification. </p> </div> <h2 xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv-title">Synopsis</h2> <div xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: <<a class="link" href="../../../xpressive/reference.html#header.boost.xpressive.regex_actions_hpp" title="Header <boost/xpressive/regex_actions.hpp>">boost/xpressive/regex_actions.hpp</a>> @@ -36,15 +36,59 @@ <span class="comment">// types</span> <span class="keyword">typedef</span> <span class="identifier">T</span> <a name="boost.xpressive.op.const_cast_.result_type"></a><span class="identifier">result_type</span><span class="special">;</span> - <span class="comment">// <a class="link" href="const_cast_.html#id1893112-bb">public member functions</a></span> - <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> Value<span class="special">></span> <span class="identifier">T</span> <a class="link" href="const_cast_.html#id1893115-bb"><span class="keyword">operator</span><span class="special">(</span><span class="special">)</span></a><span class="special">(</span><span class="identifier">Value</span> <span class="keyword">const</span> <span class="special">&</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span> + <span class="comment">// <a class="link" href="const_cast_.html#idp355550336-bb">public member functions</a></span> + <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> Value<span class="special">></span> <span class="identifier">T</span> <a class="link" href="const_cast_.html#idp355550896-bb"><span class="keyword">operator</span><span class="special">(</span><span class="special">)</span></a><span class="special">(</span><span class="identifier">Value</span> <span class="keyword">const</span> <span class="special">&</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span> <span class="special">}</span><span class="special">;</span></pre></div> <div class="refsect1"> -<a name="id3887419"></a><h2>Description</h2> +<a name="idp533232464"></a><h2>Description</h2> +<p> +</p> <div class="refsect2"> -<a name="id3887422"></a><h3> -<a name="id1893112-bb"></a><code class="computeroutput">const_cast_</code> public member functions</h3> -<div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem"><pre class="literallayout"><span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> Value<span class="special">></span> <span class="identifier">T</span> <a name="id1893115-bb"></a><span class="keyword">operator</span><span class="special">(</span><span class="special">)</span><span class="special">(</span><span class="identifier">Value</span> <span class="keyword">const</span> <span class="special">&</span> val<span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li></ol></div> +<a name="idp533233136"></a><h3>Template Parameters</h3> +<div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem"> +<pre class="literallayout"><span class="keyword">typename</span> T</pre> +<p>The type to which to const-cast the parameter. </p> +</li></ol></div> +</div> +<div class="refsect2"> +<a name="idp533236288"></a><h3> +<a name="idp355550336-bb"></a><code class="computeroutput">const_cast_</code> public member functions</h3> +<div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem"> +<pre class="literallayout"><span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> Value<span class="special">></span> <span class="identifier">T</span> <a name="idp355550896-bb"></a><span class="keyword">operator</span><span class="special">(</span><span class="special">)</span><span class="special">(</span><span class="identifier">Value</span> <span class="keyword">const</span> <span class="special">&</span> val<span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre> +<p> + + +</p> +<div class="variablelist"><table border="0" class="variablelist compact"> +<colgroup> +<col align="left" valign="top"> +<col> +</colgroup> +<tbody> +<tr> +<td><p><span class="term">Parameters:</span></p></td> +<td><div class="variablelist"><table border="0" class="variablelist compact"> +<colgroup> +<col align="left" valign="top"> +<col> +</colgroup> +<tbody><tr> +<td><p><span class="term"><code class="computeroutput">val</code></span></p></td> +<td><p>The value to const-cast. </p></td> +</tr></tbody> +</table></div></td> +</tr> +<tr> +<td><p><span class="term">Requires:</span></p></td> +<td><p>Types <code class="computeroutput">T</code> and <code class="computeroutput">Value</code> differ only in cv-qualification. </p></td> +</tr> +<tr> +<td><p><span class="term">Returns:</span></p></td> +<td><p><code class="computeroutput">const_cast<T>(val)</code> </p></td> +</tr> +</tbody> +</table></div> +</li></ol></div> </div> </div> </div> |