diff --git a/BOOST_TYPE_INDEX_FORCE_NO_RTTI_COMPATIBILITY.html b/BOOST_TYPE_INDEX_FORCE_NO_RTTI_COMPATIBILITY.html index ab364c6..3a04ba1 100644 --- a/BOOST_TYPE_INDEX_FORCE_NO_RTTI_COMPATIBILITY.html +++ b/BOOST_TYPE_INDEX_FORCE_NO_RTTI_COMPATIBILITY.html @@ -33,7 +33,7 @@ BOOST_TYPE_INDEX_FORCE_NO_RTTI_COMPATIBILITY
BOOST_TYPE_INDEX_FORCE_NO_RTTI_COMPATIBILITY is a helper macro that must be defined if mixing RTTI on/off modules. See "Mixing sources with RTTI on and RTTI off" section of documentation for more info.
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.
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.
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.
This class is a wrapper that pretends to work exactly like stl_type_index, 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 member functionsctti_type_index
public member functionsconst 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;
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 functionsctti_type_index
public static functionstemplate<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() 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;
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 member functionsstl_type_index
public member functionsconst 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;
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 functionsstl_type_index
public static functionstemplate<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() 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;
Function to get boost::type_index for a type T. Removes const, volatile && and & modifiers from T.
Example:
type_index ti = type_id<int&>(); diff --git a/boost/typeind/type_id_runtime.html b/boost/typeind/type_id_runtime.html index a7eb994..b89c237 100644 --- a/boost/typeind/type_id_runtime.html +++ b/boost/typeind/type_id_runtime.html @@ -34,7 +34,7 @@ template<typename T> type_index type_id_runtime(const T & runtime_val);
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.
diff --git a/boost/typeind/type_id_with_cvr.html b/boost/typeind/type_id_with_cvr.html index 885bfac..da6ecd2 100644 --- a/boost/typeind/type_id_with_cvr.html +++ b/boost/typeind/type_id_with_cvr.html @@ -34,7 +34,7 @@ template<typename T> type_index type_id_with_cvr();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:
diff --git a/boost/typeind/type_index.html b/boost/typeind/type_index.html index 6e4f8f5..41b83d8 100644 --- a/boost/typeind/type_index.html +++ b/boost/typeind/type_index.html @@ -34,7 +34,7 @@ typedef platform specific type_index;Depending on a compiler flags, optimal implementation of type_index will be used as a default boost::typeind::type_index.
Could be a boost::typeind::stl_type_index, boost::typeind::ctti_type_index or user defined type_index class.
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> @@ -72,7 +72,7 @@
--
+type_index_facade
public member functions+
type_index_facade
public member functions
- -
const type_info_t & type_info() const noexcept;+const type_info_t & type_info() const noexcept;Override: This function must be redefined in Derived class. Overrides must not throw.
@@ -101,7 +101,7 @@
- -
const char * raw_name() const noexcept;+const char * raw_name() const noexcept;Override: This function must be redefined in Derived class. Overrides must not throw.
@@ -113,7 +113,7 @@
- -
std::string pretty_name() const;+std::string pretty_name() const;Override: This function must be redefined in Derived class. Overrides may throw.
@@ -125,7 +125,7 @@
- -
const char * name() const noexcept;+const char * name() const noexcept;Override: This function may be redefined in Derived class. Overrides must not throw.
@@ -137,7 +137,7 @@
- -
bool equal(const Derived & rhs) const noexcept;+bool equal(const Derived & rhs) const noexcept;Override: This function may be redefined in Derived class. Overrides must not throw.
@@ -149,7 +149,7 @@
- -
bool before(const Derived & rhs) const noexcept;+bool before(const Derived & rhs) const noexcept;Override: This function may be redefined in Derived class. Overrides must not throw.
@@ -161,7 +161,7 @@
- -
std::size_t hash_code() const noexcept;+std::size_t hash_code() const noexcept;Override: This function may be redefined in Derived class. Overrides must not throw.
- -
template<typename T> static Derived type_id_with_cvr() noexcept;+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. @@ -232,7 +232,7 @@
template<typename T> - static Derived type_id_runtime(const T & variable) noexcept;+ 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. diff --git a/boost/typeind/type_info.html b/boost/typeind/type_info.html index c4334f7..76b4426 100644 --- a/boost/typeind/type_info.html +++ b/boost/typeind/type_info.html @@ -34,7 +34,7 @@ typedef type_index::type_info_t type_info;
-Description
+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/examples.html b/boost_typeindex/examples.html index fd54fba..ec092c4 100644 --- a/boost_typeindex/examples.html +++ b/boost_typeindex/examples.html @@ -169,7 +169,7 @@ In this example we'll create a class, that stores pointer to function and remembers the exact type of a parameter that function accepts. When an attempt to call the stored function will be made, type of input parameter will be - checked for exact match with initaily erased type of function. + checked for exact match with initially erased type of function.#include <boost/type_index.hpp> #include <iostream> diff --git a/boost_typeindex/making_own_type_index.html b/boost_typeindex/making_own_type_index.html index 235fa76..dda7a69 100644 --- a/boost_typeindex/making_own_type_index.html +++ b/boost_typeindex/making_own_type_index.html @@ -226,7 +226,7 @@ } // namespace my_namespace- Now the follwoing example will compile and work. + Now the following example will compile and work.
my_struct str; my_class& reference = str; diff --git a/boost_typeindex_header_reference.html b/boost_typeindex_header_reference.html index 6d3b811..2e10afc 100644 --- a/boost_typeindex_header_reference.html +++ b/boost_typeindex_header_reference.html @@ -104,20 +104,20 @@ template<typename Derived, typename TypeInfo> class type_index_facade; // noexcept comparison operators for type_index_facade classes. - bool operator?(const type_index_facade & lhs, + bool operator?(const type_index_facade & lhs, const type_index_facade & rhs); // noexcept comparison operators for type_index_facade and it's TypeInfo classes. - bool operator?(const type_index_facade & lhs, const TypeInfo & rhs); + bool operator?(const type_index_facade & lhs, const TypeInfo & rhs); // noexcept comparison operators for type_index_facade's TypeInfo and type_index_facade classes. - bool operator?(const TypeInfo & lhs, const type_index_facade & rhs); + bool operator?(const TypeInfo & lhs, const type_index_facade & rhs); // Ostream operator that will output demangled name. template<typename CharT, typename TriatT, typename Derived, typename TypeInfo> std::basic_ostream< CharT, TriatT > & - operator<<(std::basic_ostream< CharT, TriatT > & ostr, + operator<<(std::basic_ostream< CharT, TriatT > & ostr, const type_index_facade< Derived, TypeInfo > & ind); // This free function is used by Boost's unordered containers. diff --git a/index.html b/index.html index b0a8d95..0e7c85b 100644 --- a/index.html +++ b/index.html @@ -140,7 +140,7 @@
Last revised: February 21, 2014 at 13:52:51 GMT |
+Last revised: March 05, 2014 at 11:15:27 GMT |