From 7c0889cf2a8fe8984c6be98dfff333f0603fbab9 Mon Sep 17 00:00:00 2001
From: Antony Polukhin
Date: Fri, 21 Feb 2014 13:02:00 +0400
Subject: [PATCH] Docs for TypeIndex 3.0 generated
---
BOOST_TYPE_INDEX_CTTI_BEGIN_SKIP.html | 54 ----
BOOST_TYPE_INDEX_CTTI_END_SKIP.html | 54 ----
...YPE_INDEX_FORCE_NO_RTTI_COMPATIBILITY.html | 53 ----
BOOST_TYPE_INDEX_FUNCTION_SIGNATURE.html | 55 ----
BOOST_TYPE_INDEX_REGISTER_CLASS.html | 76 +++++
BOOST_TYPE_INDEX_REGISTER_CTTI_CLASS.html | 54 ++++
BOOST_TYPE_INDEX_REGISTER_STL_CLASS.html | 54 ++++
BOOST_TYPE_INDEX_USER_TYPEINDEX.html | 54 ++++
boost/template_id.html | 54 ----
boost/template_id_with_cvr.html | 54 ----
boost/template_index.html | 54 ----
boost/template_info.html | 120 --------
boost/type_id.html | 54 ----
boost/type_id_rtti_on_idp5820176.html | 54 ----
boost/type_id_rtti_on_idp5823984.html | 54 ----
boost/type_id_with_cvr.html | 54 ----
boost/type_index.html | 121 --------
boost/type_info.html | 151 ----------
boost/typeind/ctti_type_index.html | 105 +++++++
boost/typeind/stl_type_index.html | 113 +++++++
boost/typeind/type_id.html | 85 ++++++
boost/typeind/type_id_runtime.html | 92 ++++++
boost/typeind/type_id_with_cvr.html | 86 ++++++
boost/typeind/type_index.html | 55 ++++
boost/typeind/type_index_facade.html | 277 +++++++++++++++++
boost/typeind/type_info.html | 56 ++++
boost_typeindex/acknowledgements.html | 13 +-
boost_typeindex/code_bloat.html | 10 +-
boost_typeindex/compiler_support.html | 16 +-
boost_typeindex/examples.html | 74 ++---
boost_typeindex/getting_started.html | 201 +++++++-----
boost_typeindex/how_it_works.html | 58 ++++
boost_typeindex/making_own_type_index.html | 285 ++++++++++++++++++
.../mixing_sources_with_rtti_on_and_.html | 15 +-
boost_typeindex/space_and_performance.html | 26 +-
boost_typeindex_header_reference.html | 171 +++++------
index.html | 42 ++-
standalone_HTML.manifest | 28 +-
38 files changed, 1780 insertions(+), 1252 deletions(-)
delete mode 100644 BOOST_TYPE_INDEX_CTTI_BEGIN_SKIP.html
delete mode 100644 BOOST_TYPE_INDEX_CTTI_END_SKIP.html
delete mode 100644 BOOST_TYPE_INDEX_FORCE_NO_RTTI_COMPATIBILITY.html
delete mode 100644 BOOST_TYPE_INDEX_FUNCTION_SIGNATURE.html
create mode 100644 BOOST_TYPE_INDEX_REGISTER_CLASS.html
create mode 100644 BOOST_TYPE_INDEX_REGISTER_CTTI_CLASS.html
create mode 100644 BOOST_TYPE_INDEX_REGISTER_STL_CLASS.html
create mode 100644 BOOST_TYPE_INDEX_USER_TYPEINDEX.html
delete mode 100644 boost/template_id.html
delete mode 100644 boost/template_id_with_cvr.html
delete mode 100644 boost/template_index.html
delete mode 100644 boost/template_info.html
delete mode 100644 boost/type_id.html
delete mode 100644 boost/type_id_rtti_on_idp5820176.html
delete mode 100644 boost/type_id_rtti_on_idp5823984.html
delete mode 100644 boost/type_id_with_cvr.html
delete mode 100644 boost/type_index.html
delete mode 100644 boost/type_info.html
create mode 100644 boost/typeind/ctti_type_index.html
create mode 100644 boost/typeind/stl_type_index.html
create mode 100644 boost/typeind/type_id.html
create mode 100644 boost/typeind/type_id_runtime.html
create mode 100644 boost/typeind/type_id_with_cvr.html
create mode 100644 boost/typeind/type_index.html
create mode 100644 boost/typeind/type_index_facade.html
create mode 100644 boost/typeind/type_info.html
create mode 100644 boost_typeindex/how_it_works.html
create mode 100644 boost_typeindex/making_own_type_index.html
diff --git a/BOOST_TYPE_INDEX_CTTI_BEGIN_SKIP.html b/BOOST_TYPE_INDEX_CTTI_BEGIN_SKIP.html
deleted file mode 100644
index e7577c5..0000000
--- a/BOOST_TYPE_INDEX_CTTI_BEGIN_SKIP.html
+++ /dev/null
@@ -1,54 +0,0 @@
-
-
-
-Macro BOOST_TYPE_INDEX_CTTI_BEGIN_SKIP
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Macro BOOST_TYPE_INDEX_CTTI_BEGIN_SKIP
-
BOOST_TYPE_INDEX_CTTI_BEGIN_SKIP
-
-
Synopsis
-
BOOST_TYPE_INDEX_CTTI_BEGIN_SKIP
-
-
Description
-
BOOST_TYPE_INDEX_FUNCTION_SIGNATURE, BOOST_TYPE_INDEX_CTTI_BEGIN_SKIP and BOOST_TYPE_INDEX_CTTI_END_SKIP macroses are used for adding a support for compilers, that by default are not recognized by TypeIndex library.
-
See Compiler support for more info
-
-
-
-
-
-
-
diff --git a/BOOST_TYPE_INDEX_CTTI_END_SKIP.html b/BOOST_TYPE_INDEX_CTTI_END_SKIP.html
deleted file mode 100644
index 215279a..0000000
--- a/BOOST_TYPE_INDEX_CTTI_END_SKIP.html
+++ /dev/null
@@ -1,54 +0,0 @@
-
-
-
-Macro BOOST_TYPE_INDEX_CTTI_END_SKIP
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Macro BOOST_TYPE_INDEX_CTTI_END_SKIP
-
BOOST_TYPE_INDEX_CTTI_END_SKIP
-
-
Synopsis
-
BOOST_TYPE_INDEX_CTTI_END_SKIP
-
-
Description
-
BOOST_TYPE_INDEX_FUNCTION_SIGNATURE, BOOST_TYPE_INDEX_CTTI_BEGIN_SKIP and BOOST_TYPE_INDEX_CTTI_END_SKIP macroses are used for adding a support for compilers, that by default are not recognized by TypeIndex library.
-
See Compiler support for more info
-
-
-
-
-
-
-
diff --git a/BOOST_TYPE_INDEX_FORCE_NO_RTTI_COMPATIBILITY.html b/BOOST_TYPE_INDEX_FORCE_NO_RTTI_COMPATIBILITY.html
deleted file mode 100644
index 280045f..0000000
--- a/BOOST_TYPE_INDEX_FORCE_NO_RTTI_COMPATIBILITY.html
+++ /dev/null
@@ -1,53 +0,0 @@
-
-
-
-Macro BOOST_TYPE_INDEX_FORCE_NO_RTTI_COMPATIBILITY
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Macro BOOST_TYPE_INDEX_FORCE_NO_RTTI_COMPATIBILITY
-
BOOST_TYPE_INDEX_FORCE_NO_RTTI_COMPATIBILITY
-
-
Synopsis
-
BOOST_TYPE_INDEX_FORCE_NO_RTTI_COMPATIBILITY
-
-
Description
-
Define the BOOST_TYPE_INDEX_FORCE_NO_RTTI_COMPATIBILITY macro if you are mixing objects compiled with different RTTI flags. This will force the usage of boost::template_index class instead of boost::type_index .
-
-
-
-
-
-
-
diff --git a/BOOST_TYPE_INDEX_FUNCTION_SIGNATURE.html b/BOOST_TYPE_INDEX_FUNCTION_SIGNATURE.html
deleted file mode 100644
index 4c943f3..0000000
--- a/BOOST_TYPE_INDEX_FUNCTION_SIGNATURE.html
+++ /dev/null
@@ -1,55 +0,0 @@
-
-
-
-Macro BOOST_TYPE_INDEX_FUNCTION_SIGNATURE
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Macro BOOST_TYPE_INDEX_FUNCTION_SIGNATURE
-
BOOST_TYPE_INDEX_FUNCTION_SIGNATURE
-
-
Synopsis
-
BOOST_TYPE_INDEX_FUNCTION_SIGNATURE
-
-
Description
-
BOOST_TYPE_INDEX_FUNCTION_SIGNATURE is used by boost::template_info class to deduce the name of a template parameter. If your compiler is not recognized by the TypeIndex library and you wish to work with boost::template_info , you may define this macro by yourself.
-
BOOST_TYPE_INDEX_FUNCTION_SIGNATURE must be defined to a compiler specific macro, that outputs the WHOLE function signature, including template parameters.
-
If your compiler is not recognised and BOOST_TYPE_INDEX_FUNCTION_SIGNATURE is not defined, then a compile-time error will arise at any attempt to use boost::template_info or boost::template_index classes.
-
-
-
-
-
-
-
diff --git a/BOOST_TYPE_INDEX_REGISTER_CLASS.html b/BOOST_TYPE_INDEX_REGISTER_CLASS.html
new file mode 100644
index 0000000..396c7f5
--- /dev/null
+++ b/BOOST_TYPE_INDEX_REGISTER_CLASS.html
@@ -0,0 +1,76 @@
+
+
+
+Macro BOOST_TYPE_INDEX_REGISTER_CLASS
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Macro BOOST_TYPE_INDEX_REGISTER_CLASS
+
BOOST_TYPE_INDEX_REGISTER_CLASS
+
+
Synopsis
+
BOOST_TYPE_INDEX_REGISTER_CLASS
+
+
Description
+
BOOST_TYPE_INDEX_REGISTER_CLASS is a helper macro that is used to help to emulate RTTI. Put this macro into the public section of polymorphic class to allow runtime type detection.
+
Depending on the typeid() availability this macro will expand to nothing or to virtual helper function virtual const type_info& type_id_runtime() const
.
+
Example:
+
class A {
+public :
+ BOOST_TYPE_INDEX_REGISTER_CLASS
+ virtual ~ A ( ) { }
+} ;
+
+struct B : public A {
+ BOOST_TYPE_INDEX_REGISTER_CLASS
+} ;
+
+struct C : public B {
+ BOOST_TYPE_INDEX_REGISTER_CLASS
+} ;
+
+...
+
+C c1 ;
+A * pc1 = & c1 ;
+assert ( boost :: typeind :: type_id < C > ( ) == boost :: typeind :: type_id_runtime ( * pc1 ) ) ;
+
+
+
+
+
+
+
+
+
diff --git a/BOOST_TYPE_INDEX_REGISTER_CTTI_CLASS.html b/BOOST_TYPE_INDEX_REGISTER_CTTI_CLASS.html
new file mode 100644
index 0000000..13e5aee
--- /dev/null
+++ b/BOOST_TYPE_INDEX_REGISTER_CTTI_CLASS.html
@@ -0,0 +1,54 @@
+
+
+
+Macro BOOST_TYPE_INDEX_REGISTER_CTTI_CLASS
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Macro BOOST_TYPE_INDEX_REGISTER_CTTI_CLASS
+
BOOST_TYPE_INDEX_REGISTER_CTTI_CLASS
+
+
Synopsis
+
BOOST_TYPE_INDEX_REGISTER_CTTI_CLASS
+
+
Description
+
BOOST_TYPE_INDEX_REGISTER_CTTI_CLASS is used by BOOST_TYPE_INDEX_REGISTER_CLASS when RTTI is off and typeid()
does not work.
+
BOOST_TYPE_INDEX_REGISTER_CTTI_CLASS macro expands to declaration and implementation of virtual const detail::ctti_data& type_id_runtime() const
method.
+
+
+
+
+
+
+
diff --git a/BOOST_TYPE_INDEX_REGISTER_STL_CLASS.html b/BOOST_TYPE_INDEX_REGISTER_STL_CLASS.html
new file mode 100644
index 0000000..ca57b47
--- /dev/null
+++ b/BOOST_TYPE_INDEX_REGISTER_STL_CLASS.html
@@ -0,0 +1,54 @@
+
+
+
+Macro BOOST_TYPE_INDEX_REGISTER_STL_CLASS
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Macro BOOST_TYPE_INDEX_REGISTER_STL_CLASS
+
BOOST_TYPE_INDEX_REGISTER_STL_CLASS
+
+
Synopsis
+
BOOST_TYPE_INDEX_REGISTER_STL_CLASS
+
+
Description
+
BOOST_TYPE_INDEX_REGISTER_STL_CLASS is used by BOOST_TYPE_INDEX_REGISTER_CLASS when RTTI is off and typeid()
does work.
+
BOOST_TYPE_INDEX_REGISTER_STL_CLASS macro expands to declaration and implementation of virtual const std::type_info& type_id_runtime() const
method.
+
+
+
+
+
+
+
diff --git a/BOOST_TYPE_INDEX_USER_TYPEINDEX.html b/BOOST_TYPE_INDEX_USER_TYPEINDEX.html
new file mode 100644
index 0000000..5d32266
--- /dev/null
+++ b/BOOST_TYPE_INDEX_USER_TYPEINDEX.html
@@ -0,0 +1,54 @@
+
+
+
+Macro BOOST_TYPE_INDEX_USER_TYPEINDEX
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Macro BOOST_TYPE_INDEX_USER_TYPEINDEX
+
BOOST_TYPE_INDEX_USER_TYPEINDEX
+
+
Synopsis
+
BOOST_TYPE_INDEX_USER_TYPEINDEX
+
+
Description
+
BOOST_TYPE_INDEX_USER_TYPEINDEX can be defined to the path to header file with user provided implementation of type_index.
+
See "Making own type_index" section of documentation for usage example.
+
+
+
+
+
+
+
diff --git a/boost/template_id.html b/boost/template_id.html
deleted file mode 100644
index 6d84167..0000000
--- a/boost/template_id.html
+++ /dev/null
@@ -1,54 +0,0 @@
-
-
-
-Function template template_id
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Function template template_id
-
boost::template_id
-
-
Synopsis
-
-
-
Description
-
Method for constructing template_info
instance for type T. Strips const, volatile and & modifiers from T.
-
-
-
-
-
-
-
diff --git a/boost/template_id_with_cvr.html b/boost/template_id_with_cvr.html
deleted file mode 100644
index a10a27b..0000000
--- a/boost/template_id_with_cvr.html
+++ /dev/null
@@ -1,54 +0,0 @@
-
-
-
-Function template template_id_with_cvr
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Function template template_id_with_cvr
-
boost::template_id_with_cvr
-
-
Synopsis
-
-template < typename T> const template_info & template_id_with_cvr ( ) ;
-
-
Description
-
Method for constructing template_info
instance for type T. Does not strip const, volatile and & modifiers from T. If T has no const, volatile, & and && modifiers, then returns exactly the same result as in case of calling template_id<T>()
.
-
-
-
-
-
-
-
diff --git a/boost/template_index.html b/boost/template_index.html
deleted file mode 100644
index 7734882..0000000
--- a/boost/template_index.html
+++ /dev/null
@@ -1,54 +0,0 @@
-
-
-
-Type definition template_index
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Type definition template_index
-
template_index
-
-
Synopsis
-
-
-
-
-
-
-
-
diff --git a/boost/template_info.html b/boost/template_info.html
deleted file mode 100644
index 18f0d80..0000000
--- a/boost/template_info.html
+++ /dev/null
@@ -1,120 +0,0 @@
-
-
-
-Class template_info
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Class template_info
-
boost::template_info
-
-
Synopsis
-
-
-
Description
-
Copyable type_info class that does not require RTTI. When RTTI is disabled this class will be used instead of boost::type_info and boost::type_index .
-
-
-template_info
- public
- construct/copy/destruct
-
-template_info ( ) noexcept ; Default constructor.
-
-
-
-template_info
public member functions
-
-
-bool before ( const template_info & rhs) const noexcept ;
-Returns true if the type precedes the type of rhs in the collation order. The collation order is just an internal order.
-
-
-const char * name ( ) const noexcept ; Returns raw name.
-
-std :: string name_demangled ( ) const ; Returns user-friendly name.
-bool operator == ( const template_info & rhs) const noexcept ;
-bool operator != ( const template_info & rhs) const noexcept ;
-bool operator < ( const template_info & rhs) const noexcept ;
-bool operator > ( const template_info & rhs) const noexcept ;
-bool operator <= ( const template_info & rhs) const noexcept ;
-bool operator >= ( const template_info & rhs) const noexcept ;
-
-std :: size_t hash_code ( ) const noexcept ; Function for getting hash value.
-
-
-
-
-template_info
public static functions
-
-
-template < typename T> static const template_info & construct ( ) ;
-Factory method for constructing boost::template_info
instance for type T. Strips const, volatile and & modifiers from T.
-Works exactly like boost::template_id().
-
-
-template < typename T> static const template_info & construct_with_cvr ( ) ;
-Factory method for constructing template_info
instance for type T. Does not strip const, volatile and & modifiers from T.
-Works exactly like boost::template_id_with_cvr().
-
-
-
-
-
-
-
-
-
-
diff --git a/boost/type_id.html b/boost/type_id.html
deleted file mode 100644
index e58dc6f..0000000
--- a/boost/type_id.html
+++ /dev/null
@@ -1,54 +0,0 @@
-
-
-
-Function template type_id
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Function template type_id
-
boost::type_id
-
-
Synopsis
-
-template < typename T> const type_info & type_id ( ) ;
-
-
Description
-
Function to get boost::type_info
for a type T. Strips const, volatile and & modifiers from T.
-
-
-
-
-
-
-
diff --git a/boost/type_id_rtti_on_idp5820176.html b/boost/type_id_rtti_on_idp5820176.html
deleted file mode 100644
index 452a4eb..0000000
--- a/boost/type_id_rtti_on_idp5820176.html
+++ /dev/null
@@ -1,54 +0,0 @@
-
-
-
-Function template type_id_rtti_only
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Function template type_id_rtti_only
-
boost::type_id_rtti_only
-
-
Synopsis
-
-template < typename T> const type_info & type_id_rtti_only ( T & rtti_val) ;
-
-
Description
-
Function that works exactly like C++ typeid(rtti_val) call, but returns boost::type_info
. This method available only with RTTI enabled. Without RTTI support it won't compile, producing a compile-time error with message: "boost::type_id_rtti_only(T&) requires RTTI"
-
-
-
-
-
-
-
diff --git a/boost/type_id_rtti_on_idp5823984.html b/boost/type_id_rtti_on_idp5823984.html
deleted file mode 100644
index 8bea982..0000000
--- a/boost/type_id_rtti_on_idp5823984.html
+++ /dev/null
@@ -1,54 +0,0 @@
-
-
-
-Function template type_id_rtti_only
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Function template type_id_rtti_only
-
boost::type_id_rtti_only
-
-
Synopsis
-
-template < typename T> const type_info & type_id_rtti_only ( T * rtti_val) ;
-
-
Description
-
Function that works exactly like C++ typeid(rtti_val) call, but returns boost::type_info
. This method available only with RTTI enabled. Without RTTI support it won't compile, producing a compile-time error with message: "boost::type_id_rtti_only(T*) requires RTTI"
-
-
-
-
-
-
-
diff --git a/boost/type_id_with_cvr.html b/boost/type_id_with_cvr.html
deleted file mode 100644
index 5715084..0000000
--- a/boost/type_id_with_cvr.html
+++ /dev/null
@@ -1,54 +0,0 @@
-
-
-
-Function template type_id_with_cvr
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Function template type_id_with_cvr
-
boost::type_id_with_cvr
-
-
Synopsis
-
-template < typename T> const type_info & type_id_with_cvr ( ) ;
-
-
Description
-
Function for constructing boost::type_info
instance for type T. Does not strip const, volatile, & and && modifiers from T. If T has no const, volatile, & and && modifiers, then returns exactly the same result as in case of calling type_id<T>()
.
-
-
-
-
-
-
-
diff --git a/boost/type_index.html b/boost/type_index.html
deleted file mode 100644
index bd499e0..0000000
--- a/boost/type_index.html
+++ /dev/null
@@ -1,121 +0,0 @@
-
-
-
-Class type_index
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Class type_index
-
boost::type_index
-
-
Synopsis
-
-
-
Description
-
This class is designed to be a drop-in replacement for C++11 std::type_index class.
-
Copyable std::type_index class that requires RTTI. When RTTI is disabled boost::template_index will be used instead of this class.
-
-
-type_index
- public
- construct/copy/destruct
-
-
-type_index ( ) noexcept ; Default constructor.
-
-type_index ( const type_info & inf) noexcept ; Constructs type_index
from an instance of boost::type_info
.
-
-type_index ( const std :: type_info & inf) noexcept ; Constructs type_index
from an instance of std::type_info.
-
-
-
-
-type_index
public member functions
-
-
-bool before ( type_index const & rhs) const noexcept ;
-Returns true if the type precedes the type of rhs in the collation order. The collation order is just an internal order.
-
-
-const char * name ( ) const noexcept ; Returns raw name.
-
-std :: string name_demangled ( ) const ; Returns user-friendly name.
-bool operator == ( type_index const & rhs) const noexcept ;
-bool operator != ( type_index const & rhs) const noexcept ;
-bool operator < ( type_index const & rhs) const noexcept ;
-bool operator > ( type_index const & rhs) const noexcept ;
-bool operator <= ( type_index const & rhs) const noexcept ;
-bool operator >= ( type_index const & rhs) const noexcept ;
-bool operator == ( std :: type_info const & rhs) const noexcept ;
-bool operator != ( std :: type_info const & rhs) const noexcept ;
-bool operator < ( std :: type_info const & rhs) const noexcept ;
-bool operator > ( std :: type_info const & rhs) const noexcept ;
-bool operator <= ( std :: type_info const & rhs) const noexcept ;
-bool operator >= ( std :: type_info const & rhs) const noexcept ;
-
-std :: size_t hash_code ( ) const noexcept ; Function for getting hash value.
-
-
-
-
-
-
-
-
-
diff --git a/boost/type_info.html b/boost/type_info.html
deleted file mode 100644
index a48b876..0000000
--- a/boost/type_info.html
+++ /dev/null
@@ -1,151 +0,0 @@
-
-
-
-Class type_info
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Class type_info
-
boost::type_info
-
-
Synopsis
-
-
-
Description
-
boost::type_info is a class that can be used as a drop-in replacement for std::type_info.
-
boost::type_info class is used in situations when RTTI is enabled. When RTTI is disabled or BOOST_TYPE_INDEX_FORCE_NO_RTTI_COMPATIBILITY macro is defined boost::template_info is used instead of it.
-
Unlike std::type_info this class:
-
-has a name_demangled() function for getting human-readable type names
-name() function always noexcept and returns simple mangled name as character a character array
-contains workarounds for some compiler issues
-
-
-
-
boost::type_info is not copyable and is not default constructible. Use boost::type_id* functions to get const references to instances of boost::type_info objects.
-
-
-type_info
- public
- construct/copy/destruct
-
-type_info ( ) ;
-type_info ( const type_info & ) ;
-
-
-
-
-type_info
public static functions
-
-
-template < typename T> static const boost::type_info & construct ( ) noexcept ;
-Factory method for constructing boost::type_info
instance for type T. Strips const, volatile and & modifiers from T.
-Works exactly like boost::type_id().
-
-
-template < typename T>
- static const boost::type_info & construct_with_cvr ( ) noexcept ;
-Factory method for constructing boost::type_info
instance for type T. Does not strip const, volatile, & and && modifiers from T. If T has no const, volatile, & and && modifiers, then returns exactly the same result as in case of calling construct<T>()
.
-Works exactly like boost::type_id_with_cvr().
-
-
-template < typename T>
- static const type_info & construct_rtti_only ( T & rtti_val) noexcept ;
-Factory function, that works exactly like C++ typeid(rtti_val) call, but returns boost::type_info
. This method available only with RTTI enabled.
-Same as boost::type_id_rtti_only().
-
-
-template < typename T>
- static const type_info & construct_rtti_only ( T * rtti_val) ;
-Factory function, that works exactly like C++ typeid(rtti_val) call, but returns boost::type_info
. This method available only with RTTI enabled.
-Same as boost::type_id_rtti_only().
-
-
-
-
-
-type_info
public member functions
-
-
-const char * name ( ) const noexcept ; Returns mangled type name.
-
-std :: string name_demangled ( ) const ; Returns user-friendly name.
-bool operator == ( type_info const & rhs) const noexcept ;
-bool operator != ( type_info const & rhs) const noexcept ;
-bool operator == ( std :: type_info const & rhs) const noexcept ;
-bool operator != ( std :: type_info const & rhs) const noexcept ;
-
-bool before ( type_info const & rhs) const noexcept ;
-Returns true if the type precedes the type of rhs in the collation order. The collation order is just an internal order. Works exactly like operator <
-
-
-bool before ( std :: type_info const & rhs) const noexcept ;
-Returns true if the type precedes the type of rhs in the collation order. The collation order is just an internal order. Works exactly like operator <
-
-
-std :: size_t hash_code ( ) const noexcept ; Function for getting hash value.
-
-
-
-
-
-
-
-
-
diff --git a/boost/typeind/ctti_type_index.html b/boost/typeind/ctti_type_index.html
new file mode 100644
index 0000000..e8bd99e
--- /dev/null
+++ b/boost/typeind/ctti_type_index.html
@@ -0,0 +1,105 @@
+
+
+
+Class ctti_type_index
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Class ctti_type_index
+
boost::typeind::ctti_type_index
+
+
Synopsis
+
+
+
Description
+
This class is a wrapper that pretends to work exactly like stl_type_info, but does not require RTTI support. For description of functions see type_index_facade .
+
This class produces slightly longer type names, so consider using stl_type_index in situations when typeid() is working.
+
+
+ctti_type_index
+ public
+ construct/copy/destruct
+
+ctti_type_index ( ) noexcept ;
+ctti_type_index ( const type_info_t & data) noexcept ;
+
+
+
+
+ctti_type_index
public member functions
+
+const type_info_t & type_info ( ) const noexcept ;
+const char * raw_name ( ) const noexcept ;
+std :: string pretty_name ( ) const ;
+std :: size_t hash_code ( ) const noexcept ;
+
+
+
+
+ctti_type_index
public static functions
+
+template < typename T> static ctti_type_index type_id ( ) noexcept ;
+template < typename T> static ctti_type_index type_id_with_cvr ( ) noexcept ;
+template < typename T>
+ static ctti_type_index type_id_runtime ( const T & variable) noexcept ;
+
+
+
+
+
+
+
+
+
diff --git a/boost/typeind/stl_type_index.html b/boost/typeind/stl_type_index.html
new file mode 100644
index 0000000..9158ec5
--- /dev/null
+++ b/boost/typeind/stl_type_index.html
@@ -0,0 +1,113 @@
+
+
+
+Class stl_type_index
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Class stl_type_index
+
boost::typeind::stl_type_index
+
+
Synopsis
+
+
+
Description
+
This class is a wrapper around std::type_info, that workarounds issues and provides much more rich interface. For description of functions see type_index_facade .
+
This class requires typeid() to work. For cases when RTTI is disabled see ctti_type_index .
+
+
+stl_type_index
+ public
+ construct/copy/destruct
+
+stl_type_index ( ) noexcept ;
+stl_type_index ( const type_info_t & data) noexcept ;
+
+
+
+
+stl_type_index
public member functions
+
+const type_info_t & type_info ( ) const noexcept ;
+const char * raw_name ( ) const noexcept ;
+const char * name ( ) const noexcept ;
+std :: string pretty_name ( ) const ;
+std :: size_t hash_code ( ) const noexcept ;
+bool equal ( const stl_type_index & rhs) const noexcept ;
+bool before ( const stl_type_index & rhs) const noexcept ;
+
+
+
+
+stl_type_index
public static functions
+
+template < typename T> static stl_type_index type_id ( ) noexcept ;
+template < typename T> static stl_type_index type_id_with_cvr ( ) noexcept ;
+template < typename T>
+ static stl_type_index type_id_runtime ( const T & value) noexcept ;
+
+
+
+
+
+
+
+
+
diff --git a/boost/typeind/type_id.html b/boost/typeind/type_id.html
new file mode 100644
index 0000000..93a9f02
--- /dev/null
+++ b/boost/typeind/type_id.html
@@ -0,0 +1,85 @@
+
+
+
+Function template type_id
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Function template type_id
+
boost::typeind::type_id
+
+
Synopsis
+
+template < typename T> type_index type_id ( ) ;
+
+
Description
+
Function to get boost::type_index for a type T. Removes const, volatile && and & modifiers from T.
+
Example:
+
type_index ti = type_id < int & > ( ) ;
+std :: cout << ti . pretty_name ( ) ;
+
+
+
+
+
+
+
+
+
+Template Parameters:
+
+
+
+T
+Type for which type_index must be created.
+
+
+
+
+Returns:
+boost::typeind::type_index with information about the specified type T.
+
+
+Throws:
+Nothing.
+
+
+
+
+
+
+
+
+
+
diff --git a/boost/typeind/type_id_runtime.html b/boost/typeind/type_id_runtime.html
new file mode 100644
index 0000000..99e0d09
--- /dev/null
+++ b/boost/typeind/type_id_runtime.html
@@ -0,0 +1,92 @@
+
+
+
+Function template type_id_runtime
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Function template type_id_runtime
+
boost::typeind::type_id_runtime
+
+
Synopsis
+
+template < typename T> type_index type_id_runtime ( const T & runtime_val) ;
+
+
Description
+
Function that works exactly like C++ typeid(rtti_val) call, but returns boost::type_index.
+
Retunrs runtime information about specified type.
+
Requirements: RTTI available or Base and Derived classes must be marked with BOOST_TYPE_INDEX_REGISTER_CLASS.
+
Example:
+
struct Base { virtual ~ Base ( ) { } } ;
+struct Derived : public Base { } ;
+...
+Derived d ;
+Base & b = d ;
+type_index ti = type_id_runtime ( b ) ;
+std :: cout << ti . pretty_name ( ) ;
+
+
+
+
+
+
+
+
+
+Parameters:
+
+
+
+runtime_val
+Varaible which runtime type must be returned.
+
+
+
+
+Returns:
+boost::typeind::type_index with information about the specified variable.
+
+
+Throws:
+Nothing.
+
+
+
+
+
+
+
+
+
+
diff --git a/boost/typeind/type_id_with_cvr.html b/boost/typeind/type_id_with_cvr.html
new file mode 100644
index 0000000..99253aa
--- /dev/null
+++ b/boost/typeind/type_id_with_cvr.html
@@ -0,0 +1,86 @@
+
+
+
+Function template type_id_with_cvr
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Function template type_id_with_cvr
+
boost::typeind::type_id_with_cvr
+
+
Synopsis
+
+template < typename T> type_index type_id_with_cvr ( ) ;
+
+
Description
+
Function for constructing boost::type_index instance for type T. Does not remove const, volatile, & and && modifiers from T.
+
If T has no const, volatile, & and && modifiers, then returns exactly the same result as in case of calling type_id<T>()
.
+
Example:
+
type_index ti = type_id_with_cvr < int & > ( ) ;
+std :: cout << ti . pretty_name ( ) ;
+
+
+
+
+
+
+
+
+
+Template Parameters:
+
+
+
+T
+Type for which type_index must be created.
+
+
+
+
+Returns:
+boost::typeind::type_index with information about the specified type T.
+
+
+Throws:
+Nothing.
+
+
+
+
+
+
+
+
+
+
diff --git a/boost/typeind/type_index.html b/boost/typeind/type_index.html
new file mode 100644
index 0000000..a6de3ef
--- /dev/null
+++ b/boost/typeind/type_index.html
@@ -0,0 +1,55 @@
+
+
+
+Type definition type_index
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Type definition type_index
+
type_index
+
+
Synopsis
+
+typedef platform specific type_index ;
+
+
+
+
+
+
+
diff --git a/boost/typeind/type_index_facade.html b/boost/typeind/type_index_facade.html
new file mode 100644
index 0000000..8b0efaf
--- /dev/null
+++ b/boost/typeind/type_index_facade.html
@@ -0,0 +1,277 @@
+
+
+
+Class template type_index_facade
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Class template type_index_facade
+
boost::typeind::type_index_facade
+
+
Synopsis
+
template < typename Derived, typename TypeInfo>
+class type_index_facade {
+public :
+
+ typedef TypeInfo type_info_t ;
+
+
+ const type_info_t & type_info ( ) const noexcept ;
+ const char * raw_name ( ) const noexcept ;
+ std :: string pretty_name ( ) const ;
+ const char * name ( ) const noexcept ;
+ bool equal ( const Derived & ) const noexcept ;
+ bool before ( const Derived & ) const noexcept ;
+ std :: size_t hash_code ( ) const noexcept ;
+
+
+ template < typename T> static Derived type_id ( ) noexcept ;
+ template < typename T> static Derived type_id_with_cvr ( ) noexcept ;
+ template < typename T> static Derived type_id_runtime ( const T & ) noexcept ;
+} ;
+
+
Description
+
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.
+
Example:
+
class stl_type_index : public type_index_facade < stl_type_index , std :: type_info >
+{
+public :
+ typedef std :: type_info type_info_t ;
+private :
+ const type_info_t * data_ ;
+
+public :
+ stl_type_index ( const type_info_t & data ) noexcept
+ : data_ ( & data )
+ { }
+
+} ;
+
+
+
+
+
Template Parameters
+
+
+typename Derived
+Class derived from type_index_facade
.
+
+
+typename TypeInfo
+Class that will be used as a base type_info class.
+
+
+
+
+
+type_index_facade
public member functions
+
+
+const type_info_t & type_info ( ) const noexcept ;
+Override: This function must be redefined in Derived class. Overrides must not throw.
+
+
+
+
+Returns:
+Const reference to underlying low level type_info_t.
+
+
+
+
+const char * raw_name ( ) const noexcept ;
+Override: This function must be redefined in Derived class. Overrides must not throw.
+
+
+
+
+Returns:
+Pointer to unredable/raw type name.
+
+
+
+
+std :: string pretty_name ( ) const ;
+Override: This function must be redefined in Derived class. Overrides may throw.
+
+
+
+
+Returns:
+Human redable type name.
+
+
+
+
+const char * name ( ) const noexcept ;
+Override: This function may be redefined in Derived class. Overrides must not throw.
+
+
+
+
+Returns:
+Name of a type. By default retuns raw_name().
+
+
+
+
+bool equal ( const Derived & rhs) const noexcept ;
+Override: This function may be redefined in Derived class. Overrides must not throw.
+
+
+
+
+Returns:
+True if two types are equal. By default compares types by raw_name().
+
+
+
+
+bool before ( const Derived & rhs) const noexcept ;
+Override: This function may be redefined in Derived class. Overrides must not throw.
+
+
+
+
+Returns:
+True if rhs is greater than this. By default compares types by raw_name().
+
+
+
+
+std :: size_t hash_code ( ) const noexcept ;
+Override: This function may be redefined in Derived class. Overrides must not throw.
+
+
+
+
+Returns:
+Hash code of a type. By default hashes types by raw_name().
+
+
+
+
+
+
+
+type_index_facade
protected static functions
+
+
+template < typename T> static Derived type_id ( ) noexcept ;
+This is a factory method that is used to create instances of Derived classes. boost::typeind::type_id() will call this method, if Derived has same type as boost::typeind::type_index.
+Override: This function may be redefined and made public in Derived class. Overrides must not throw. Overrides must remove const, volatile && and & modifiers from T.
+
+
+
+
+
+
+Template Parameters:
+
+
+
+T
+Type for which type_index must be created.
+
+
+
+
+Returns:
+type_index for type T.
+
+
+
+
+
+template < typename T> static Derived type_id_with_cvr ( ) noexcept ;
+This is a factory method that is used to create instances of Derived classes. boost::typeind::type_id_with_cvr() will call this method, if Derived has same type as boost::typeind::type_index.
+Override: This function may be redefined and made public in Derived class. Overrides must not throw. Overrides must not remove const, volatile && and & modifiers from T.
+
+
+
+
+
+
+Template Parameters:
+
+
+
+T
+Type for which type_index must be created.
+
+
+
+
+Returns:
+type_index for type T.
+
+
+
+
+
+template < typename T>
+ static Derived type_id_runtime ( const T & variable) noexcept ;
+This is a factory method that is used to create instances of Derived classes. boost::typeind::type_id_runtime(const T&) will call this method, if Derived has same type as boost::typeind::type_index.
+Override: This function may be redefined and made public in Derived class.
+
+
+
+
+
+
+Parameters:
+
+
+
+variable
+Variable which runtime type will be stored in type_index.
+
+
+
+
+Returns:
+type_index with runtime type of variable.
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/boost/typeind/type_info.html b/boost/typeind/type_info.html
new file mode 100644
index 0000000..8c875c5
--- /dev/null
+++ b/boost/typeind/type_info.html
@@ -0,0 +1,56 @@
+
+
+
+Type definition type_info
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Type definition type_info
+
type_info
+
+
Synopsis
+
+typedef type_index :: type_info_t type_info ;
+
+
Description
+
Depending on a compiler flags, optimal implementation of type_info will be used as a default boost::typeind::type_info.
+
Could be a std::type_info, boost::typeind::detail::ctti_data or some user defined class.
+
type_info is not copyable or default constructible. It is not assignable too!
+
+
+
+
+
+
+
diff --git a/boost_typeindex/acknowledgements.html b/boost_typeindex/acknowledgements.html
index 363ab53..714278d 100644
--- a/boost_typeindex/acknowledgements.html
+++ b/boost_typeindex/acknowledgements.html
@@ -4,8 +4,8 @@
Acknowledgements
-
-
+
+
@@ -30,20 +30,21 @@
- Peter Dimov for writing source codes in late 2007, ideas from which were
- refined and put into this library.
+ Peter Dimov for writing source codes in late 2007, that gave me an idea
+ of how to emulate RTTI.
Agustín Bergé K-ballo for helping with docs and fixing a lot of typos.
- Niall Douglas for generating a lot of great ideas and reviewing the sources.
+ Niall Douglas for generating a lot of great ideas, reviewing the sources
+ and being the review manager for the library.