diff options
Diffstat (limited to 'doc/html/boost/typeindex')
18 files changed, 879 insertions, 118 deletions
diff --git a/doc/html/boost/typeindex/bad_runtime_cast.html b/doc/html/boost/typeindex/bad_runtime_cast.html new file mode 100644 index 0000000000..f621ad6c1f --- /dev/null +++ b/doc/html/boost/typeindex/bad_runtime_cast.html @@ -0,0 +1,52 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> +<title>Struct bad_runtime_cast</title> +<link rel="stylesheet" href="../../../../doc/src/boostbook.css" type="text/css"> +<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> +<link rel="home" href="../../index.html" title="The Boost C++ Libraries BoostBook Documentation Subset"> +<link rel="up" href="../../boost_typeindex_header_reference.html#header.boost.type_index.runtime_cast.reference_cast_hpp" title="Header <boost/type_index/runtime_cast/reference_cast.hpp>"> +<link rel="prev" href="runtime_point_idp987121296.html" title="Function template runtime_pointer_cast"> +<link rel="next" href="runtime_cast_idp987130576.html" title="Function template runtime_cast"> +</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="runtime_point_idp987121296.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../boost_typeindex_header_reference.html#header.boost.type_index.runtime_cast.reference_cast_hpp"><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="runtime_cast_idp987130576.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a> +</div> +<div class="refentry"> +<a name="boost.typeindex.bad_runtime_cast"></a><div class="titlepage"></div> +<div class="refnamediv"> +<h2><span class="refentrytitle">Struct bad_runtime_cast</span></h2> +<p>boost::typeindex::bad_runtime_cast — Indicates that runtime_cast was unable to perform the desired cast operation because the source instance was not also an instance of the target type. </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="../../boost_typeindex_header_reference.html#header.boost.type_index.runtime_cast.reference_cast_hpp" title="Header <boost/type_index/runtime_cast/reference_cast.hpp>">boost/type_index/runtime_cast/reference_cast.hpp</a>> + +</span> +<span class="keyword">struct</span> <a class="link" href="bad_runtime_cast.html" title="Struct bad_runtime_cast">bad_runtime_cast</a> <span class="special">:</span> <span class="keyword">public</span> <span class="identifier">exception</span> <span class="special">{</span> +<span class="special">}</span><span class="special">;</span></pre></div> +</div> +<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> +<td align="left"></td> +<td align="right"><div class="copyright-footer">Copyright © 2012-2016 Antony Polukhin<p> + Distributed under the Boost Software License, Version 1.0. (See accompanying + file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) + </p> +</div></td> +</tr></table> +<hr> +<div class="spirit-nav"> +<a accesskey="p" href="runtime_point_idp987121296.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../boost_typeindex_header_reference.html#header.boost.type_index.runtime_cast.reference_cast_hpp"><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="runtime_cast_idp987130576.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a> +</div> +</body> +</html> diff --git a/doc/html/boost/typeindex/ctti_type_index.html b/doc/html/boost/typeindex/ctti_type_index.html index f1a728a86f..aca05997ca 100644 --- a/doc/html/boost/typeindex/ctti_type_index.html +++ b/doc/html/boost/typeindex/ctti_type_index.html @@ -8,7 +8,7 @@ <link rel="home" href="../../index.html" title="The Boost C++ Libraries BoostBook Documentation Subset"> <link rel="up" href="../../boost_typeindex_header_reference.html#header.boost.type_index.ctti_type_index_hpp" title="Header <boost/type_index/ctti_type_index.hpp>"> <link rel="prev" href="../../BOOST_TYPE_INDEX_FORCE_NO_RTTI_COMPATIBILITY.html" title="Macro BOOST_TYPE_INDEX_FORCE_NO_RTTI_COMPATIBILITY"> -<link rel="next" href="stl_type_index.html" title="Class stl_type_index"> +<link rel="next" href="runtime_point_idp987098064.html" title="Function template runtime_pointer_cast"> </head> <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> <table cellpadding="2" width="100%"><tr> @@ -21,7 +21,7 @@ </tr></table> <hr> <div class="spirit-nav"> -<a accesskey="p" href="../../BOOST_TYPE_INDEX_FORCE_NO_RTTI_COMPATIBILITY.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../boost_typeindex_header_reference.html#header.boost.type_index.ctti_type_index_hpp"><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="stl_type_index.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a> +<a accesskey="p" href="../../BOOST_TYPE_INDEX_FORCE_NO_RTTI_COMPATIBILITY.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../boost_typeindex_header_reference.html#header.boost.type_index.ctti_type_index_hpp"><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="runtime_point_idp987098064.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a> </div> <div class="refentry"> <a name="boost.typeindex.ctti_type_index"></a><div class="titlepage"></div> @@ -39,31 +39,31 @@ <span class="keyword">typedef</span> <span class="emphasis"><em><span class="identifier">unspecified</span></em></span> <a name="boost.typeindex.ctti_type_index.type_info_t"></a><span class="identifier">type_info_t</span><span class="special">;</span> <span class="comment">// <a class="link" href="ctti_type_index.html#boost.typeindex.ctti_type_indexconstruct-copy-destruct">construct/copy/destruct</a></span> - <span class="keyword">explicit</span> <a class="link" href="ctti_type_index.html#idm46563168269472-bb"><span class="identifier">ctti_type_index</span></a><span class="special">(</span><span class="keyword">const</span> <span class="keyword">char</span> <span class="special">*</span><span class="special">)</span> <span class="keyword">noexcept</span><span class="special">;</span> - <a class="link" href="ctti_type_index.html#idm46563168256672-bb"><span class="identifier">ctti_type_index</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">noexcept</span><span class="special">;</span> - <a class="link" href="ctti_type_index.html#idm46563168256112-bb"><span class="identifier">ctti_type_index</span></a><span class="special">(</span><span class="keyword">const</span> <a class="link" href="ctti_type_index.html#boost.typeindex.ctti_type_index.type_info_t">type_info_t</a> <span class="special">&</span><span class="special">)</span> <span class="keyword">noexcept</span><span class="special">;</span> + <span class="keyword">explicit</span> <a class="link" href="ctti_type_index.html#idp987067008-bb"><span class="identifier">ctti_type_index</span></a><span class="special">(</span><span class="keyword">const</span> <span class="keyword">char</span> <span class="special">*</span><span class="special">)</span> <span class="keyword">noexcept</span><span class="special">;</span> + <a class="link" href="ctti_type_index.html#idp987079808-bb"><span class="identifier">ctti_type_index</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">noexcept</span><span class="special">;</span> + <a class="link" href="ctti_type_index.html#idp987080368-bb"><span class="identifier">ctti_type_index</span></a><span class="special">(</span><span class="keyword">const</span> <a class="link" href="ctti_type_index.html#boost.typeindex.ctti_type_index.type_info_t">type_info_t</a> <span class="special">&</span><span class="special">)</span> <span class="keyword">noexcept</span><span class="special">;</span> - <span class="comment">// <a class="link" href="ctti_type_index.html#idm46563168271328-bb">private member functions</a></span> - <span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span> <a class="link" href="ctti_type_index.html#idm46563168270752-bb"><span class="identifier">get_raw_name_length</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">;</span> + <span class="comment">// <a class="link" href="ctti_type_index.html#idp987065152-bb">private member functions</a></span> + <span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span> <a class="link" href="ctti_type_index.html#idp987065728-bb"><span class="identifier">get_raw_name_length</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">;</span> - <span class="comment">// <a class="link" href="ctti_type_index.html#idm46563168267952-bb">public member functions</a></span> - <span class="keyword">const</span> <a class="link" href="ctti_type_index.html#boost.typeindex.ctti_type_index.type_info_t">type_info_t</a> <span class="special">&</span> <a class="link" href="ctti_type_index.html#idm46563168267392-bb"><span class="identifier">type_info</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">;</span> - <span class="keyword">constexpr</span> <span class="keyword">const</span> <span class="keyword">char</span> <span class="special">*</span> <a class="link" href="ctti_type_index.html#idm46563168265824-bb"><span class="identifier">raw_name</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">;</span> - <span class="keyword">constexpr</span> <span class="keyword">const</span> <span class="keyword">char</span> <span class="special">*</span> <a class="link" href="ctti_type_index.html#idm46563168264704-bb"><span class="identifier">name</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">;</span> - <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <a class="link" href="ctti_type_index.html#idm46563168263584-bb"><span class="identifier">pretty_name</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span> - <span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span> <a class="link" href="ctti_type_index.html#idm46563168262464-bb"><span class="identifier">hash_code</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">;</span> - <span class="keyword">constexpr</span> <span class="keyword">bool</span> <a class="link" href="ctti_type_index.html#idm46563168261344-bb"><span class="identifier">equal</span></a><span class="special">(</span><span class="keyword">const</span> <a class="link" href="ctti_type_index.html" title="Class ctti_type_index">ctti_type_index</a> <span class="special">&</span><span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">;</span> - <span class="keyword">constexpr</span> <span class="keyword">bool</span> <a class="link" href="ctti_type_index.html#idm46563168259088-bb"><span class="identifier">before</span></a><span class="special">(</span><span class="keyword">const</span> <a class="link" href="ctti_type_index.html" title="Class ctti_type_index">ctti_type_index</a> <span class="special">&</span><span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">;</span> + <span class="comment">// <a class="link" href="ctti_type_index.html#idp987068528-bb">public member functions</a></span> + <span class="keyword">const</span> <a class="link" href="ctti_type_index.html#boost.typeindex.ctti_type_index.type_info_t">type_info_t</a> <span class="special">&</span> <a class="link" href="ctti_type_index.html#idp987069088-bb"><span class="identifier">type_info</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">;</span> + <span class="keyword">constexpr</span> <span class="keyword">const</span> <span class="keyword">char</span> <span class="special">*</span> <a class="link" href="ctti_type_index.html#idp987070656-bb"><span class="identifier">raw_name</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">;</span> + <span class="keyword">constexpr</span> <span class="keyword">const</span> <span class="keyword">char</span> <span class="special">*</span> <a class="link" href="ctti_type_index.html#idp987071776-bb"><span class="identifier">name</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">;</span> + <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <a class="link" href="ctti_type_index.html#idp987072896-bb"><span class="identifier">pretty_name</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span> + <span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span> <a class="link" href="ctti_type_index.html#idp987074016-bb"><span class="identifier">hash_code</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">;</span> + <span class="keyword">constexpr</span> <span class="keyword">bool</span> <a class="link" href="ctti_type_index.html#idp987075136-bb"><span class="identifier">equal</span></a><span class="special">(</span><span class="keyword">const</span> <a class="link" href="ctti_type_index.html" title="Class ctti_type_index">ctti_type_index</a> <span class="special">&</span><span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">;</span> + <span class="keyword">constexpr</span> <span class="keyword">bool</span> <a class="link" href="ctti_type_index.html#idp987077392-bb"><span class="identifier">before</span></a><span class="special">(</span><span class="keyword">const</span> <a class="link" href="ctti_type_index.html" title="Class ctti_type_index">ctti_type_index</a> <span class="special">&</span><span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">;</span> - <span class="comment">// <a class="link" href="ctti_type_index.html#idm46563168254416-bb">public static functions</a></span> - <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> T<span class="special">></span> <span class="keyword">static</span> <span class="keyword">constexpr</span> <a class="link" href="ctti_type_index.html" title="Class ctti_type_index">ctti_type_index</a> <a class="link" href="ctti_type_index.html#idm46563168253856-bb"><span class="identifier">type_id</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">noexcept</span><span class="special">;</span> + <span class="comment">// <a class="link" href="ctti_type_index.html#idp987082064-bb">public static functions</a></span> + <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> T<span class="special">></span> <span class="keyword">static</span> <span class="keyword">constexpr</span> <a class="link" href="ctti_type_index.html" title="Class ctti_type_index">ctti_type_index</a> <a class="link" href="ctti_type_index.html#idp987082624-bb"><span class="identifier">type_id</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">noexcept</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">static</span> <span class="keyword">constexpr</span> <a class="link" href="ctti_type_index.html" title="Class ctti_type_index">ctti_type_index</a> <a class="link" href="ctti_type_index.html#idm46563168251328-bb"><span class="identifier">type_id_with_cvr</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">noexcept</span><span class="special">;</span> + <span class="keyword">static</span> <span class="keyword">constexpr</span> <a class="link" href="ctti_type_index.html" title="Class ctti_type_index">ctti_type_index</a> <a class="link" href="ctti_type_index.html#idp987085152-bb"><span class="identifier">type_id_with_cvr</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">noexcept</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">static</span> <a class="link" href="ctti_type_index.html" title="Class ctti_type_index">ctti_type_index</a> <a class="link" href="ctti_type_index.html#idm46563168248800-bb"><span class="identifier">type_id_runtime</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">T</span> <span class="special">&</span><span class="special">)</span> <span class="keyword">noexcept</span><span class="special">;</span> + <span class="keyword">static</span> <a class="link" href="ctti_type_index.html" title="Class ctti_type_index">ctti_type_index</a> <a class="link" href="ctti_type_index.html#idp987087680-bb"><span class="identifier">type_id_runtime</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">T</span> <span class="special">&</span><span class="special">)</span> <span class="keyword">noexcept</span><span class="special">;</span> <span class="special">}</span><span class="special">;</span></pre></div> <div class="refsect1"> -<a name="idm45927736000144"></a><h2>Description</h2> +<a name="idp658410608"></a><h2>Description</h2> <p>This class is a wrapper that pretends to work exactly like <a class="link" href="stl_type_index.html" title="Class stl_type_index">stl_type_index</a>, but does not require RTTI support. <span class="bold"><strong>For</strong></span> <span class="bold"><strong>description</strong></span> <span class="bold"><strong>of</strong></span> <span class="bold"><strong>functions</strong></span> <span class="bold"><strong>see</strong></span> <a class="link" href="type_index_facade.html" title="Class template type_index_facade">type_index_facade</a>.</p> <p>This class on C++14 compatible compilers has following functions marked as constexpr:</p> <div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> @@ -77,43 +77,43 @@ </p> <p>This class produces slightly longer type names, so consider using <a class="link" href="stl_type_index.html" title="Class stl_type_index">stl_type_index</a> in situations when typeid() is working. </p> <div class="refsect2"> -<a name="idm45927735989984"></a><h3> +<a name="idp658420768"></a><h3> <a name="boost.typeindex.ctti_type_indexconstruct-copy-destruct"></a><code class="computeroutput">ctti_type_index</code> public construct/copy/destruct</h3> <div class="orderedlist"><ol class="orderedlist" type="1"> -<li class="listitem"><pre class="literallayout"><span class="keyword">explicit</span> <a name="idm46563168269472-bb"></a><span class="identifier">ctti_type_index</span><span class="special">(</span><span class="keyword">const</span> <span class="keyword">char</span> <span class="special">*</span> data<span class="special">)</span> <span class="keyword">noexcept</span><span class="special">;</span></pre></li> -<li class="listitem"><pre class="literallayout"><a name="idm46563168256672-bb"></a><span class="identifier">ctti_type_index</span><span class="special">(</span><span class="special">)</span> <span class="keyword">noexcept</span><span class="special">;</span></pre></li> -<li class="listitem"><pre class="literallayout"><a name="idm46563168256112-bb"></a><span class="identifier">ctti_type_index</span><span class="special">(</span><span class="keyword">const</span> <a class="link" href="ctti_type_index.html#boost.typeindex.ctti_type_index.type_info_t">type_info_t</a> <span class="special">&</span> data<span class="special">)</span> <span class="keyword">noexcept</span><span class="special">;</span></pre></li> +<li class="listitem"><pre class="literallayout"><span class="keyword">explicit</span> <a name="idp987067008-bb"></a><span class="identifier">ctti_type_index</span><span class="special">(</span><span class="keyword">const</span> <span class="keyword">char</span> <span class="special">*</span> data<span class="special">)</span> <span class="keyword">noexcept</span><span class="special">;</span></pre></li> +<li class="listitem"><pre class="literallayout"><a name="idp987079808-bb"></a><span class="identifier">ctti_type_index</span><span class="special">(</span><span class="special">)</span> <span class="keyword">noexcept</span><span class="special">;</span></pre></li> +<li class="listitem"><pre class="literallayout"><a name="idp987080368-bb"></a><span class="identifier">ctti_type_index</span><span class="special">(</span><span class="keyword">const</span> <a class="link" href="ctti_type_index.html#boost.typeindex.ctti_type_index.type_info_t">type_info_t</a> <span class="special">&</span> data<span class="special">)</span> <span class="keyword">noexcept</span><span class="special">;</span></pre></li> </ol></div> </div> <div class="refsect2"> -<a name="idm45927735969680"></a><h3> -<a name="idm46563168271328-bb"></a><code class="computeroutput">ctti_type_index</code> private member functions</h3> -<div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem"><pre class="literallayout"><span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span> <a name="idm46563168270752-bb"></a><span class="identifier">get_raw_name_length</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">;</span></pre></li></ol></div> +<a name="idp658441072"></a><h3> +<a name="idp987065152-bb"></a><code class="computeroutput">ctti_type_index</code> private member functions</h3> +<div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem"><pre class="literallayout"><span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span> <a name="idp987065728-bb"></a><span class="identifier">get_raw_name_length</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">;</span></pre></li></ol></div> </div> <div class="refsect2"> -<a name="idm45927735960832"></a><h3> -<a name="idm46563168267952-bb"></a><code class="computeroutput">ctti_type_index</code> public member functions</h3> +<a name="idp658449984"></a><h3> +<a name="idp987068528-bb"></a><code class="computeroutput">ctti_type_index</code> public member functions</h3> <div class="orderedlist"><ol class="orderedlist" type="1"> -<li class="listitem"><pre class="literallayout"><span class="keyword">const</span> <a class="link" href="ctti_type_index.html#boost.typeindex.ctti_type_index.type_info_t">type_info_t</a> <span class="special">&</span> <a name="idm46563168267392-bb"></a><span class="identifier">type_info</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">;</span></pre></li> -<li class="listitem"><pre class="literallayout"><span class="keyword">constexpr</span> <span class="keyword">const</span> <span class="keyword">char</span> <span class="special">*</span> <a name="idm46563168265824-bb"></a><span class="identifier">raw_name</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">;</span></pre></li> -<li class="listitem"><pre class="literallayout"><span class="keyword">constexpr</span> <span class="keyword">const</span> <span class="keyword">char</span> <span class="special">*</span> <a name="idm46563168264704-bb"></a><span class="identifier">name</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">;</span></pre></li> -<li class="listitem"><pre class="literallayout"><span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <a name="idm46563168263584-bb"></a><span class="identifier">pretty_name</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li> -<li class="listitem"><pre class="literallayout"><span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span> <a name="idm46563168262464-bb"></a><span class="identifier">hash_code</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">;</span></pre></li> -<li class="listitem"><pre class="literallayout"><span class="keyword">constexpr</span> <span class="keyword">bool</span> <a name="idm46563168261344-bb"></a><span class="identifier">equal</span><span class="special">(</span><span class="keyword">const</span> <a class="link" href="ctti_type_index.html" title="Class ctti_type_index">ctti_type_index</a> <span class="special">&</span> rhs<span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">;</span></pre></li> -<li class="listitem"><pre class="literallayout"><span class="keyword">constexpr</span> <span class="keyword">bool</span> <a name="idm46563168259088-bb"></a><span class="identifier">before</span><span class="special">(</span><span class="keyword">const</span> <a class="link" href="ctti_type_index.html" title="Class ctti_type_index">ctti_type_index</a> <span class="special">&</span> rhs<span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">;</span></pre></li> +<li class="listitem"><pre class="literallayout"><span class="keyword">const</span> <a class="link" href="ctti_type_index.html#boost.typeindex.ctti_type_index.type_info_t">type_info_t</a> <span class="special">&</span> <a name="idp987069088-bb"></a><span class="identifier">type_info</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">;</span></pre></li> +<li class="listitem"><pre class="literallayout"><span class="keyword">constexpr</span> <span class="keyword">const</span> <span class="keyword">char</span> <span class="special">*</span> <a name="idp987070656-bb"></a><span class="identifier">raw_name</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">;</span></pre></li> +<li class="listitem"><pre class="literallayout"><span class="keyword">constexpr</span> <span class="keyword">const</span> <span class="keyword">char</span> <span class="special">*</span> <a name="idp987071776-bb"></a><span class="identifier">name</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">;</span></pre></li> +<li class="listitem"><pre class="literallayout"><span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <a name="idp987072896-bb"></a><span class="identifier">pretty_name</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li> +<li class="listitem"><pre class="literallayout"><span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span> <a name="idp987074016-bb"></a><span class="identifier">hash_code</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">;</span></pre></li> +<li class="listitem"><pre class="literallayout"><span class="keyword">constexpr</span> <span class="keyword">bool</span> <a name="idp987075136-bb"></a><span class="identifier">equal</span><span class="special">(</span><span class="keyword">const</span> <a class="link" href="ctti_type_index.html" title="Class ctti_type_index">ctti_type_index</a> <span class="special">&</span> rhs<span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">;</span></pre></li> +<li class="listitem"><pre class="literallayout"><span class="keyword">constexpr</span> <span class="keyword">bool</span> <a name="idp987077392-bb"></a><span class="identifier">before</span><span class="special">(</span><span class="keyword">const</span> <a class="link" href="ctti_type_index.html" title="Class ctti_type_index">ctti_type_index</a> <span class="special">&</span> rhs<span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">;</span></pre></li> </ol></div> </div> <div class="refsect2"> -<a name="idm45927735905904"></a><h3> -<a name="idm46563168254416-bb"></a><code class="computeroutput">ctti_type_index</code> public static functions</h3> +<a name="idp658504960"></a><h3> +<a name="idp987082064-bb"></a><code class="computeroutput">ctti_type_index</code> public static 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> T<span class="special">></span> <span class="keyword">static</span> <span class="keyword">constexpr</span> <a class="link" href="ctti_type_index.html" title="Class ctti_type_index">ctti_type_index</a> <a name="idm46563168253856-bb"></a><span class="identifier">type_id</span><span class="special">(</span><span class="special">)</span> <span class="keyword">noexcept</span><span class="special">;</span></pre></li> +<li class="listitem"><pre class="literallayout"><span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> T<span class="special">></span> <span class="keyword">static</span> <span class="keyword">constexpr</span> <a class="link" href="ctti_type_index.html" title="Class ctti_type_index">ctti_type_index</a> <a name="idp987082624-bb"></a><span class="identifier">type_id</span><span class="special">(</span><span class="special">)</span> <span class="keyword">noexcept</span><span class="special">;</span></pre></li> <li class="listitem"><pre class="literallayout"><span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> T<span class="special">></span> - <span class="keyword">static</span> <span class="keyword">constexpr</span> <a class="link" href="ctti_type_index.html" title="Class ctti_type_index">ctti_type_index</a> <a name="idm46563168251328-bb"></a><span class="identifier">type_id_with_cvr</span><span class="special">(</span><span class="special">)</span> <span class="keyword">noexcept</span><span class="special">;</span></pre></li> + <span class="keyword">static</span> <span class="keyword">constexpr</span> <a class="link" href="ctti_type_index.html" title="Class ctti_type_index">ctti_type_index</a> <a name="idp987085152-bb"></a><span class="identifier">type_id_with_cvr</span><span class="special">(</span><span class="special">)</span> <span class="keyword">noexcept</span><span class="special">;</span></pre></li> <li class="listitem"><pre class="literallayout"><span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> T<span class="special">></span> - <span class="keyword">static</span> <a class="link" href="ctti_type_index.html" title="Class ctti_type_index">ctti_type_index</a> <a name="idm46563168248800-bb"></a><span class="identifier">type_id_runtime</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">T</span> <span class="special">&</span> variable<span class="special">)</span> <span class="keyword">noexcept</span><span class="special">;</span></pre></li> + <span class="keyword">static</span> <a class="link" href="ctti_type_index.html" title="Class ctti_type_index">ctti_type_index</a> <a name="idp987087680-bb"></a><span class="identifier">type_id_runtime</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">T</span> <span class="special">&</span> variable<span class="special">)</span> <span class="keyword">noexcept</span><span class="special">;</span></pre></li> </ol></div> </div> </div> @@ -128,7 +128,7 @@ </tr></table> <hr> <div class="spirit-nav"> -<a accesskey="p" href="../../BOOST_TYPE_INDEX_FORCE_NO_RTTI_COMPATIBILITY.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../boost_typeindex_header_reference.html#header.boost.type_index.ctti_type_index_hpp"><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="stl_type_index.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a> +<a accesskey="p" href="../../BOOST_TYPE_INDEX_FORCE_NO_RTTI_COMPATIBILITY.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../boost_typeindex_header_reference.html#header.boost.type_index.ctti_type_index_hpp"><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="runtime_point_idp987098064.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a> </div> </body> </html> diff --git a/doc/html/boost/typeindex/hash_val_idm46563168123488.html b/doc/html/boost/typeindex/hash_value_idp987277696.html index a24897ce48..f8a31c181c 100644 --- a/doc/html/boost/typeindex/hash_val_idm46563168123488.html +++ b/doc/html/boost/typeindex/hash_value_idp987277696.html @@ -24,7 +24,7 @@ <a accesskey="p" href="type_index_facade.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../boost_typeindex_header_reference.html#header.boost.type_index.type_index_facade_hpp"><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_typeindex/making_a_custom_type_index.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a> </div> <div class="refentry"> -<a name="boost.typeindex.hash_val_idm46563168123488"></a><div class="titlepage"></div> +<a name="boost.typeindex.hash_value_idp987277696"></a><div class="titlepage"></div> <div class="refnamediv"> <h2><span class="refentrytitle">Function template hash_value</span></h2> <p>boost::typeindex::hash_value</p> @@ -36,7 +36,7 @@ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> Derived<span class="special">,</span> <span class="keyword">typename</span> TypeInfo<span class="special">></span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span> <span class="identifier">hash_value</span><span class="special">(</span><span class="keyword">const</span> <a class="link" href="type_index_facade.html" title="Class template type_index_facade">type_index_facade</a><span class="special"><</span> <span class="identifier">Derived</span><span class="special">,</span> <span class="identifier">TypeInfo</span> <span class="special">></span> <span class="special">&</span> lhs<span class="special">)</span><span class="special">;</span></pre></div> <div class="refsect1"> -<a name="idm45927735275136"></a><h2>Description</h2> +<a name="idp659527984"></a><h2>Description</h2> <p>This free function is used by Boost's unordered containers. </p> <div class="note"><table border="0" summary="Note"> <tr> diff --git a/doc/html/boost/typeindex/runtime_cast_idp987105680.html b/doc/html/boost/typeindex/runtime_cast_idp987105680.html new file mode 100644 index 0000000000..86af9e39ca --- /dev/null +++ b/doc/html/boost/typeindex/runtime_cast_idp987105680.html @@ -0,0 +1,88 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> +<title>Function template runtime_cast</title> +<link rel="stylesheet" href="../../../../doc/src/boostbook.css" type="text/css"> +<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> +<link rel="home" href="../../index.html" title="The Boost C++ Libraries BoostBook Documentation Subset"> +<link rel="up" href="../../boost_typeindex_header_reference.html#header.boost.type_index.runtime_cast.pointer_cast_hpp" title="Header <boost/type_index/runtime_cast/pointer_cast.hpp>"> +<link rel="prev" href="runtime_point_idp987098064.html" title="Function template runtime_pointer_cast"> +<link rel="next" href="runtime_cast_idp987110896.html" title="Function template runtime_cast"> +</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="runtime_point_idp987098064.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../boost_typeindex_header_reference.html#header.boost.type_index.runtime_cast.pointer_cast_hpp"><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="runtime_cast_idp987110896.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a> +</div> +<div class="refentry"> +<a name="boost.typeindex.runtime_cast_idp987105680"></a><div class="titlepage"></div> +<div class="refnamediv"> +<h2><span class="refentrytitle">Function template runtime_cast</span></h2> +<p>boost::typeindex::runtime_cast — Safely converts pointers to classes up, down, and sideways along the inheritance hierarchy. </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="../../boost_typeindex_header_reference.html#header.boost.type_index.runtime_cast.pointer_cast_hpp" title="Header <boost/type_index/runtime_cast/pointer_cast.hpp>">boost/type_index/runtime_cast/pointer_cast.hpp</a>> + +</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> U<span class="special">></span> <span class="identifier">T</span> <span class="identifier">runtime_cast</span><span class="special">(</span><span class="identifier">U</span> <span class="special">*</span> u<span class="special">)</span><span class="special">;</span></pre></div> +<div class="refsect1"> +<a name="idp658645680"></a><h2>Description</h2> +<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">Template 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">T</code></span></p></td> +<td><p>The desired target type. Like dynamic_cast, must be a pointer to complete class type. </p></td> +</tr> +<tr> +<td><p><span class="term"><code class="computeroutput">U</code></span></p></td> +<td><p>A complete class type of the source instance, u. </p></td> +</tr> +</tbody> +</table></div></td> +</tr> +<tr> +<td><p><span class="term">Returns:</span></p></td> +<td><p>If there exists a valid conversion from U* to T, returns a T that points to an address suitably offset from u. If no such conversion exists, returns NULL. </p></td> +</tr> +</tbody> +</table></div> +</div> +</div> +<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> +<td align="left"></td> +<td align="right"><div class="copyright-footer">Copyright © 2012-2016 Antony Polukhin<p> + Distributed under the Boost Software License, Version 1.0. (See accompanying + file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) + </p> +</div></td> +</tr></table> +<hr> +<div class="spirit-nav"> +<a accesskey="p" href="runtime_point_idp987098064.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../boost_typeindex_header_reference.html#header.boost.type_index.runtime_cast.pointer_cast_hpp"><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="runtime_cast_idp987110896.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a> +</div> +</body> +</html> diff --git a/doc/html/boost/typeindex/runtime_cast_idp987110896.html b/doc/html/boost/typeindex/runtime_cast_idp987110896.html new file mode 100644 index 0000000000..6aa510ac65 --- /dev/null +++ b/doc/html/boost/typeindex/runtime_cast_idp987110896.html @@ -0,0 +1,88 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> +<title>Function template runtime_cast</title> +<link rel="stylesheet" href="../../../../doc/src/boostbook.css" type="text/css"> +<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> +<link rel="home" href="../../index.html" title="The Boost C++ Libraries BoostBook Documentation Subset"> +<link rel="up" href="../../boost_typeindex_header_reference.html#header.boost.type_index.runtime_cast.pointer_cast_hpp" title="Header <boost/type_index/runtime_cast/pointer_cast.hpp>"> +<link rel="prev" href="runtime_cast_idp987105680.html" title="Function template runtime_cast"> +<link rel="next" href="runtime_point_idp987116112.html" title="Function template runtime_pointer_cast"> +</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="runtime_cast_idp987105680.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../boost_typeindex_header_reference.html#header.boost.type_index.runtime_cast.pointer_cast_hpp"><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="runtime_point_idp987116112.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a> +</div> +<div class="refentry"> +<a name="boost.typeindex.runtime_cast_idp987110896"></a><div class="titlepage"></div> +<div class="refnamediv"> +<h2><span class="refentrytitle">Function template runtime_cast</span></h2> +<p>boost::typeindex::runtime_cast — Safely converts pointers to classes up, down, and sideways along the inheritance hierarchy. </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="../../boost_typeindex_header_reference.html#header.boost.type_index.runtime_cast.pointer_cast_hpp" title="Header <boost/type_index/runtime_cast/pointer_cast.hpp>">boost/type_index/runtime_cast/pointer_cast.hpp</a>> + +</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> U<span class="special">></span> <span class="identifier">T</span> <span class="identifier">runtime_cast</span><span class="special">(</span><span class="identifier">U</span> <span class="keyword">const</span> <span class="special">*</span> u<span class="special">)</span><span class="special">;</span></pre></div> +<div class="refsect1"> +<a name="idp658664448"></a><h2>Description</h2> +<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">Template 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">T</code></span></p></td> +<td><p>The desired target type. Like dynamic_cast, must be a pointer to complete class type. </p></td> +</tr> +<tr> +<td><p><span class="term"><code class="computeroutput">U</code></span></p></td> +<td><p>A complete class type of the source instance, u. </p></td> +</tr> +</tbody> +</table></div></td> +</tr> +<tr> +<td><p><span class="term">Returns:</span></p></td> +<td><p>If there exists a valid conversion from U* to T, returns a T that points to an address suitably offset from u. If no such conversion exists, returns NULL. </p></td> +</tr> +</tbody> +</table></div> +</div> +</div> +<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> +<td align="left"></td> +<td align="right"><div class="copyright-footer">Copyright © 2012-2016 Antony Polukhin<p> + Distributed under the Boost Software License, Version 1.0. (See accompanying + file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) + </p> +</div></td> +</tr></table> +<hr> +<div class="spirit-nav"> +<a accesskey="p" href="runtime_cast_idp987105680.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../boost_typeindex_header_reference.html#header.boost.type_index.runtime_cast.pointer_cast_hpp"><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="runtime_point_idp987116112.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a> +</div> +</body> +</html> diff --git a/doc/html/boost/typeindex/runtime_cast_idp987130576.html b/doc/html/boost/typeindex/runtime_cast_idp987130576.html new file mode 100644 index 0000000000..ecda0a725f --- /dev/null +++ b/doc/html/boost/typeindex/runtime_cast_idp987130576.html @@ -0,0 +1,89 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> +<title>Function template runtime_cast</title> +<link rel="stylesheet" href="../../../../doc/src/boostbook.css" type="text/css"> +<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> +<link rel="home" href="../../index.html" title="The Boost C++ Libraries BoostBook Documentation Subset"> +<link rel="up" href="../../boost_typeindex_header_reference.html#header.boost.type_index.runtime_cast.reference_cast_hpp" title="Header <boost/type_index/runtime_cast/reference_cast.hpp>"> +<link rel="prev" href="bad_runtime_cast.html" title="Struct bad_runtime_cast"> +<link rel="next" href="runtime_cast_idp987136544.html" title="Function template runtime_cast"> +</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="bad_runtime_cast.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../boost_typeindex_header_reference.html#header.boost.type_index.runtime_cast.reference_cast_hpp"><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="runtime_cast_idp987136544.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a> +</div> +<div class="refentry"> +<a name="boost.typeindex.runtime_cast_idp987130576"></a><div class="titlepage"></div> +<div class="refnamediv"> +<h2><span class="refentrytitle">Function template runtime_cast</span></h2> +<p>boost::typeindex::runtime_cast — Safely converts references to classes up, down, and sideways along the inheritance hierarchy. </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="../../boost_typeindex_header_reference.html#header.boost.type_index.runtime_cast.reference_cast_hpp" title="Header <boost/type_index/runtime_cast/reference_cast.hpp>">boost/type_index/runtime_cast/reference_cast.hpp</a>> + +</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> U<span class="special">></span> + <span class="identifier">boost</span><span class="special">::</span><span class="identifier">add_reference</span><span class="special"><</span> <span class="identifier">T</span> <span class="special">></span><span class="special">::</span><span class="identifier">type</span> <span class="identifier">runtime_cast</span><span class="special">(</span><span class="identifier">U</span> <span class="special">&</span> u<span class="special">)</span><span class="special">;</span></pre></div> +<div class="refsect1"> +<a name="idp658772496"></a><h2>Description</h2> +<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">Template 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">T</code></span></p></td> +<td><p>The desired target type. Like dynamic_cast, must be a pointer to complete class type. </p></td> +</tr> +<tr> +<td><p><span class="term"><code class="computeroutput">U</code></span></p></td> +<td><p>A complete class type of the source instance, u. </p></td> +</tr> +</tbody> +</table></div></td> +</tr> +<tr> +<td><p><span class="term">Returns:</span></p></td> +<td><p>If there exists a valid conversion from U& to T, returns a T that references an address suitably offset from u. If no such conversion exists, throws <a class="link" href="bad_runtime_cast.html" title="Struct bad_runtime_cast">boost::typeindex::bad_runtime_cast</a>. </p></td> +</tr> +</tbody> +</table></div> +</div> +</div> +<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> +<td align="left"></td> +<td align="right"><div class="copyright-footer">Copyright © 2012-2016 Antony Polukhin<p> + Distributed under the Boost Software License, Version 1.0. (See accompanying + file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) + </p> +</div></td> +</tr></table> +<hr> +<div class="spirit-nav"> +<a accesskey="p" href="bad_runtime_cast.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../boost_typeindex_header_reference.html#header.boost.type_index.runtime_cast.reference_cast_hpp"><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="runtime_cast_idp987136544.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a> +</div> +</body> +</html> diff --git a/doc/html/boost/typeindex/runtime_cast_idp987136544.html b/doc/html/boost/typeindex/runtime_cast_idp987136544.html new file mode 100644 index 0000000000..eeb5f17381 --- /dev/null +++ b/doc/html/boost/typeindex/runtime_cast_idp987136544.html @@ -0,0 +1,89 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> +<title>Function template runtime_cast</title> +<link rel="stylesheet" href="../../../../doc/src/boostbook.css" type="text/css"> +<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> +<link rel="home" href="../../index.html" title="The Boost C++ Libraries BoostBook Documentation Subset"> +<link rel="up" href="../../boost_typeindex_header_reference.html#header.boost.type_index.runtime_cast.reference_cast_hpp" title="Header <boost/type_index/runtime_cast/reference_cast.hpp>"> +<link rel="prev" href="runtime_cast_idp987130576.html" title="Function template runtime_cast"> +<link rel="next" href="../../BOOST_TYPE_INDEX_REGISTER_RUNTIME_CLASS.html" title="Macro BOOST_TYPE_INDEX_REGISTER_RUNTIME_CLASS"> +</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="runtime_cast_idp987130576.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../boost_typeindex_header_reference.html#header.boost.type_index.runtime_cast.reference_cast_hpp"><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_TYPE_INDEX_REGISTER_RUNTIME_CLASS.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a> +</div> +<div class="refentry"> +<a name="boost.typeindex.runtime_cast_idp987136544"></a><div class="titlepage"></div> +<div class="refnamediv"> +<h2><span class="refentrytitle">Function template runtime_cast</span></h2> +<p>boost::typeindex::runtime_cast — Safely converts references to classes up, down, and sideways along the inheritance hierarchy. </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="../../boost_typeindex_header_reference.html#header.boost.type_index.runtime_cast.reference_cast_hpp" title="Header <boost/type_index/runtime_cast/reference_cast.hpp>">boost/type_index/runtime_cast/reference_cast.hpp</a>> + +</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> U<span class="special">></span> + <span class="identifier">boost</span><span class="special">::</span><span class="identifier">add_reference</span><span class="special"><</span> <span class="keyword">const</span> <span class="identifier">T</span> <span class="special">></span><span class="special">::</span><span class="identifier">type</span> <span class="identifier">runtime_cast</span><span class="special">(</span><span class="identifier">U</span> <span class="keyword">const</span> <span class="special">&</span> u<span class="special">)</span><span class="special">;</span></pre></div> +<div class="refsect1"> +<a name="idp658797168"></a><h2>Description</h2> +<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">Template 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">T</code></span></p></td> +<td><p>The desired target type. Like dynamic_cast, must be a pointer to complete class type. </p></td> +</tr> +<tr> +<td><p><span class="term"><code class="computeroutput">U</code></span></p></td> +<td><p>A complete class type of the source instance, u. </p></td> +</tr> +</tbody> +</table></div></td> +</tr> +<tr> +<td><p><span class="term">Returns:</span></p></td> +<td><p>If there exists a valid conversion from U const& to T const, returns a T const that references an address suitably offset from u. If no such conversion exists, throws <a class="link" href="bad_runtime_cast.html" title="Struct bad_runtime_cast">boost::typeindex::bad_runtime_cast</a>. </p></td> +</tr> +</tbody> +</table></div> +</div> +</div> +<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> +<td align="left"></td> +<td align="right"><div class="copyright-footer">Copyright © 2012-2016 Antony Polukhin<p> + Distributed under the Boost Software License, Version 1.0. (See accompanying + file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) + </p> +</div></td> +</tr></table> +<hr> +<div class="spirit-nav"> +<a accesskey="p" href="runtime_cast_idp987130576.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../boost_typeindex_header_reference.html#header.boost.type_index.runtime_cast.reference_cast_hpp"><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_TYPE_INDEX_REGISTER_RUNTIME_CLASS.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a> +</div> +</body> +</html> diff --git a/doc/html/boost/typeindex/runtime_point_idp987098064.html b/doc/html/boost/typeindex/runtime_point_idp987098064.html new file mode 100644 index 0000000000..f4ce1973e4 --- /dev/null +++ b/doc/html/boost/typeindex/runtime_point_idp987098064.html @@ -0,0 +1,90 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> +<title>Function template runtime_pointer_cast</title> +<link rel="stylesheet" href="../../../../doc/src/boostbook.css" type="text/css"> +<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> +<link rel="home" href="../../index.html" title="The Boost C++ Libraries BoostBook Documentation Subset"> +<link rel="up" href="../../boost_typeindex_header_reference.html#header.boost.type_index.runtime_cast.boost_shared_ptr_cast_hpp" title="Header <boost/type_index/runtime_cast/boost_shared_ptr_cast.hpp>"> +<link rel="prev" href="ctti_type_index.html" title="Class ctti_type_index"> +<link rel="next" href="runtime_cast_idp987105680.html" title="Function template runtime_cast"> +</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="ctti_type_index.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../boost_typeindex_header_reference.html#header.boost.type_index.runtime_cast.boost_shared_ptr_cast_hpp"><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="runtime_cast_idp987105680.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a> +</div> +<div class="refentry"> +<a name="boost.typeindex.runtime_point_idp987098064"></a><div class="titlepage"></div> +<div class="refnamediv"> +<h2><span class="refentrytitle">Function template runtime_pointer_cast</span></h2> +<p>boost::typeindex::runtime_pointer_cast — Creates a new instance of std::shared_ptr whose stored pointer is obtained from u's stored pointer using a runtime_cast. </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="../../boost_typeindex_header_reference.html#header.boost.type_index.runtime_cast.boost_shared_ptr_cast_hpp" title="Header <boost/type_index/runtime_cast/boost_shared_ptr_cast.hpp>">boost/type_index/runtime_cast/boost_shared_ptr_cast.hpp</a>> + +</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> U<span class="special">></span> + <span class="identifier">boost</span><span class="special">::</span><span class="identifier">shared_ptr</span><span class="special"><</span> <span class="identifier">T</span> <span class="special">></span> + <span class="identifier">runtime_pointer_cast</span><span class="special">(</span><span class="identifier">boost</span><span class="special">::</span><span class="identifier">shared_ptr</span><span class="special"><</span> <span class="identifier">U</span> <span class="special">></span> <span class="keyword">const</span> <span class="special">&</span> u<span class="special">)</span><span class="special">;</span></pre></div> +<div class="refsect1"> +<a name="idp658581184"></a><h2>Description</h2> +<p>The new shared_ptr will share ownership with u, except that it is empty if the runtime_cast performed by runtime_pointer_cast returns a null pointer. + +</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">Template 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">T</code></span></p></td> +<td><p>The desired target type to return a pointer of. </p></td> +</tr> +<tr> +<td><p><span class="term"><code class="computeroutput">U</code></span></p></td> +<td><p>A complete class type of the source instance pointed to from u. </p></td> +</tr> +</tbody> +</table></div></td> +</tr> +<tr> +<td><p><span class="term">Returns:</span></p></td> +<td><p>If there exists a valid conversion from U* to T*, returns a boost::shared_ptr<T> that points to an address suitably offset from u. If no such conversion exists, returns boost::shared_ptr<T>(); </p></td> +</tr> +</tbody> +</table></div> +</div> +</div> +<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> +<td align="left"></td> +<td align="right"><div class="copyright-footer">Copyright © 2012-2016 Antony Polukhin<p> + Distributed under the Boost Software License, Version 1.0. (See accompanying + file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) + </p> +</div></td> +</tr></table> +<hr> +<div class="spirit-nav"> +<a accesskey="p" href="ctti_type_index.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../boost_typeindex_header_reference.html#header.boost.type_index.runtime_cast.boost_shared_ptr_cast_hpp"><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="runtime_cast_idp987105680.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a> +</div> +</body> +</html> diff --git a/doc/html/boost/typeindex/runtime_point_idp987116112.html b/doc/html/boost/typeindex/runtime_point_idp987116112.html new file mode 100644 index 0000000000..f916bb0354 --- /dev/null +++ b/doc/html/boost/typeindex/runtime_point_idp987116112.html @@ -0,0 +1,88 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> +<title>Function template runtime_pointer_cast</title> +<link rel="stylesheet" href="../../../../doc/src/boostbook.css" type="text/css"> +<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> +<link rel="home" href="../../index.html" title="The Boost C++ Libraries BoostBook Documentation Subset"> +<link rel="up" href="../../boost_typeindex_header_reference.html#header.boost.type_index.runtime_cast.pointer_cast_hpp" title="Header <boost/type_index/runtime_cast/pointer_cast.hpp>"> +<link rel="prev" href="runtime_cast_idp987110896.html" title="Function template runtime_cast"> +<link rel="next" href="runtime_point_idp987121296.html" title="Function template runtime_pointer_cast"> +</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="runtime_cast_idp987110896.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../boost_typeindex_header_reference.html#header.boost.type_index.runtime_cast.pointer_cast_hpp"><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="runtime_point_idp987121296.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a> +</div> +<div class="refentry"> +<a name="boost.typeindex.runtime_point_idp987116112"></a><div class="titlepage"></div> +<div class="refnamediv"> +<h2><span class="refentrytitle">Function template runtime_pointer_cast</span></h2> +<p>boost::typeindex::runtime_pointer_cast — Safely converts pointers to classes up, down, and sideways along the inheritance hierarchy. </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="../../boost_typeindex_header_reference.html#header.boost.type_index.runtime_cast.pointer_cast_hpp" title="Header <boost/type_index/runtime_cast/pointer_cast.hpp>">boost/type_index/runtime_cast/pointer_cast.hpp</a>> + +</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> U<span class="special">></span> <span class="identifier">T</span> <span class="special">*</span> <span class="identifier">runtime_pointer_cast</span><span class="special">(</span><span class="identifier">U</span> <span class="special">*</span> u<span class="special">)</span><span class="special">;</span></pre></div> +<div class="refsect1"> +<a name="idp658683184"></a><h2>Description</h2> +<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">Template 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">T</code></span></p></td> +<td><p>The desired target type to return a pointer to. </p></td> +</tr> +<tr> +<td><p><span class="term"><code class="computeroutput">U</code></span></p></td> +<td><p>A complete class type of the source instance, u. </p></td> +</tr> +</tbody> +</table></div></td> +</tr> +<tr> +<td><p><span class="term">Returns:</span></p></td> +<td><p>If there exists a valid conversion from U const* to T*, returns a T* that points to an address suitably offset from u. If no such conversion exists, returns NULL. </p></td> +</tr> +</tbody> +</table></div> +</div> +</div> +<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> +<td align="left"></td> +<td align="right"><div class="copyright-footer">Copyright © 2012-2016 Antony Polukhin<p> + Distributed under the Boost Software License, Version 1.0. (See accompanying + file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) + </p> +</div></td> +</tr></table> +<hr> +<div class="spirit-nav"> +<a accesskey="p" href="runtime_cast_idp987110896.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../boost_typeindex_header_reference.html#header.boost.type_index.runtime_cast.pointer_cast_hpp"><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="runtime_point_idp987121296.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a> +</div> +</body> +</html> diff --git a/doc/html/boost/typeindex/runtime_point_idp987121296.html b/doc/html/boost/typeindex/runtime_point_idp987121296.html new file mode 100644 index 0000000000..ce78cc83ea --- /dev/null +++ b/doc/html/boost/typeindex/runtime_point_idp987121296.html @@ -0,0 +1,88 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> +<title>Function template runtime_pointer_cast</title> +<link rel="stylesheet" href="../../../../doc/src/boostbook.css" type="text/css"> +<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> +<link rel="home" href="../../index.html" title="The Boost C++ Libraries BoostBook Documentation Subset"> +<link rel="up" href="../../boost_typeindex_header_reference.html#header.boost.type_index.runtime_cast.pointer_cast_hpp" title="Header <boost/type_index/runtime_cast/pointer_cast.hpp>"> +<link rel="prev" href="runtime_point_idp987116112.html" title="Function template runtime_pointer_cast"> +<link rel="next" href="bad_runtime_cast.html" title="Struct bad_runtime_cast"> +</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="runtime_point_idp987116112.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../boost_typeindex_header_reference.html#header.boost.type_index.runtime_cast.pointer_cast_hpp"><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="bad_runtime_cast.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a> +</div> +<div class="refentry"> +<a name="boost.typeindex.runtime_point_idp987121296"></a><div class="titlepage"></div> +<div class="refnamediv"> +<h2><span class="refentrytitle">Function template runtime_pointer_cast</span></h2> +<p>boost::typeindex::runtime_pointer_cast — Safely converts pointers to classes up, down, and sideways along the inheritance hierarchy. </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="../../boost_typeindex_header_reference.html#header.boost.type_index.runtime_cast.pointer_cast_hpp" title="Header <boost/type_index/runtime_cast/pointer_cast.hpp>">boost/type_index/runtime_cast/pointer_cast.hpp</a>> + +</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> U<span class="special">></span> <span class="identifier">T</span> <span class="keyword">const</span> <span class="special">*</span> <span class="identifier">runtime_pointer_cast</span><span class="special">(</span><span class="identifier">U</span> <span class="keyword">const</span> <span class="special">*</span> u<span class="special">)</span><span class="special">;</span></pre></div> +<div class="refsect1"> +<a name="idp658703264"></a><h2>Description</h2> +<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">Template 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">T</code></span></p></td> +<td><p>The desired target type to return a pointer to. </p></td> +</tr> +<tr> +<td><p><span class="term"><code class="computeroutput">U</code></span></p></td> +<td><p>A complete class type of the source instance, u. </p></td> +</tr> +</tbody> +</table></div></td> +</tr> +<tr> +<td><p><span class="term">Returns:</span></p></td> +<td><p>If there exists a valid conversion from U const* to T const*, returns a T const* that points to an address suitably offset from u. If no such conversion exists, returns NULL. </p></td> +</tr> +</tbody> +</table></div> +</div> +</div> +<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> +<td align="left"></td> +<td align="right"><div class="copyright-footer">Copyright © 2012-2016 Antony Polukhin<p> + Distributed under the Boost Software License, Version 1.0. (See accompanying + file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) + </p> +</div></td> +</tr></table> +<hr> +<div class="spirit-nav"> +<a accesskey="p" href="runtime_point_idp987116112.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../boost_typeindex_header_reference.html#header.boost.type_index.runtime_cast.pointer_cast_hpp"><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="bad_runtime_cast.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a> +</div> +</body> +</html> diff --git a/doc/html/boost/typeindex/runtime_point_idp987153216.html b/doc/html/boost/typeindex/runtime_point_idp987153216.html new file mode 100644 index 0000000000..0bfc6f86f1 --- /dev/null +++ b/doc/html/boost/typeindex/runtime_point_idp987153216.html @@ -0,0 +1,89 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> +<title>Function template runtime_pointer_cast</title> +<link rel="stylesheet" href="../../../../doc/src/boostbook.css" type="text/css"> +<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> +<link rel="home" href="../../index.html" title="The Boost C++ Libraries BoostBook Documentation Subset"> +<link rel="up" href="../../boost_typeindex_header_reference.html#header.boost.type_index.runtime_cast.std_shared_ptr_cast_hpp" title="Header <boost/type_index/runtime_cast/std_shared_ptr_cast.hpp>"> +<link rel="prev" href="../../BOOST_TYPE_INDEX_NO_BASE_CLASS.html" title="Macro BOOST_TYPE_INDEX_NO_BASE_CLASS"> +<link rel="next" href="stl_type_index.html" title="Class stl_type_index"> +</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="../../BOOST_TYPE_INDEX_NO_BASE_CLASS.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../boost_typeindex_header_reference.html#header.boost.type_index.runtime_cast.std_shared_ptr_cast_hpp"><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="stl_type_index.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a> +</div> +<div class="refentry"> +<a name="boost.typeindex.runtime_point_idp987153216"></a><div class="titlepage"></div> +<div class="refnamediv"> +<h2><span class="refentrytitle">Function template runtime_pointer_cast</span></h2> +<p>boost::typeindex::runtime_pointer_cast — Creates a new instance of std::shared_ptr whose stored pointer is obtained from u's stored pointer using a runtime_cast. </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="../../boost_typeindex_header_reference.html#header.boost.type_index.runtime_cast.std_shared_ptr_cast_hpp" title="Header <boost/type_index/runtime_cast/std_shared_ptr_cast.hpp>">boost/type_index/runtime_cast/std_shared_ptr_cast.hpp</a>> + +</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> U<span class="special">></span> + <span class="identifier">std</span><span class="special">::</span><span class="identifier">shared_ptr</span><span class="special"><</span> <span class="identifier">T</span> <span class="special">></span> <span class="identifier">runtime_pointer_cast</span><span class="special">(</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">shared_ptr</span><span class="special"><</span> <span class="identifier">U</span> <span class="special">></span> <span class="keyword">const</span> <span class="special">&</span> u<span class="special">)</span><span class="special">;</span></pre></div> +<div class="refsect1"> +<a name="idp658920880"></a><h2>Description</h2> +<p>The new shared_ptr will share ownership with u, except that it is empty if the runtime_cast performed by runtime_pointer_cast returns a null pointer. + +</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">Template 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">T</code></span></p></td> +<td><p>The desired target type to return a pointer of. </p></td> +</tr> +<tr> +<td><p><span class="term"><code class="computeroutput">U</code></span></p></td> +<td><p>A complete class type of the source instance pointed to from u. </p></td> +</tr> +</tbody> +</table></div></td> +</tr> +<tr> +<td><p><span class="term">Returns:</span></p></td> +<td><p>If there exists a valid conversion from U* to T*, returns a std::shared_ptr<T> that points to an address suitably offset from u. If no such conversion exists, returns std::shared_ptr<T>(); </p></td> +</tr> +</tbody> +</table></div> +</div> +</div> +<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> +<td align="left"></td> +<td align="right"><div class="copyright-footer">Copyright © 2012-2016 Antony Polukhin<p> + Distributed under the Boost Software License, Version 1.0. (See accompanying + file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) + </p> +</div></td> +</tr></table> +<hr> +<div class="spirit-nav"> +<a accesskey="p" href="../../BOOST_TYPE_INDEX_NO_BASE_CLASS.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../boost_typeindex_header_reference.html#header.boost.type_index.runtime_cast.std_shared_ptr_cast_hpp"><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="stl_type_index.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a> +</div> +</body> +</html> diff --git a/doc/html/boost/typeindex/stl_type_index.html b/doc/html/boost/typeindex/stl_type_index.html index 0854b8b9a6..d66bbee860 100644 --- a/doc/html/boost/typeindex/stl_type_index.html +++ b/doc/html/boost/typeindex/stl_type_index.html @@ -7,7 +7,7 @@ <meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="../../index.html" title="The Boost C++ Libraries BoostBook Documentation Subset"> <link rel="up" href="../../boost_typeindex_header_reference.html#header.boost.type_index.stl_type_index_hpp" title="Header <boost/type_index/stl_type_index.hpp>"> -<link rel="prev" href="ctti_type_index.html" title="Class ctti_type_index"> +<link rel="prev" href="runtime_point_idp987153216.html" title="Function template runtime_pointer_cast"> <link rel="next" href="type_index_facade.html" title="Class template type_index_facade"> </head> <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> @@ -21,7 +21,7 @@ </tr></table> <hr> <div class="spirit-nav"> -<a accesskey="p" href="ctti_type_index.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../boost_typeindex_header_reference.html#header.boost.type_index.stl_type_index_hpp"><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="type_index_facade.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a> +<a accesskey="p" href="runtime_point_idp987153216.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../boost_typeindex_header_reference.html#header.boost.type_index.stl_type_index_hpp"><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="type_index_facade.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a> </div> <div class="refentry"> <a name="boost.typeindex.stl_type_index"></a><div class="titlepage"></div> @@ -40,59 +40,59 @@ <span class="keyword">typedef</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">type_info</span> <a name="boost.typeindex.stl_type_index.type_info_t"></a><span class="identifier">type_info_t</span><span class="special">;</span> <span class="comment">// <a class="link" href="stl_type_index.html#boost.typeindex.stl_type_indexconstruct-copy-destruct">construct/copy/destruct</a></span> - <a class="link" href="stl_type_index.html#idm46563168218528-bb"><span class="identifier">stl_type_index</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">noexcept</span><span class="special">;</span> - <a class="link" href="stl_type_index.html#idm46563168217968-bb"><span class="identifier">stl_type_index</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">type_info_t</span> <span class="special">&</span><span class="special">)</span> <span class="keyword">noexcept</span><span class="special">;</span> + <a class="link" href="stl_type_index.html#idp987182656-bb"><span class="identifier">stl_type_index</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">noexcept</span><span class="special">;</span> + <a class="link" href="stl_type_index.html#idp987183216-bb"><span class="identifier">stl_type_index</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">type_info_t</span> <span class="special">&</span><span class="special">)</span> <span class="keyword">noexcept</span><span class="special">;</span> - <span class="comment">// <a class="link" href="stl_type_index.html#idm46563168229360-bb">public member functions</a></span> - <span class="keyword">const</span> <span class="identifier">type_info_t</span> <span class="special">&</span> <a class="link" href="stl_type_index.html#idm46563168228800-bb"><span class="identifier">type_info</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">;</span> - <span class="keyword">const</span> <span class="keyword">char</span> <span class="special">*</span> <a class="link" href="stl_type_index.html#idm46563168227680-bb"><span class="identifier">raw_name</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">;</span> - <span class="keyword">const</span> <span class="keyword">char</span> <span class="special">*</span> <a class="link" href="stl_type_index.html#idm46563168226560-bb"><span class="identifier">name</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">;</span> - <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <a class="link" href="stl_type_index.html#idm46563168225440-bb"><span class="identifier">pretty_name</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span> - <span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span> <a class="link" href="stl_type_index.html#idm46563168224320-bb"><span class="identifier">hash_code</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">;</span> - <span class="keyword">bool</span> <a class="link" href="stl_type_index.html#idm46563168223200-bb"><span class="identifier">equal</span></a><span class="special">(</span><span class="keyword">const</span> <a class="link" href="stl_type_index.html" title="Class stl_type_index">stl_type_index</a> <span class="special">&</span><span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">;</span> - <span class="keyword">bool</span> <a class="link" href="stl_type_index.html#idm46563168220944-bb"><span class="identifier">before</span></a><span class="special">(</span><span class="keyword">const</span> <a class="link" href="stl_type_index.html" title="Class stl_type_index">stl_type_index</a> <span class="special">&</span><span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">;</span> + <span class="comment">// <a class="link" href="stl_type_index.html#idp987171824-bb">public member functions</a></span> + <span class="keyword">const</span> <span class="identifier">type_info_t</span> <span class="special">&</span> <a class="link" href="stl_type_index.html#idp987172384-bb"><span class="identifier">type_info</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">;</span> + <span class="keyword">const</span> <span class="keyword">char</span> <span class="special">*</span> <a class="link" href="stl_type_index.html#idp987173504-bb"><span class="identifier">raw_name</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">;</span> + <span class="keyword">const</span> <span class="keyword">char</span> <span class="special">*</span> <a class="link" href="stl_type_index.html#idp987174624-bb"><span class="identifier">name</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">;</span> + <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <a class="link" href="stl_type_index.html#idp987175744-bb"><span class="identifier">pretty_name</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span> + <span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span> <a class="link" href="stl_type_index.html#idp987176864-bb"><span class="identifier">hash_code</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">;</span> + <span class="keyword">bool</span> <a class="link" href="stl_type_index.html#idp987177984-bb"><span class="identifier">equal</span></a><span class="special">(</span><span class="keyword">const</span> <a class="link" href="stl_type_index.html" title="Class stl_type_index">stl_type_index</a> <span class="special">&</span><span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">;</span> + <span class="keyword">bool</span> <a class="link" href="stl_type_index.html#idp987180240-bb"><span class="identifier">before</span></a><span class="special">(</span><span class="keyword">const</span> <a class="link" href="stl_type_index.html" title="Class stl_type_index">stl_type_index</a> <span class="special">&</span><span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">;</span> - <span class="comment">// <a class="link" href="stl_type_index.html#idm46563168216720-bb">public static functions</a></span> - <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> T<span class="special">></span> <span class="keyword">static</span> <a class="link" href="stl_type_index.html" title="Class stl_type_index">stl_type_index</a> <a class="link" href="stl_type_index.html#idm46563168216160-bb"><span class="identifier">type_id</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">noexcept</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">static</span> <a class="link" href="stl_type_index.html" title="Class stl_type_index">stl_type_index</a> <a class="link" href="stl_type_index.html#idm46563168213792-bb"><span class="identifier">type_id_with_cvr</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">noexcept</span><span class="special">;</span> + <span class="comment">// <a class="link" href="stl_type_index.html#idp987184464-bb">public static functions</a></span> + <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> T<span class="special">></span> <span class="keyword">static</span> <a class="link" href="stl_type_index.html" title="Class stl_type_index">stl_type_index</a> <a class="link" href="stl_type_index.html#idp987185024-bb"><span class="identifier">type_id</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">noexcept</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">static</span> <a class="link" href="stl_type_index.html" title="Class stl_type_index">stl_type_index</a> <a class="link" href="stl_type_index.html#idp987187392-bb"><span class="identifier">type_id_with_cvr</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">noexcept</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">static</span> <a class="link" href="stl_type_index.html" title="Class stl_type_index">stl_type_index</a> <a class="link" href="stl_type_index.html#idm46563168211424-bb"><span class="identifier">type_id_runtime</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">T</span> <span class="special">&</span><span class="special">)</span> <span class="keyword">noexcept</span><span class="special">;</span> + <span class="keyword">static</span> <a class="link" href="stl_type_index.html" title="Class stl_type_index">stl_type_index</a> <a class="link" href="stl_type_index.html#idp987189760-bb"><span class="identifier">type_id_runtime</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">T</span> <span class="special">&</span><span class="special">)</span> <span class="keyword">noexcept</span><span class="special">;</span> <span class="special">}</span><span class="special">;</span></pre></div> <div class="refsect1"> -<a name="idm45927735764032"></a><h2>Description</h2> +<a name="idp659038752"></a><h2>Description</h2> <p>This class is a wrapper around std::type_info, that workarounds issues and provides much more rich interface. <span class="bold"><strong>For</strong></span> <span class="bold"><strong>description</strong></span> <span class="bold"><strong>of</strong></span> <span class="bold"><strong>functions</strong></span> <span class="bold"><strong>see</strong></span> <a class="link" href="type_index_facade.html" title="Class template type_index_facade">type_index_facade</a>.</p> <p>This class requires typeid() to work. For cases when RTTI is disabled see <a class="link" href="ctti_type_index.html" title="Class ctti_type_index">ctti_type_index</a>. </p> <div class="refsect2"> -<a name="idm45927735757824"></a><h3> +<a name="idp659044960"></a><h3> <a name="boost.typeindex.stl_type_indexconstruct-copy-destruct"></a><code class="computeroutput">stl_type_index</code> public construct/copy/destruct</h3> <div class="orderedlist"><ol class="orderedlist" type="1"> -<li class="listitem"><pre class="literallayout"><a name="idm46563168218528-bb"></a><span class="identifier">stl_type_index</span><span class="special">(</span><span class="special">)</span> <span class="keyword">noexcept</span><span class="special">;</span></pre></li> -<li class="listitem"><pre class="literallayout"><a name="idm46563168217968-bb"></a><span class="identifier">stl_type_index</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">type_info_t</span> <span class="special">&</span> data<span class="special">)</span> <span class="keyword">noexcept</span><span class="special">;</span></pre></li> +<li class="listitem"><pre class="literallayout"><a name="idp987182656-bb"></a><span class="identifier">stl_type_index</span><span class="special">(</span><span class="special">)</span> <span class="keyword">noexcept</span><span class="special">;</span></pre></li> +<li class="listitem"><pre class="literallayout"><a name="idp987183216-bb"></a><span class="identifier">stl_type_index</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">type_info_t</span> <span class="special">&</span> data<span class="special">)</span> <span class="keyword">noexcept</span><span class="special">;</span></pre></li> </ol></div> </div> <div class="refsect2"> -<a name="idm45927735744848"></a><h3> -<a name="idm46563168229360-bb"></a><code class="computeroutput">stl_type_index</code> public member functions</h3> +<a name="idp659057872"></a><h3> +<a name="idp987171824-bb"></a><code class="computeroutput">stl_type_index</code> public member functions</h3> <div class="orderedlist"><ol class="orderedlist" type="1"> -<li class="listitem"><pre class="literallayout"><span class="keyword">const</span> <span class="identifier">type_info_t</span> <span class="special">&</span> <a name="idm46563168228800-bb"></a><span class="identifier">type_info</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">;</span></pre></li> -<li class="listitem"><pre class="literallayout"><span class="keyword">const</span> <span class="keyword">char</span> <span class="special">*</span> <a name="idm46563168227680-bb"></a><span class="identifier">raw_name</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">;</span></pre></li> -<li class="listitem"><pre class="literallayout"><span class="keyword">const</span> <span class="keyword">char</span> <span class="special">*</span> <a name="idm46563168226560-bb"></a><span class="identifier">name</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">;</span></pre></li> -<li class="listitem"><pre class="literallayout"><span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <a name="idm46563168225440-bb"></a><span class="identifier">pretty_name</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li> -<li class="listitem"><pre class="literallayout"><span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span> <a name="idm46563168224320-bb"></a><span class="identifier">hash_code</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">;</span></pre></li> -<li class="listitem"><pre class="literallayout"><span class="keyword">bool</span> <a name="idm46563168223200-bb"></a><span class="identifier">equal</span><span class="special">(</span><span class="keyword">const</span> <a class="link" href="stl_type_index.html" title="Class stl_type_index">stl_type_index</a> <span class="special">&</span> rhs<span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">;</span></pre></li> -<li class="listitem"><pre class="literallayout"><span class="keyword">bool</span> <a name="idm46563168220944-bb"></a><span class="identifier">before</span><span class="special">(</span><span class="keyword">const</span> <a class="link" href="stl_type_index.html" title="Class stl_type_index">stl_type_index</a> <span class="special">&</span> rhs<span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">;</span></pre></li> +<li class="listitem"><pre class="literallayout"><span class="keyword">const</span> <span class="identifier">type_info_t</span> <span class="special">&</span> <a name="idp987172384-bb"></a><span class="identifier">type_info</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">;</span></pre></li> +<li class="listitem"><pre class="literallayout"><span class="keyword">const</span> <span class="keyword">char</span> <span class="special">*</span> <a name="idp987173504-bb"></a><span class="identifier">raw_name</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">;</span></pre></li> +<li class="listitem"><pre class="literallayout"><span class="keyword">const</span> <span class="keyword">char</span> <span class="special">*</span> <a name="idp987174624-bb"></a><span class="identifier">name</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">;</span></pre></li> +<li class="listitem"><pre class="literallayout"><span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <a name="idp987175744-bb"></a><span class="identifier">pretty_name</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li> +<li class="listitem"><pre class="literallayout"><span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span> <a name="idp987176864-bb"></a><span class="identifier">hash_code</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">;</span></pre></li> +<li class="listitem"><pre class="literallayout"><span class="keyword">bool</span> <a name="idp987177984-bb"></a><span class="identifier">equal</span><span class="special">(</span><span class="keyword">const</span> <a class="link" href="stl_type_index.html" title="Class stl_type_index">stl_type_index</a> <span class="special">&</span> rhs<span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">;</span></pre></li> +<li class="listitem"><pre class="literallayout"><span class="keyword">bool</span> <a name="idp987180240-bb"></a><span class="identifier">before</span><span class="special">(</span><span class="keyword">const</span> <a class="link" href="stl_type_index.html" title="Class stl_type_index">stl_type_index</a> <span class="special">&</span> rhs<span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">;</span></pre></li> </ol></div> </div> <div class="refsect2"> -<a name="idm45927735692912"></a><h3> -<a name="idm46563168216720-bb"></a><code class="computeroutput">stl_type_index</code> public static functions</h3> +<a name="idp659109936"></a><h3> +<a name="idp987184464-bb"></a><code class="computeroutput">stl_type_index</code> public static 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> T<span class="special">></span> <span class="keyword">static</span> <a class="link" href="stl_type_index.html" title="Class stl_type_index">stl_type_index</a> <a name="idm46563168216160-bb"></a><span class="identifier">type_id</span><span class="special">(</span><span class="special">)</span> <span class="keyword">noexcept</span><span class="special">;</span></pre></li> -<li class="listitem"><pre class="literallayout"><span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> T<span class="special">></span> <span class="keyword">static</span> <a class="link" href="stl_type_index.html" title="Class stl_type_index">stl_type_index</a> <a name="idm46563168213792-bb"></a><span class="identifier">type_id_with_cvr</span><span class="special">(</span><span class="special">)</span> <span class="keyword">noexcept</span><span class="special">;</span></pre></li> +<li class="listitem"><pre class="literallayout"><span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> T<span class="special">></span> <span class="keyword">static</span> <a class="link" href="stl_type_index.html" title="Class stl_type_index">stl_type_index</a> <a name="idp987185024-bb"></a><span class="identifier">type_id</span><span class="special">(</span><span class="special">)</span> <span class="keyword">noexcept</span><span class="special">;</span></pre></li> +<li class="listitem"><pre class="literallayout"><span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> T<span class="special">></span> <span class="keyword">static</span> <a class="link" href="stl_type_index.html" title="Class stl_type_index">stl_type_index</a> <a name="idp987187392-bb"></a><span class="identifier">type_id_with_cvr</span><span class="special">(</span><span class="special">)</span> <span class="keyword">noexcept</span><span class="special">;</span></pre></li> <li class="listitem"><pre class="literallayout"><span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> T<span class="special">></span> - <span class="keyword">static</span> <a class="link" href="stl_type_index.html" title="Class stl_type_index">stl_type_index</a> <a name="idm46563168211424-bb"></a><span class="identifier">type_id_runtime</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">T</span> <span class="special">&</span> value<span class="special">)</span> <span class="keyword">noexcept</span><span class="special">;</span></pre></li> + <span class="keyword">static</span> <a class="link" href="stl_type_index.html" title="Class stl_type_index">stl_type_index</a> <a name="idp987189760-bb"></a><span class="identifier">type_id_runtime</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">T</span> <span class="special">&</span> value<span class="special">)</span> <span class="keyword">noexcept</span><span class="special">;</span></pre></li> </ol></div> </div> </div> @@ -107,7 +107,7 @@ </tr></table> <hr> <div class="spirit-nav"> -<a accesskey="p" href="ctti_type_index.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../boost_typeindex_header_reference.html#header.boost.type_index.stl_type_index_hpp"><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="type_index_facade.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a> +<a accesskey="p" href="runtime_point_idp987153216.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../boost_typeindex_header_reference.html#header.boost.type_index.stl_type_index_hpp"><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="type_index_facade.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a> </div> </body> </html> diff --git a/doc/html/boost/typeindex/type_id.html b/doc/html/boost/typeindex/type_id.html index faf3abd888..646bd0bee6 100644 --- a/doc/html/boost/typeindex/type_id.html +++ b/doc/html/boost/typeindex/type_id.html @@ -35,7 +35,7 @@ </span> <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> T<span class="special">></span> <span class="identifier">type_index</span> <span class="identifier">type_id</span><span class="special">(</span><span class="special">)</span><span class="special">;</span></pre></div> <div class="refsect1"> -<a name="idm45927736350272"></a><h2>Description</h2> +<a name="idp658060240"></a><h2>Description</h2> <p>Function to get boost::typeindex::type_index for a type T. Removes const, volatile && and & modifiers from T.</p> <p><span class="bold"><strong>Example:</strong></span> </p> <pre class="programlisting"><span class="identifier">type_index</span> <span class="identifier">ti</span> <span class="special">=</span> <span class="identifier">type_id</span><span class="special"><</span><span class="keyword">int</span><span class="special">&</span><span class="special">></span><span class="special">(</span><span class="special">)</span><span class="special">;</span> diff --git a/doc/html/boost/typeindex/type_id_runtime.html b/doc/html/boost/typeindex/type_id_runtime.html index cfe2e4f0dd..5298993f87 100644 --- a/doc/html/boost/typeindex/type_id_runtime.html +++ b/doc/html/boost/typeindex/type_id_runtime.html @@ -35,7 +35,7 @@ </span> <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> T<span class="special">></span> <span class="identifier">type_index</span> <span class="identifier">type_id_runtime</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">T</span> <span class="special">&</span> runtime_val<span class="special">)</span><span class="special">;</span></pre></div> <div class="refsect1"> -<a name="idm45927736288496"></a><h2>Description</h2> +<a name="idp658122016"></a><h2>Description</h2> <p>Function that works exactly like C++ typeid(rtti_val) call, but returns boost::type_index.</p> <p>Returns runtime information about specified type.</p> <p><span class="bold"><strong>Requirements:</strong></span> RTTI available or Base and Derived classes must be marked with BOOST_TYPE_INDEX_REGISTER_CLASS.</p> diff --git a/doc/html/boost/typeindex/type_id_with_cvr.html b/doc/html/boost/typeindex/type_id_with_cvr.html index 5df8147dc1..4194cb6a4b 100644 --- a/doc/html/boost/typeindex/type_id_with_cvr.html +++ b/doc/html/boost/typeindex/type_id_with_cvr.html @@ -35,7 +35,7 @@ </span> <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> T<span class="special">></span> <span class="identifier">type_index</span> <span class="identifier">type_id_with_cvr</span><span class="special">(</span><span class="special">)</span><span class="special">;</span></pre></div> <div class="refsect1"> -<a name="idm45927736321104"></a><h2>Description</h2> +<a name="idp658089456"></a><h2>Description</h2> <p>Function for constructing boost::typeindex::type_index instance for type T. Does not remove const, volatile, & and && modifiers from T.</p> <p>If T has no const, volatile, & and && modifiers, then returns exactly the same result as in case of calling <code class="computeroutput">type_id<T>()</code>.</p> <p><span class="bold"><strong>Example:</strong></span> </p> diff --git a/doc/html/boost/typeindex/type_index.html b/doc/html/boost/typeindex/type_index.html index 3b7d70a75f..b28721fafe 100644 --- a/doc/html/boost/typeindex/type_index.html +++ b/doc/html/boost/typeindex/type_index.html @@ -35,7 +35,7 @@ </span> <span class="keyword">typedef</span> <span class="identifier">platform_specific</span> <span class="identifier">type_index</span><span class="special">;</span></pre></div> <div class="refsect1"> -<a name="idm45927736375168"></a><h2>Description</h2> +<a name="idp658035280"></a><h2>Description</h2> <p>Depending on a compiler flags, optimal implementation of type_index will be used as a default boost::typeindex::type_index.</p> <p>Could be a <a class="link" href="stl_type_index.html" title="Class stl_type_index">boost::typeindex::stl_type_index</a>, <a class="link" href="ctti_type_index.html" title="Class ctti_type_index">boost::typeindex::ctti_type_index</a> or user defined type_index class.</p> <p><span class="bold"><strong>See</strong></span> <a class="link" href="type_index_facade.html" title="Class template type_index_facade">boost::typeindex::type_index_facade</a> for a full description of type_index functions. </p> diff --git a/doc/html/boost/typeindex/type_index_facade.html b/doc/html/boost/typeindex/type_index_facade.html index 8670f56688..1f6e2418b6 100644 --- a/doc/html/boost/typeindex/type_index_facade.html +++ b/doc/html/boost/typeindex/type_index_facade.html @@ -8,7 +8,7 @@ <link rel="home" href="../../index.html" title="The Boost C++ Libraries BoostBook Documentation Subset"> <link rel="up" href="../../boost_typeindex_header_reference.html#header.boost.type_index.type_index_facade_hpp" title="Header <boost/type_index/type_index_facade.hpp>"> <link rel="prev" href="stl_type_index.html" title="Class stl_type_index"> -<link rel="next" href="hash_val_idm46563168123488.html" title="Function template hash_value"> +<link rel="next" href="hash_value_idp987277696.html" title="Function template hash_value"> </head> <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> <table cellpadding="2" width="100%"><tr> @@ -21,7 +21,7 @@ </tr></table> <hr> <div class="spirit-nav"> -<a accesskey="p" href="stl_type_index.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../boost_typeindex_header_reference.html#header.boost.type_index.type_index_facade_hpp"><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="hash_val_idm46563168123488.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a> +<a accesskey="p" href="stl_type_index.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../boost_typeindex_header_reference.html#header.boost.type_index.type_index_facade_hpp"><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="hash_value_idp987277696.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a> </div> <div class="refentry"> <a name="boost.typeindex.type_index_facade"></a><div class="titlepage"></div> @@ -38,24 +38,24 @@ <span class="comment">// types</span> <span class="keyword">typedef</span> <span class="identifier">TypeInfo</span> <a name="boost.typeindex.type_index_facade.type_info_t"></a><span class="identifier">type_info_t</span><span class="special">;</span> - <span class="comment">// <a class="link" href="type_index_facade.html#idm46563168193552-bb">public member functions</a></span> - <span class="keyword">const</span> <span class="keyword">char</span> <span class="special">*</span> <a class="link" href="type_index_facade.html#idm46563168192992-bb"><span class="identifier">name</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">;</span> - <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <a class="link" href="type_index_facade.html#idm46563168188960-bb"><span class="identifier">pretty_name</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span> - <span class="keyword">bool</span> <a class="link" href="type_index_facade.html#idm46563168185648-bb"><span class="identifier">equal</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">Derived</span> <span class="special">&</span><span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">;</span> - <span class="keyword">bool</span> <a class="link" href="type_index_facade.html#idm46563168180928-bb"><span class="identifier">before</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">Derived</span> <span class="special">&</span><span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">;</span> - <span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span> <a class="link" href="type_index_facade.html#idm46563168176192-bb"><span class="identifier">hash_code</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">;</span> + <span class="comment">// <a class="link" href="type_index_facade.html#idp987207632-bb">public member functions</a></span> + <span class="keyword">const</span> <span class="keyword">char</span> <span class="special">*</span> <a class="link" href="type_index_facade.html#idp987208192-bb"><span class="identifier">name</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">;</span> + <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <a class="link" href="type_index_facade.html#idp987212224-bb"><span class="identifier">pretty_name</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span> + <span class="keyword">bool</span> <a class="link" href="type_index_facade.html#idp987215536-bb"><span class="identifier">equal</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">Derived</span> <span class="special">&</span><span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">;</span> + <span class="keyword">bool</span> <a class="link" href="type_index_facade.html#idp987220256-bb"><span class="identifier">before</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">Derived</span> <span class="special">&</span><span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">;</span> + <span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span> <a class="link" href="type_index_facade.html#idp987224992-bb"><span class="identifier">hash_code</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">;</span> - <span class="comment">// <a class="link" href="type_index_facade.html#idm46563168171360-bb">protected member functions</a></span> - <span class="keyword">const</span> <span class="keyword">char</span> <span class="special">*</span> <a class="link" href="type_index_facade.html#idm46563168170784-bb"><span class="identifier">raw_name</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">;</span> - <span class="keyword">const</span> <span class="identifier">type_info_t</span> <span class="special">&</span> <a class="link" href="type_index_facade.html#idm46563168166784-bb"><span class="identifier">type_info</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">;</span> + <span class="comment">// <a class="link" href="type_index_facade.html#idp987229824-bb">protected member functions</a></span> + <span class="keyword">const</span> <span class="keyword">char</span> <span class="special">*</span> <a class="link" href="type_index_facade.html#idp987230400-bb"><span class="identifier">raw_name</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">;</span> + <span class="keyword">const</span> <span class="identifier">type_info_t</span> <span class="special">&</span> <a class="link" href="type_index_facade.html#idp987234400-bb"><span class="identifier">type_info</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">;</span> - <span class="comment">// <a class="link" href="type_index_facade.html#idm46563168162608-bb">protected static functions</a></span> - <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> T<span class="special">></span> <span class="keyword">static</span> <span class="identifier">Derived</span> <a class="link" href="type_index_facade.html#idm46563168162032-bb"><span class="identifier">type_id</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">noexcept</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">static</span> <span class="identifier">Derived</span> <a class="link" href="type_index_facade.html#idm46563168155248-bb"><span class="identifier">type_id_with_cvr</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">noexcept</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">static</span> <span class="identifier">Derived</span> <a class="link" href="type_index_facade.html#idm46563168147744-bb"><span class="identifier">type_id_runtime</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">T</span> <span class="special">&</span><span class="special">)</span> <span class="keyword">noexcept</span><span class="special">;</span> + <span class="comment">// <a class="link" href="type_index_facade.html#idp987238576-bb">protected static functions</a></span> + <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> T<span class="special">></span> <span class="keyword">static</span> <span class="identifier">Derived</span> <a class="link" href="type_index_facade.html#idp987239152-bb"><span class="identifier">type_id</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">noexcept</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">static</span> <span class="identifier">Derived</span> <a class="link" href="type_index_facade.html#idp987245936-bb"><span class="identifier">type_id_with_cvr</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">noexcept</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">static</span> <span class="identifier">Derived</span> <a class="link" href="type_index_facade.html#idp987253440-bb"><span class="identifier">type_id_runtime</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">T</span> <span class="special">&</span><span class="special">)</span> <span class="keyword">noexcept</span><span class="special">;</span> <span class="special">}</span><span class="special">;</span></pre></div> <div class="refsect1"> -<a name="idm45927735466880"></a><h2>Description</h2> +<a name="idp659336144"></a><h2>Description</h2> <p>This class takes care about the comparison operators, hash functions and ostream operators. Use this class as a public base class for defining new type_info-conforming classes.</p> <p><span class="bold"><strong>Example:</strong></span> </p> <pre class="programlisting"><span class="keyword">class</span> <span class="identifier">stl_type_index</span><span class="special">:</span> <span class="keyword">public</span> <span class="identifier">type_index_facade</span><span class="special"><</span><span class="identifier">stl_type_index</span><span class="special">,</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">type_info</span><span class="special">></span> @@ -88,7 +88,7 @@ <p> </p> <div class="refsect2"> -<a name="idm45927735429056"></a><h3>Template Parameters</h3> +<a name="idp659373968"></a><h3>Template Parameters</h3> <div class="orderedlist"><ol class="orderedlist" type="1"> <li class="listitem"> <pre class="literallayout"><span class="keyword">typename</span> Derived</pre> @@ -101,11 +101,11 @@ </ol></div> </div> <div class="refsect2"> -<a name="idm45927735422576"></a><h3> -<a name="idm46563168193552-bb"></a><code class="computeroutput">type_index_facade</code> public member functions</h3> +<a name="idp659380448"></a><h3> +<a name="idp987207632-bb"></a><code class="computeroutput">type_index_facade</code> public member functions</h3> <div class="orderedlist"><ol class="orderedlist" type="1"> <li class="listitem"> -<pre class="literallayout"><span class="keyword">const</span> <span class="keyword">char</span> <span class="special">*</span> <a name="idm46563168192992-bb"></a><span class="identifier">name</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">;</span></pre> +<pre class="literallayout"><span class="keyword">const</span> <span class="keyword">char</span> <span class="special">*</span> <a name="idp987208192-bb"></a><span class="identifier">name</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">;</span></pre> <p><span class="bold"><strong>Override:</strong></span> This function <span class="bold"><strong>may</strong></span> be redefined in Derived class. Overrides <span class="bold"><strong>must</strong></span> not throw. </p> <div class="variablelist"><table border="0" class="variablelist compact"> @@ -120,7 +120,7 @@ </table></div> </li> <li class="listitem"> -<pre class="literallayout"><span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <a name="idm46563168188960-bb"></a><span class="identifier">pretty_name</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre> +<pre class="literallayout"><span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <a name="idp987212224-bb"></a><span class="identifier">pretty_name</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre> <p><span class="bold"><strong>Override:</strong></span> This function <span class="bold"><strong>may</strong></span> be redefined in Derived class. Overrides may throw. </p> <div class="variablelist"><table border="0" class="variablelist compact"> @@ -135,7 +135,7 @@ </table></div> </li> <li class="listitem"> -<pre class="literallayout"><span class="keyword">bool</span> <a name="idm46563168185648-bb"></a><span class="identifier">equal</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">Derived</span> <span class="special">&</span> rhs<span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">;</span></pre> +<pre class="literallayout"><span class="keyword">bool</span> <a name="idp987215536-bb"></a><span class="identifier">equal</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">Derived</span> <span class="special">&</span> rhs<span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">;</span></pre> <p><span class="bold"><strong>Override:</strong></span> This function <span class="bold"><strong>may</strong></span> be redefined in Derived class. Overrides <span class="bold"><strong>must</strong></span> not throw. </p> <div class="variablelist"><table border="0" class="variablelist compact"> @@ -150,7 +150,7 @@ </table></div> </li> <li class="listitem"> -<pre class="literallayout"><span class="keyword">bool</span> <a name="idm46563168180928-bb"></a><span class="identifier">before</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">Derived</span> <span class="special">&</span> rhs<span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">;</span></pre> +<pre class="literallayout"><span class="keyword">bool</span> <a name="idp987220256-bb"></a><span class="identifier">before</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">Derived</span> <span class="special">&</span> rhs<span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">;</span></pre> <p><span class="bold"><strong>Override:</strong></span> This function <span class="bold"><strong>may</strong></span> be redefined in Derived class. Overrides <span class="bold"><strong>must</strong></span> not throw. </p> <div class="variablelist"><table border="0" class="variablelist compact"> @@ -165,7 +165,7 @@ </table></div> </li> <li class="listitem"> -<pre class="literallayout"><span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span> <a name="idm46563168176192-bb"></a><span class="identifier">hash_code</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">;</span></pre> +<pre class="literallayout"><span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span> <a name="idp987224992-bb"></a><span class="identifier">hash_code</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">;</span></pre> <p><span class="bold"><strong>Override:</strong></span> This function <span class="bold"><strong>may</strong></span> be redefined in Derived class. Overrides <span class="bold"><strong>must</strong></span> not throw. </p> <div class="note"><table border="0" summary="Note"> @@ -191,11 +191,11 @@ </ol></div> </div> <div class="refsect2"> -<a name="idm45927735366128"></a><h3> -<a name="idm46563168171360-bb"></a><code class="computeroutput">type_index_facade</code> protected member functions</h3> +<a name="idp659436896"></a><h3> +<a name="idp987229824-bb"></a><code class="computeroutput">type_index_facade</code> protected member functions</h3> <div class="orderedlist"><ol class="orderedlist" type="1"> <li class="listitem"> -<pre class="literallayout"><span class="keyword">const</span> <span class="keyword">char</span> <span class="special">*</span> <a name="idm46563168170784-bb"></a><span class="identifier">raw_name</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">;</span></pre> +<pre class="literallayout"><span class="keyword">const</span> <span class="keyword">char</span> <span class="special">*</span> <a name="idp987230400-bb"></a><span class="identifier">raw_name</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">;</span></pre> <p><span class="bold"><strong>Override:</strong></span> This function <span class="bold"><strong>must</strong></span> be redefined in Derived class. Overrides <span class="bold"><strong>must</strong></span> not throw. </p> <div class="variablelist"><table border="0" class="variablelist compact"> @@ -210,7 +210,7 @@ </table></div> </li> <li class="listitem"> -<pre class="literallayout"><span class="keyword">const</span> <span class="identifier">type_info_t</span> <span class="special">&</span> <a name="idm46563168166784-bb"></a><span class="identifier">type_info</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">;</span></pre> +<pre class="literallayout"><span class="keyword">const</span> <span class="identifier">type_info_t</span> <span class="special">&</span> <a name="idp987234400-bb"></a><span class="identifier">type_info</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">;</span></pre> <p><span class="bold"><strong>Override:</strong></span> This function <span class="bold"><strong>may</strong></span> be redefined in Derived class. Overrides <span class="bold"><strong>must</strong></span> not throw. </p> <div class="variablelist"><table border="0" class="variablelist compact"> @@ -227,11 +227,11 @@ </ol></div> </div> <div class="refsect2"> -<a name="idm45927735342448"></a><h3> -<a name="idm46563168162608-bb"></a><code class="computeroutput">type_index_facade</code> protected static functions</h3> +<a name="idp659460640"></a><h3> +<a name="idp987238576-bb"></a><code class="computeroutput">type_index_facade</code> protected static 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> T<span class="special">></span> <span class="keyword">static</span> <span class="identifier">Derived</span> <a name="idm46563168162032-bb"></a><span class="identifier">type_id</span><span class="special">(</span><span class="special">)</span> <span class="keyword">noexcept</span><span class="special">;</span></pre> +<pre class="literallayout"><span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> T<span class="special">></span> <span class="keyword">static</span> <span class="identifier">Derived</span> <a name="idp987239152-bb"></a><span class="identifier">type_id</span><span class="special">(</span><span class="special">)</span> <span class="keyword">noexcept</span><span class="special">;</span></pre> <p>This is a factory method that is used to create instances of Derived classes. boost::typeindex::type_id() will call this method, if Derived has same type as boost::typeindex::type_index.</p> <p><span class="bold"><strong>Override:</strong></span> This function <span class="bold"><strong>may</strong></span> be redefined and made public in Derived class. Overrides <span class="bold"><strong>must</strong></span> not throw. Overrides <span class="bold"><strong>must</strong></span> remove const, volatile && and & modifiers from T. @@ -263,7 +263,7 @@ </table></div> </li> <li class="listitem"> -<pre class="literallayout"><span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> T<span class="special">></span> <span class="keyword">static</span> <span class="identifier">Derived</span> <a name="idm46563168155248-bb"></a><span class="identifier">type_id_with_cvr</span><span class="special">(</span><span class="special">)</span> <span class="keyword">noexcept</span><span class="special">;</span></pre> +<pre class="literallayout"><span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> T<span class="special">></span> <span class="keyword">static</span> <span class="identifier">Derived</span> <a name="idp987245936-bb"></a><span class="identifier">type_id_with_cvr</span><span class="special">(</span><span class="special">)</span> <span class="keyword">noexcept</span><span class="special">;</span></pre> <p>This is a factory method that is used to create instances of Derived classes. boost::typeindex::type_id_with_cvr() will call this method, if Derived has same type as boost::typeindex::type_index.</p> <p><span class="bold"><strong>Override:</strong></span> This function <span class="bold"><strong>may</strong></span> be redefined and made public in Derived class. Overrides <span class="bold"><strong>must</strong></span> not throw. Overrides <span class="bold"><strong>must</strong></span> <span class="bold"><strong>not</strong></span> remove const, volatile && and & modifiers from T. @@ -296,7 +296,7 @@ </li> <li class="listitem"> <pre class="literallayout"><span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> T<span class="special">></span> - <span class="keyword">static</span> <span class="identifier">Derived</span> <a name="idm46563168147744-bb"></a><span class="identifier">type_id_runtime</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">T</span> <span class="special">&</span> variable<span class="special">)</span> <span class="keyword">noexcept</span><span class="special">;</span></pre> + <span class="keyword">static</span> <span class="identifier">Derived</span> <a name="idp987253440-bb"></a><span class="identifier">type_id_runtime</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">T</span> <span class="special">&</span> variable<span class="special">)</span> <span class="keyword">noexcept</span><span class="special">;</span></pre> <p>This is a factory method that is used to create instances of Derived classes. boost::typeindex::type_id_runtime(const T&) will call this method, if Derived has same type as boost::typeindex::type_index.</p> <p><span class="bold"><strong>Override:</strong></span> This function <span class="bold"><strong>may</strong></span> be redefined and made public in Derived class. @@ -341,7 +341,7 @@ </tr></table> <hr> <div class="spirit-nav"> -<a accesskey="p" href="stl_type_index.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../boost_typeindex_header_reference.html#header.boost.type_index.type_index_facade_hpp"><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="hash_val_idm46563168123488.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a> +<a accesskey="p" href="stl_type_index.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../boost_typeindex_header_reference.html#header.boost.type_index.type_index_facade_hpp"><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="hash_value_idp987277696.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a> </div> </body> </html> diff --git a/doc/html/boost/typeindex/type_info.html b/doc/html/boost/typeindex/type_info.html index 3bd3a70e1d..c8f291e42e 100644 --- a/doc/html/boost/typeindex/type_info.html +++ b/doc/html/boost/typeindex/type_info.html @@ -35,7 +35,7 @@ </span> <span class="keyword">typedef</span> <span class="identifier">type_index</span><span class="special">::</span><span class="identifier">type_info_t</span> <span class="identifier">type_info</span><span class="special">;</span></pre></div> <div class="refsect1"> -<a name="idm45927736363040"></a><h2>Description</h2> +<a name="idp658047472"></a><h2>Description</h2> <p>Depending on a compiler flags, optimal implementation of type_info will be used as a default boost::typeindex::type_info.</p> <p>Could be a std::type_info, boost::typeindex::detail::ctti_data or some user defined class.</p> <p>type_info <span class="bold"><strong>is</strong></span> <span class="bold"><strong>not</strong></span> copyable or default constructible. It is <span class="bold"><strong>not</strong></span> assignable too! </p> |