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
-

Description

+

Description

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.

diff --git a/BOOST_TYPE_INDEX_REGISTER_CTTI_CLASS.html b/BOOST_TYPE_INDEX_REGISTER_CTTI_CLASS.html index f3d334b..262a5d4 100644 --- a/BOOST_TYPE_INDEX_REGISTER_CTTI_CLASS.html +++ b/BOOST_TYPE_INDEX_REGISTER_CTTI_CLASS.html @@ -33,7 +33,7 @@ BOOST_TYPE_INDEX_REGISTER_CTTI_CLASS
-

Description

+

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 index ca6c012..e0c8459 100644 --- a/BOOST_TYPE_INDEX_REGISTER_STL_CLASS.html +++ b/BOOST_TYPE_INDEX_REGISTER_STL_CLASS.html @@ -33,7 +33,7 @@ BOOST_TYPE_INDEX_REGISTER_STL_CLASS
-

Description

+

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 index 46b14f3..5dcbb5a 100644 --- a/BOOST_TYPE_INDEX_USER_TYPEINDEX.html +++ b/BOOST_TYPE_INDEX_USER_TYPEINDEX.html @@ -33,7 +33,7 @@ BOOST_TYPE_INDEX_USER_TYPEINDEX
-

Description

+

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/typeind/ctti_type_index.html b/boost/typeind/ctti_type_index.html index fa5a420..cb2ad38 100644 --- a/boost/typeind/ctti_type_index.html +++ b/boost/typeind/ctti_type_index.html @@ -38,53 +38,53 @@ typedef unspecified type_info_t; // construct/copy/destruct - ctti_type_index() noexcept; - ctti_type_index(const type_info_t &) noexcept; + ctti_type_index() noexcept; + ctti_type_index(const type_info_t &) noexcept; - // 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; + // 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; - // 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; + // 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 &) noexcept; + static ctti_type_index type_id_runtime(const T &) noexcept; };
-

Description

+

Description

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 construct/copy/destruct

    -
  1. ctti_type_index() noexcept;
  2. -
  3. ctti_type_index(const type_info_t & data) noexcept;
  4. +
  5. ctti_type_index() noexcept;
  6. +
  7. ctti_type_index(const type_info_t & data) noexcept;
-

-ctti_type_index public member functions

+

+ctti_type_index public member functions

    -
  1. const type_info_t & type_info() const noexcept;
  2. -
  3. const char * raw_name() const noexcept;
  4. -
  5. std::string pretty_name() const;
  6. -
  7. std::size_t hash_code() const noexcept;
  8. +
  9. const type_info_t & type_info() const noexcept;
  10. +
  11. const char * raw_name() const noexcept;
  12. +
  13. std::string pretty_name() const;
  14. +
  15. std::size_t hash_code() const noexcept;
-

-ctti_type_index public static functions

+

+ctti_type_index public static functions

    -
  1. template<typename T> static ctti_type_index type_id() noexcept;
  2. -
  3. template<typename T> static ctti_type_index type_id_with_cvr() noexcept;
  4. +
  5. template<typename T> static ctti_type_index type_id() noexcept;
  6. +
  7. template<typename T> static ctti_type_index type_id_with_cvr() noexcept;
  8. template<typename T> 
    -  static ctti_type_index type_id_runtime(const T & variable) noexcept;
  9. + 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 index 64267e1..c216065 100644 --- a/boost/typeind/stl_type_index.html +++ b/boost/typeind/stl_type_index.html @@ -40,59 +40,59 @@ typedef std::type_info type_info_t; // construct/copy/destruct - stl_type_index() noexcept; - stl_type_index(const type_info_t &) noexcept; + stl_type_index() noexcept; + stl_type_index(const type_info_t &) noexcept; - // 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 &) const noexcept; - bool before(const stl_type_index &) const noexcept; + // 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 &) const noexcept; + bool before(const stl_type_index &) const noexcept; - // 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; + // 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 &) noexcept; + static stl_type_index type_id_runtime(const T &) noexcept; };
-

Description

+

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

    -
  1. stl_type_index() noexcept;
  2. -
  3. stl_type_index(const type_info_t & data) noexcept;
  4. +
  5. stl_type_index() noexcept;
  6. +
  7. stl_type_index(const type_info_t & data) noexcept;
-

-stl_type_index public member functions

+

+stl_type_index public member functions

    -
  1. const type_info_t & type_info() const noexcept;
  2. -
  3. const char * raw_name() const noexcept;
  4. -
  5. const char * name() const noexcept;
  6. -
  7. std::string pretty_name() const;
  8. -
  9. std::size_t hash_code() const noexcept;
  10. -
  11. bool equal(const stl_type_index & rhs) const noexcept;
  12. -
  13. bool before(const stl_type_index & rhs) const noexcept;
  14. +
  15. const type_info_t & type_info() const noexcept;
  16. +
  17. const char * raw_name() const noexcept;
  18. +
  19. const char * name() const noexcept;
  20. +
  21. std::string pretty_name() const;
  22. +
  23. std::size_t hash_code() const noexcept;
  24. +
  25. bool equal(const stl_type_index & rhs) const noexcept;
  26. +
  27. bool before(const stl_type_index & rhs) const noexcept;
-

-stl_type_index public static functions

+

+stl_type_index public static functions

    -
  1. template<typename T> static stl_type_index type_id() noexcept;
  2. -
  3. template<typename T> static stl_type_index type_id_with_cvr() noexcept;
  4. +
  5. template<typename T> static stl_type_index type_id() noexcept;
  6. +
  7. template<typename T> static stl_type_index type_id_with_cvr() noexcept;
  8. template<typename T> 
    -  static stl_type_index type_id_runtime(const T & value) noexcept;
  9. + 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 index 751c60c..040f462 100644 --- a/boost/typeind/type_id.html +++ b/boost/typeind/type_id.html @@ -34,7 +34,7 @@ template<typename T> type_index type_id();
-

Description

+

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&>();
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);
-

Description

+

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.

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();
-

Description

+

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:

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;
-

Description

+

Description

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.

diff --git a/boost/typeind/type_index_facade.html b/boost/typeind/type_index_facade.html index dbb0d87..9da6f89 100644 --- a/boost/typeind/type_index_facade.html +++ b/boost/typeind/type_index_facade.html @@ -37,22 +37,22 @@ // types typedef TypeInfo type_info_t; - // public member functions - 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; + // public member functions + 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; - // protected static functions - 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; + // protected static functions + 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

+

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> 
@@ -72,7 +72,7 @@
 

-

Template Parameters

+

Template Parameters

  1. typename Derived
    @@ -85,11 +85,11 @@
-

-type_index_facade public member functions

+

+type_index_facade public member functions

  1. -
    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 @@
  2. -
    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 @@
  3. -
    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 @@
  4. -
    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 @@
  5. -
    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 @@
  6. -
    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 @@
  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.

    @@ -175,11 +175,11 @@
    -

    -type_index_facade protected static functions

    +

    +type_index_facade protected static functions

    1. -
      template<typename T> static Derived type_id() noexcept;
      +
      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. @@ -205,7 +205,7 @@

  8. -
    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 @@

  9. 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