diff --git a/BOOST_TYPE_INDEX_CTTI_BEGIN_SKIP.html b/BOOST_TYPE_INDEX_CTTI_BEGIN_SKIP.html index 5acddfc..cda60f9 100644 --- a/BOOST_TYPE_INDEX_CTTI_BEGIN_SKIP.html +++ b/BOOST_TYPE_INDEX_CTTI_BEGIN_SKIP.html @@ -33,7 +33,7 @@ BOOST_TYPE_INDEX_CTTI_BEGIN_SKIP
-

Description

+

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 index f7ddbe9..7d96161 100644 --- a/BOOST_TYPE_INDEX_CTTI_END_SKIP.html +++ b/BOOST_TYPE_INDEX_CTTI_END_SKIP.html @@ -33,7 +33,7 @@ BOOST_TYPE_INDEX_CTTI_END_SKIP
-

Description

+

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_NORTTI_COMPATIBILITY.html b/BOOST_TYPE_INDEX_FORCE_NO_RTTI_COMPATIBILITY.html similarity index 79% rename from BOOST_TYPE_INDEX_FORCE_NORTTI_COMPATIBILITY.html rename to BOOST_TYPE_INDEX_FORCE_NO_RTTI_COMPATIBILITY.html index c9e108c..df4efcb 100644 --- a/BOOST_TYPE_INDEX_FORCE_NORTTI_COMPATIBILITY.html +++ b/BOOST_TYPE_INDEX_FORCE_NO_RTTI_COMPATIBILITY.html @@ -1,12 +1,12 @@ -Macro BOOST_TYPE_INDEX_FORCE_NORTTI_COMPATIBILITY +Macro BOOST_TYPE_INDEX_FORCE_NO_RTTI_COMPATIBILITY - + @@ -20,21 +20,21 @@
-PrevUpHomeNext +PrevUpHomeNext
-
+
-

Macro BOOST_TYPE_INDEX_FORCE_NORTTI_COMPATIBILITY

-

BOOST_TYPE_INDEX_FORCE_NORTTI_COMPATIBILITY

+

Macro BOOST_TYPE_INDEX_FORCE_NO_RTTI_COMPATIBILITY

+

BOOST_TYPE_INDEX_FORCE_NO_RTTI_COMPATIBILITY

Synopsis

// In header: <boost/type_index/type_info.hpp>
 
-BOOST_TYPE_INDEX_FORCE_NORTTI_COMPATIBILITY
+BOOST_TYPE_INDEX_FORCE_NO_RTTI_COMPATIBILITY
-

Description

-

Define the BOOST_TYPE_INDEX_FORCE_NORTTI_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.

+

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.

@@ -47,7 +47,7 @@

-PrevUpHomeNext +PrevUpHomeNext
diff --git a/BOOST_TYPE_INDEX_FUNCTION_SIGNATURE.html b/BOOST_TYPE_INDEX_FUNCTION_SIGNATURE.html index adebd56..1cf1b27 100644 --- a/BOOST_TYPE_INDEX_FUNCTION_SIGNATURE.html +++ b/BOOST_TYPE_INDEX_FUNCTION_SIGNATURE.html @@ -33,7 +33,7 @@ BOOST_TYPE_INDEX_FUNCTION_SIGNATURE
-

Description

+

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/template_id.html b/boost/template_id.html index 95516e8..3810caf 100644 --- a/boost/template_id.html +++ b/boost/template_id.html @@ -34,7 +34,7 @@ template<typename T> const template_info & template_id();
-

Description

+

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 index c6d3812..27938b3 100644 --- a/boost/template_id_with_cvr.html +++ b/boost/template_id_with_cvr.html @@ -34,8 +34,8 @@ template<typename T> const template_info & template_id_with_cvr();
-

Description

-

Factory 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>()`.

+

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 index efe19f8..965623d 100644 --- a/boost/template_index.html +++ b/boost/template_index.html @@ -34,7 +34,7 @@ typedeftemplate_infotemplate_index;
-

Description

+

Description

boost::template_index is just a typedef of boost::template_info, that combines functionality of boost::type_info and boost::type_index but can work with RTTI disabled.

diff --git a/boost/template_info.html b/boost/template_info.html index a208830..3895627 100644 --- a/boost/template_info.html +++ b/boost/template_info.html @@ -35,70 +35,70 @@ classtemplate_info{public:// construct/copy/destruct - template_info()noexcept; + template_info()noexcept; - // public member functions - boolbefore(consttemplate_info&)constnoexcept; - constchar*name()constnoexcept; - std::stringname_demangled()const; - booloperator==(consttemplate_info&)constnoexcept; - booloperator!=(consttemplate_info&)constnoexcept; - booloperator<(consttemplate_info&)constnoexcept; - booloperator>(consttemplate_info&)constnoexcept; - booloperator<=(consttemplate_info&)constnoexcept; - booloperator>=(consttemplate_info&)constnoexcept; - std::size_thash_code()constnoexcept; + // public member functions + boolbefore(consttemplate_info&)constnoexcept; + constchar*name()constnoexcept; + std::stringname_demangled()const; + booloperator==(consttemplate_info&)constnoexcept; + booloperator!=(consttemplate_info&)constnoexcept; + booloperator<(consttemplate_info&)constnoexcept; + booloperator>(consttemplate_info&)constnoexcept; + booloperator<=(consttemplate_info&)constnoexcept; + booloperator>=(consttemplate_info&)constnoexcept; + std::size_thash_code()constnoexcept; - // public static functions - template<typename T>staticconsttemplate_info&construct(); - template<typename T>staticconsttemplate_info&construct_with_cvr(); + // public static functions + template<typename T>staticconsttemplate_info&construct(); + template<typename T>staticconsttemplate_info&construct_with_cvr();};
-

Description

+

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

  1. -
    template_info() noexcept;
    -

    Default constructor.

    -
+
template_info() noexcept;
Default constructor.
-

-template_info public member functions

+

+template_info public member functions

  1. -
    bool before(const template_info & rhs) const noexcept;
    +
    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.

  2. -
    const char * name() const noexcept;
    Returns raw name.
  3. +
    const char * name() const noexcept;
    Returns raw name.
  4. -
    std::string name_demangled() const;
    Returns user-friendly name.
  5. -
  6. bool operator==(const template_info & rhs) const noexcept;
  7. -
  8. bool operator!=(const template_info & rhs) const noexcept;
  9. -
  10. bool operator<(const template_info & rhs) const noexcept;
  11. -
  12. bool operator>(const template_info & rhs) const noexcept;
  13. -
  14. bool operator<=(const template_info & rhs) const noexcept;
  15. -
  16. bool operator>=(const template_info & rhs) const noexcept;
  17. +
    std::string name_demangled() const;
    Returns user-friendly name. +
  18. bool operator==(const template_info & rhs) const noexcept;
  19. +
  20. bool operator!=(const template_info & rhs) const noexcept;
  21. +
  22. bool operator<(const template_info & rhs) const noexcept;
  23. +
  24. bool operator>(const template_info & rhs) const noexcept;
  25. +
  26. bool operator<=(const template_info & rhs) const noexcept;
  27. +
  28. bool operator>=(const template_info & rhs) const noexcept;
  29. -
    std::size_t hash_code() const noexcept;
    Function for getting hash value.
  30. +
    std::size_t hash_code() const noexcept;
    Function for getting hash value.
-

-template_info public static functions

+

+template_info public static functions

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

    +
    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().

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

    +
    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 index eaf76e7..c941e1b 100644 --- a/boost/type_id.html +++ b/boost/type_id.html @@ -34,7 +34,7 @@ template<typename T>consttype_info&type_id();
-

Description

+

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_idp5863488.html b/boost/type_id_rtti_on_idp5899632.html similarity index 93% rename from boost/type_id_rtti_on_idp5863488.html rename to boost/type_id_rtti_on_idp5899632.html index cc5c0e2..4e35f31 100644 --- a/boost/type_id_rtti_on_idp5863488.html +++ b/boost/type_id_rtti_on_idp5899632.html @@ -7,7 +7,7 @@ - +
@@ -20,10 +20,10 @@

-PrevUpHomeNext +PrevUpHomeNext
-
+

Function template type_id_rtti_only

boost::type_id_rtti_only

@@ -34,7 +34,7 @@ template<typename T> const type_info & type_id_rtti_only(T & rtti_val);
-

Description

+

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"

@@ -48,7 +48,7 @@
-PrevUpHomeNext +PrevUpHomeNext
diff --git a/boost/type_id_rtti_on_idp5867296.html b/boost/type_id_rtti_on_idp5903440.html similarity index 84% rename from boost/type_id_rtti_on_idp5867296.html rename to boost/type_id_rtti_on_idp5903440.html index d1d45af..adf0a9c 100644 --- a/boost/type_id_rtti_on_idp5867296.html +++ b/boost/type_id_rtti_on_idp5903440.html @@ -6,8 +6,8 @@ - - + + @@ -20,10 +20,10 @@

-PrevUpHomeNext +PrevUpHomeNext
-
+

Function template type_id_rtti_only

boost::type_id_rtti_only

@@ -34,7 +34,7 @@ template<typename T> const type_info & type_id_rtti_only(T * rtti_val);
-

Description

+

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"

@@ -48,7 +48,7 @@
-PrevUpHomeNext +PrevUpHomeNext
diff --git a/boost/type_id_with_cvr.html b/boost/type_id_with_cvr.html index 60f517f..e3d574c 100644 --- a/boost/type_id_with_cvr.html +++ b/boost/type_id_with_cvr.html @@ -7,7 +7,7 @@ - + @@ -20,7 +20,7 @@

-PrevUpHomeNext +PrevUpHomeNext
@@ -34,8 +34,8 @@ 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>()`.

+

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

@@ -48,7 +48,7 @@

-PrevUpHomeNext +PrevUpHomeNext
diff --git a/boost/type_index.html b/boost/type_index.html index a8fbe41..c1e0068 100644 --- a/boost/type_index.html +++ b/boost/type_index.html @@ -35,72 +35,72 @@ class type_index { public: // construct/copy/destruct - type_index() noexcept; - type_index(const type_info &) noexcept; - type_index(const std::type_info &) noexcept; + type_index() noexcept; + type_index(const type_info &) noexcept; + type_index(const std::type_info &) noexcept; - // public member functions - bool before(type_index const &) const noexcept; - const char * name() const noexcept; - std::string name_demangled() const; - bool operator==(type_index const &) const noexcept; - bool operator!=(type_index const &) const noexcept; - bool operator<(type_index const &) const noexcept; - bool operator>(type_index const &) const noexcept; - bool operator<=(type_index const &) const noexcept; - bool operator>=(type_index const &) const noexcept; - bool operator==(std::type_info const &) const noexcept; - bool operator!=(std::type_info const &) const noexcept; - bool operator<(std::type_info const &) const noexcept; - bool operator>(std::type_info const &) const noexcept; - bool operator<=(std::type_info const &) const noexcept; - bool operator>=(std::type_info const &) const noexcept; - std::size_t hash_code() const noexcept; + // public member functions + bool before(type_index const &) const noexcept; + const char * name() const noexcept; + std::string name_demangled() const; + bool operator==(type_index const &) const noexcept; + bool operator!=(type_index const &) const noexcept; + bool operator<(type_index const &) const noexcept; + bool operator>(type_index const &) const noexcept; + bool operator<=(type_index const &) const noexcept; + bool operator>=(type_index const &) const noexcept; + bool operator==(std::type_info const &) const noexcept; + bool operator!=(std::type_info const &) const noexcept; + bool operator<(std::type_info const &) const noexcept; + bool operator>(std::type_info const &) const noexcept; + bool operator<=(std::type_info const &) const noexcept; + bool operator>=(std::type_info const &) const noexcept; + std::size_t hash_code() const noexcept; };
-

Description

+

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

  1. -
    type_index() noexcept;
    Default constructor.
  2. +
    type_index() noexcept;
    Default constructor.
  3. -
    type_index(const type_info & inf) noexcept;
    Constructs type_index from an instance of boost::type_info.
  4. +
    type_index(const type_info & inf) noexcept;
    Constructs type_index from an instance of boost::type_info.
  5. -
    type_index(const std::type_info & inf) noexcept;
    Constructs type_index from an instance of std::type_info.
  6. +
    type_index(const std::type_info & inf) noexcept;
    Constructs type_index from an instance of std::type_info.
-

-type_index public member functions

+

+type_index public member functions

  1. -
    bool before(type_index const & rhs) const noexcept;
    +
    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.

  2. -
    const char * name() const noexcept;
    Returns raw name.
  3. +
    const char * name() const noexcept;
    Returns raw name.
  4. -
    std::string name_demangled() const;
    Returns user-friendly name.
  5. -
  6. bool operator==(type_index const & rhs) const noexcept;
  7. -
  8. bool operator!=(type_index const & rhs) const noexcept;
  9. -
  10. bool operator<(type_index const & rhs) const noexcept;
  11. -
  12. bool operator>(type_index const & rhs) const noexcept;
  13. -
  14. bool operator<=(type_index const & rhs) const noexcept;
  15. -
  16. bool operator>=(type_index const & rhs) const noexcept;
  17. -
  18. bool operator==(std::type_info const & rhs) const noexcept;
  19. -
  20. bool operator!=(std::type_info const & rhs) const noexcept;
  21. -
  22. bool operator<(std::type_info const & rhs) const noexcept;
  23. -
  24. bool operator>(std::type_info const & rhs) const noexcept;
  25. -
  26. bool operator<=(std::type_info const & rhs) const noexcept;
  27. -
  28. bool operator>=(std::type_info const & rhs) const noexcept;
  29. +
    std::string name_demangled() const;
    Returns user-friendly name. +
  30. bool operator==(type_index const & rhs) const noexcept;
  31. +
  32. bool operator!=(type_index const & rhs) const noexcept;
  33. +
  34. bool operator<(type_index const & rhs) const noexcept;
  35. +
  36. bool operator>(type_index const & rhs) const noexcept;
  37. +
  38. bool operator<=(type_index const & rhs) const noexcept;
  39. +
  40. bool operator>=(type_index const & rhs) const noexcept;
  41. +
  42. bool operator==(std::type_info const & rhs) const noexcept;
  43. +
  44. bool operator!=(std::type_info const & rhs) const noexcept;
  45. +
  46. bool operator<(std::type_info const & rhs) const noexcept;
  47. +
  48. bool operator>(std::type_info const & rhs) const noexcept;
  49. +
  50. bool operator<=(std::type_info const & rhs) const noexcept;
  51. +
  52. bool operator>=(std::type_info const & rhs) const noexcept;
  53. -
    std::size_t hash_code() const noexcept;
    Function for getting hash value.
  54. +
    std::size_t hash_code() const noexcept;
    Function for getting hash value.
diff --git a/boost/type_info.html b/boost/type_info.html index 2ebe31e..921b45e 100644 --- a/boost/type_info.html +++ b/boost/type_info.html @@ -35,91 +35,102 @@ class type_info { public: // construct/copy/destruct - type_info(); - type_info(const type_info &); + type_info(); + type_info(const type_info &); - // public static functions - template<typename T> static const boost::type_info & construct() noexcept; + // public static functions + template<typename T> static const boost::type_info & construct() noexcept; template<typename T> - static const boost::type_info & construct_with_cvr() noexcept; + static const boost::type_info & construct_with_cvr() noexcept; template<typename T> - static const type_info & construct_rtti_only(T &) noexcept; - template<typename T> static const type_info & construct_rtti_only(T *); + static const type_info & construct_rtti_only(T &) noexcept; + template<typename T> static const type_info & construct_rtti_only(T *); - // public member functions - const char * name() const noexcept; - std::string name_demangled() const; - bool operator==(type_info const &) const noexcept; - bool operator!=(type_info const &) const noexcept; - bool operator==(std::type_info const &) const noexcept; - bool operator!=(std::type_info const &) const noexcept; - bool before(type_info const &) const noexcept; - bool before(std::type_info const &) const noexcept; - std::size_t hash_code() const noexcept; + // public member functions + const char * name() const noexcept; + std::string name_demangled() const; + bool operator==(type_info const &) const noexcept; + bool operator!=(type_info const &) const noexcept; + bool operator==(std::type_info const &) const noexcept; + bool operator!=(std::type_info const &) const noexcept; + bool before(type_info const &) const noexcept; + bool before(std::type_info const &) const noexcept; + std::size_t hash_code() const noexcept; };
-

Description

+

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_NORTTI_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 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:

+
+

+

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

    -
  1. type_info();
  2. -
  3. type_info(const type_info &);
  4. +
  5. type_info();
  6. +
  7. type_info(const type_info &);
-

-type_info public static functions

+

+type_info public static functions

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

    +
    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().

  2. 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>()`.

    + 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().

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

    + 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().

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

    + 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

+

+type_info public member functions

  1. -
    const char * name() const noexcept;
    Returns mangled type name.
  2. +
    const char * name() const noexcept;
    Returns mangled type name.
  3. -
    std::string name_demangled() const;
    Returns user-friendly name.
  4. -
  5. bool operator==(type_info const & rhs) const noexcept;
  6. -
  7. bool operator!=(type_info const & rhs) const noexcept;
  8. -
  9. bool operator==(std::type_info const & rhs) const noexcept;
  10. -
  11. bool operator!=(std::type_info const & rhs) const noexcept;
  12. +
    std::string name_demangled() const;
    Returns user-friendly name. +
  13. bool operator==(type_info const & rhs) const noexcept;
  14. +
  15. bool operator!=(type_info const & rhs) const noexcept;
  16. +
  17. bool operator==(std::type_info const & rhs) const noexcept;
  18. +
  19. bool operator!=(std::type_info const & rhs) const noexcept;
  20. -
    bool before(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 <

  21. -
    bool before(std::type_info const & rhs) const noexcept;
    +
    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 <

  22. -
    std::size_t hash_code() const noexcept;
    Function for getting hash value.
  23. +
    std::size_t hash_code() const noexcept;
    Function for getting hash value.
diff --git a/boost_typeindex/getting_started.html b/boost_typeindex/getting_started.html index a295ccf..5ce43a3 100644 --- a/boost_typeindex/getting_started.html +++ b/boost_typeindex/getting_started.html @@ -27,7 +27,7 @@ Getting started

- boost::type_info is a drop-in replacement for std::type_index + boost::type_info is a drop-in replacement for std::type_info and boost::type_index is a drop-in replacement for std::type_index. Unlike Standard Library versions those classes may work without RTTI. diff --git a/boost_typeindex/mixing_sources_with_rtti_on_and_.html b/boost_typeindex/mixing_sources_with_rtti_on_and_.html index 3dd7fd2..8ed0525 100644 --- a/boost_typeindex/mixing_sources_with_rtti_on_and_.html +++ b/boost_typeindex/mixing_sources_with_rtti_on_and_.html @@ -31,7 +31,7 @@ Linking a binary from source files that were compiled with different RTTI flags is not a very good idea and may lead to a lot of surprises. However if there is a very strong need, TypeIndex library provides a solution for mixing sources: - just define BOOST_TYPE_INDEX_FORCE_NORTTI_COMPATIBILITY + just define BOOST_TYPE_INDEX_FORCE_NO_RTTI_COMPATIBILITY macro. This would lead to usage of boost::template_index instead of boost::type_index class and boost::template_info instead of boost::type_info class. @@ -43,13 +43,13 @@

Do not forget to rebuild all the projects - with BOOST_TYPE_INDEX_FORCE_NORTTI_COMPATIBILITY + with BOOST_TYPE_INDEX_FORCE_NO_RTTI_COMPATIBILITY macro defined

You must know that linking RTTI on and RTTI off binaries may succeed even without - defining the BOOST_TYPE_INDEX_FORCE_NORTTI_COMPATIBILITY + defining the BOOST_TYPE_INDEX_FORCE_NO_RTTI_COMPATIBILITY macro, but that does not mean that you'll get a working binary. Such actions may break the One Definition Rule. Take a look at the table below, that shows how the boost::type_index get_integer(); function will look like with different RTTI @@ -96,7 +96,7 @@ Warning

- Even with BOOST_TYPE_INDEX_FORCE_NORTTI_COMPATIBILITY + Even with BOOST_TYPE_INDEX_FORCE_NO_RTTI_COMPATIBILITY defined there is no guarantee that everything will be OK. Libraries that use their own workarounds for disabled RTTI may fail to link or to work correctly.

diff --git a/boost_typeindex/space_and_performance.html b/boost_typeindex/space_and_performance.html index 268f718..e0a486a 100644 --- a/boost_typeindex/space_and_performance.html +++ b/boost_typeindex/space_and_performance.html @@ -6,7 +6,7 @@ - + @@ -20,7 +20,7 @@
-PrevUpHomeNext +PrevUpHomeNext

@@ -63,7 +63,7 @@
-PrevUpHomeNext +PrevUpHomeNext
diff --git a/boost_typeindex_header_reference.html b/boost_typeindex_header_reference.html index 128ebf4..a1b2253 100644 --- a/boost_typeindex_header_reference.html +++ b/boost_typeindex_header_reference.html @@ -48,21 +48,21 @@

When RTTI is disabled boost::template_index will be usually (some compilers allow calling typeid(T) even if RTTI is disabled) used instead of this class.

namespace boost {
   class type_index;
-  bool operator==(std::type_info const & lhs, type_index const & rhs);
-  bool operator!=(std::type_info const & lhs, type_index const & rhs);
-  bool operator<(std::type_info const & lhs, type_index const & rhs);
-  bool operator>(std::type_info const & lhs, type_index const & rhs);
-  bool operator<=(std::type_info const & lhs, type_index const & rhs);
-  bool operator>=(std::type_info const & lhs, type_index const & rhs);
+  bool operator==(std::type_info const & lhs, type_index const & rhs);
+  bool operator!=(std::type_info const & lhs, type_index const & rhs);
+  bool operator<(std::type_info const & lhs, type_index const & rhs);
+  bool operator>(std::type_info const & lhs, type_index const & rhs);
+  bool operator<=(std::type_info const & lhs, type_index const & rhs);
+  bool operator>=(std::type_info const & lhs, type_index const & rhs);
 
   // Ostream operator that will output demangled name. 
   template<typename CharT, typename TriatT> 
     std::basic_ostream< CharT, TriatT > & 
-    operator<<(std::basic_ostream< CharT, TriatT > & ostr, 
+    operator<<(std::basic_ostream< CharT, TriatT > & ostr, 
                type_index const & ind);
 
   // hash_value function overload for type_index. 
-  std::size_t hash_value(type_index const & v);
+  std::size_t hash_value(type_index const & v);
 }

@@ -93,11 +93,11 @@ // Ostream operator that will output demangled name. template<typename CharT, typename TriatT> std::basic_ostream< CharT, TriatT > & - operator<<(std::basic_ostream< CharT, TriatT > & ostr, + operator<<(std::basic_ostream< CharT, TriatT > & ostr, template_info const & ind); // hash_value function overload for template_info - std::size_t hash_value(template_info const & v); + std::size_t hash_value(template_info const & v); }
@@ -105,21 +105,21 @@ Header <boost/type_index/type_info.hpp>

Contains implementation of boost::type_info class.

boost::type_info class can be used as a drop-in replacement for std::type_info, but unlike std::type_info this class has a name_demangled() function for getting human-readable type names.

-

boost::type_info class is used in situations when RTTI is enabled. When RTTI is disabled or BOOST_TYPE_INDEX_FORCE_NORTTI_COMPATIBILITY macro is defined boost::template_info is usually used instead of it (some compilers allow calling typeid(T) even if RTTI is disabled, those copilers will continue to use boost::type_info class).

+

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 usually used instead of it (some compilers allow calling typeid(T) even if RTTI is disabled, those copilers will continue to use boost::type_info class).

 
-BOOST_TYPE_INDEX_FORCE_NORTTI_COMPATIBILITY
+BOOST_TYPE_INDEX_FORCE_NO_RTTI_COMPATIBILITY
namespace boost {
   class type_info;
   template<typename T> const type_info & type_id();
   template<typename T> const type_info & type_id_with_cvr();
-  template<typename T> const type_info & type_id_rtti_only(T &);
-  template<typename T> const type_info & type_id_rtti_only(T *);
-  bool operator==(std::type_info const & lhs, type_info const & rhs);
-  bool operator!=(std::type_info const & lhs, type_info const & rhs);
+  template<typename T> const type_info & type_id_rtti_only(T &);
+  template<typename T> const type_info & type_id_rtti_only(T *);
+  bool operator==(std::type_info const & lhs, type_info const & rhs);
+  bool operator!=(std::type_info const & lhs, type_info const & rhs);
 
   // hash_value function overload for boost::type_info. 
-  std::size_t hash_value(type_info const & v);
+  std::size_t hash_value(type_info const & v);
 }
diff --git a/index.html b/index.html index 8fb7b35..dc5a682 100644 --- a/index.html +++ b/index.html @@ -120,7 +120,7 @@ - +

Last revised: November 06, 2013 at 07:25:06 GMT

Last revised: November 13, 2013 at 07:11:35 GMT


diff --git a/standalone_HTML.manifest b/standalone_HTML.manifest index f0f148b..b5a79b0 100644 --- a/standalone_HTML.manifest +++ b/standalone_HTML.manifest @@ -13,9 +13,9 @@ BOOST_TYPE_INDEX_CTTI_END_SKIP.html boost/type_info.html boost/type_id.html boost/type_id_with_cvr.html -boost/type_id_rtti_on_idp5863488.html -boost/type_id_rtti_on_idp5867296.html -BOOST_TYPE_INDEX_FORCE_NORTTI_COMPATIBILITY.html +boost/type_id_rtti_on_idp5899632.html +boost/type_id_rtti_on_idp5903440.html +BOOST_TYPE_INDEX_FORCE_NO_RTTI_COMPATIBILITY.html boost_typeindex/space_and_performance.html boost_typeindex/code_bloat.html boost_typeindex/compiler_support.html