diff --git a/boost/operator_idp5279488.html b/boost/operator_idp5279488.html new file mode 100644 index 0000000..4155887 --- /dev/null +++ b/boost/operator_idp5279488.html @@ -0,0 +1,55 @@ + + + +Function operator<< + + + + + + + + + + + + + + + +
Boost C++ LibrariesHomeLibrariesPeopleFAQMore
+
+
+PrevUpHomeNext +
+
+
+
+

Function operator<<

+

boost::operator<<

+
+

Synopsis

+
// In header: <boost/type_index.hpp>
+
+
+std::basic_ostream & 
+operator<<(std::basic_ostream, template_index/type_index const & rhs);
+
+

Description

+

Output operators for type_index and template_index

+
+
+ + + +
+
+
+PrevUpHomeNext +
+ + diff --git a/boost/template_id.html b/boost/template_id.html index afe9ca1..854d0e5 100644 --- a/boost/template_id.html +++ b/boost/template_id.html @@ -34,7 +34,7 @@ template<typename T> template_index template_id();
-

Description

+

Description

Method for constructing template_index 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 d2a3046..985dade 100644 --- a/boost/template_id_with_cvr.html +++ b/boost/template_id_with_cvr.html @@ -34,7 +34,7 @@ template<typename T> template_index template_id_with_cvr();
-

Description

+

Description

Factory method for constructing template_index instance for type T. Does not strips const, volatile and & modifiers from T.

diff --git a/boost/template_index.html b/boost/template_index.html index 40ef443..8dd4eed 100644 --- a/boost/template_index.html +++ b/boost/template_index.html @@ -35,59 +35,59 @@ class template_index { public: // construct/copy/destruct - template_index(); + template_index(); - // public member functions - bool before(const template_index &) const; - const char * name() const; - std::string name_demangled() const; - std::size_t hash_code() const; + // public member functions + bool before(const template_index &) const; + const char * name() const; + std::string name_demangled() const; + std::size_t hash_code() const; - // public static functions - template<typename T> static template_index construct(); - template<typename T> static template_index construct_with_cvr(); + // public static functions + template<typename T> static template_index construct(); + template<typename T> static template_index construct_with_cvr(); };
-

Description

+

Description

Copyable type_info that does not require RTTI and could store const, volatile and references if constructed via construct_with_cvr()

-

+

template_index public construct/copy/destruct

  1. -
    template_index();
    +
    template_index();

    Default constructor.

-

-template_index public member functions

+

+template_index public member functions

  1. -
    bool before(const template_index & rhs) const;
    +
    bool before(const template_index & rhs) const;

    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;
    Returns raw name.
  3. +
    const char * name() const;
    Returns raw name.
  4. -
    std::string name_demangled() const;
    Returns user-friendly name.
  5. +
    std::string name_demangled() const;
    Returns user-friendly name.
  6. -
    std::size_t hash_code() const;
    +
    std::size_t hash_code() const;

    Function for getting hash value

-

-template_index public static functions

+

+template_index public static functions

  1. -
    template<typename T> static template_index construct();
    +
    template<typename T> static template_index construct();

    Factory method for constructing template_index instance for type T. Strips const, volatile and & modifiers from T

  2. -
    template<typename T> static template_index construct_with_cvr();
    +
    template<typename T> static template_index construct_with_cvr();

    Factory method for constructing template_index instance for type T. Does not strips const, volatile and & modifiers from T

diff --git a/boost/type_id.html b/boost/type_id.html index 880ad5d..40b9e52 100644 --- a/boost/type_id.html +++ b/boost/type_id.html @@ -7,7 +7,7 @@ - + @@ -20,7 +20,7 @@

-PrevUpHomeNext +PrevUpHomeNext
@@ -34,7 +34,7 @@ template<typename T> type_index type_id();
-

Description

+

Description

Function, to get type_index for a type T. Strips const, volatile and & modifiers from T.

@@ -48,7 +48,7 @@
-PrevUpHomeNext +PrevUpHomeNext
diff --git a/boost/type_id_rtti_on_idp5273216.html b/boost/type_id_rtti_on_idp5273216.html new file mode 100644 index 0000000..6ffaf42 --- /dev/null +++ b/boost/type_id_rtti_on_idp5273216.html @@ -0,0 +1,54 @@ + + + +Function template type_id_rtti_only + + + + + + + + + + + + + + + +
Boost C++ LibrariesHomeLibrariesPeopleFAQMore
+
+
+PrevUpHomeNext +
+
+
+
+

Function template type_id_rtti_only

+

boost::type_id_rtti_only

+
+

Synopsis

+
// In header: <boost/type_index.hpp>
+
+
+template<typename T> type_index type_id_rtti_only(T & rtti_val);
+
+

Description

+

Function, that works exactly like C++ typeid(rtti_val) call, but returns boost::type_index. This method available only with RTTI enabled.

+
+
+ + + +
+
+
+PrevUpHomeNext +
+ + diff --git a/boost/type_id_rtti_on_idp5276352.html b/boost/type_id_rtti_on_idp5276352.html new file mode 100644 index 0000000..3f5fcf3 --- /dev/null +++ b/boost/type_id_rtti_on_idp5276352.html @@ -0,0 +1,54 @@ + + + +Function template type_id_rtti_only + + + + + + + + + + + + + + + +
Boost C++ LibrariesHomeLibrariesPeopleFAQMore
+
+
+PrevUpHomeNext +
+
+
+
+

Function template type_id_rtti_only

+

boost::type_id_rtti_only

+
+

Synopsis

+
// In header: <boost/type_index.hpp>
+
+
+template<typename T> type_index type_id_rtti_only(T * rtti_val);
+
+

Description

+

Function, that works exactly like C++ typeid(rtti_val) call, but returns boost::type_index. This method available only with RTTI enabled.

+
+
+ + + +
+
+
+PrevUpHomeNext +
+ + diff --git a/boost/type_index.html b/boost/type_index.html index 1eeec51..8d513d2 100644 --- a/boost/type_index.html +++ b/boost/type_index.html @@ -38,61 +38,61 @@ typedef std::type_info stl_type_info; // construct/copy/destruct - type_index(); + type_index(); - // public member functions - bool before(type_index const &) const; - const char * name() const; - std::string name_demangled() const; - std::size_t hash_code() const; + // public member functions + bool before(type_index const &) const; + const char * name() const; + std::string name_demangled() const; + std::size_t hash_code() const; - // public static functions - template<typename T> static type_index construct(); - template<typename T> static type_index construct_rtti_only(T &); - template<typename T> static type_index construct_rtti_only(T *); + // public static functions + template<typename T> static type_index construct(); + template<typename T> static type_index construct_rtti_only(T &); + template<typename T> static type_index construct_rtti_only(T *); };
-

Description

+

Description

-

+

type_index public construct/copy/destruct

  1. -
    type_index();
    +
    type_index();

    Default constructor.

-

-type_index public member functions

+

+type_index public member functions

  1. -
    bool before(type_index const & rhs) const;
    +
    bool before(type_index const & rhs) const;

    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;
    Returns raw name.
  3. +
    const char * name() const;
    Returns raw name.
  4. -
    std::string name_demangled() const;
    Returns user-friendly name.
  5. +
    std::string name_demangled() const;
    Returns user-friendly name.
  6. -
    std::size_t hash_code() const;
    Function for getting hash value.
  7. +
    std::size_t hash_code() const;
    Function for getting hash value.
-

-type_index public static functions

+

+type_index public static functions

  1. -
    template<typename T> static type_index construct();
    +
    template<typename T> static type_index construct();

    Factory method for constructing type_index instance for type T. Strips const, volatile and & modifiers from T.

  2. -
    template<typename T> static type_index construct_rtti_only(T & rtti_val);
    +
    template<typename T> static type_index construct_rtti_only(T & rtti_val);

    Factory function, that works exactly like C++ typeid(rtti_val) call, but returns boost::type_index. This method available only with RTTI enabled.

  3. -
    template<typename T> static type_index construct_rtti_only(T * rtti_val);
    +
    template<typename T> static type_index construct_rtti_only(T * rtti_val);

    Factory function, that works exactly like C++ typeid(rtti_val) call, but returns boost::type_index. This method available only with RTTI enabled.

diff --git a/boost_typeindex/compiler_support.html b/boost_typeindex/compiler_support.html new file mode 100644 index 0000000..cdc85c9 --- /dev/null +++ b/boost_typeindex/compiler_support.html @@ -0,0 +1,87 @@ + + + +Compiler support + + + + + + + + + + + + + + +
Boost C++ LibrariesHomeLibrariesPeopleFAQMore
+
+
+PrevUpHome +
+
+ +

+ TypeIndex has been tested on MSVC2010, GCC-4.5, Clang-2.9. If your compiler + is not in a list of tested compilers, you shall correctly define BOOST_TYPE_INDEX_CTTI_BEGIN_SKIP and BOOST_TYPE_INDEX_CTTI_END_SKIP macroses: +

+
    +
  1. + define BOOST_TYPE_INDEX_CTTI_BEGIN_SKIP + and BOOST_TYPE_INDEX_CTTI_END_SKIP + to 0 +
  2. +
  3. + get the output of boost::detail::ctti<int>::n() +
  4. +
  5. + set BOOST_TYPE_INDEX_CTTI_BEGIN_SKIP + equal to characters count before last occurrence of int + in output +
  6. +
  7. + set BOOST_TYPE_INDEX_CTTI_END_SKIP + equal to characters count after last occurrence of int + in output +
  8. +
  9. + check that boost::detail::ctti<int>::name_demangled() + returns "int" +
  10. +
  11. + (optional, but highly recomended) create + ticket with feature request to add your compiler to supported compilers + list. Include BOOST_TYPE_INDEX_CTTI_BEGIN_SKIP + and BOOST_TYPE_INDEX_CTTI_END_SKIP + numbers. +
  12. +
+

+ Consider the following example: With BOOST_TYPE_INDEX_CTTI_BEGIN_SKIP + and BOOST_TYPE_INDEX_CTTI_END_SKIP + set to 0, boost::detail::ctti<int>::n() returns "const char *__cdecl boost::detail::ctti<int>::n(void)". + Then you shall set BOOST_TYPE_INDEX_CTTI_BEGIN_SKIP + to sizeof("const char *__cdecl boost::detail::ctti<") - 1 + and BOOST_TYPE_INDEX_CTTI_END_SKIP + to sizeof(">::n(void)") + - 1 +

+
+ + + +
+
+
+PrevUpHome +
+ + diff --git a/boost_typeindex/performance.html b/boost_typeindex/performance.html index b2f33af..1823c0b 100644 --- a/boost_typeindex/performance.html +++ b/boost_typeindex/performance.html @@ -6,7 +6,8 @@ - + + @@ -19,7 +20,7 @@

-PrevUpHome +PrevUpHomeNext

@@ -57,7 +58,7 @@
-PrevUpHome +PrevUpHomeNext
diff --git a/boost_typeindex_header_reference.html b/boost_typeindex_header_reference.html index 3152ec3..2fc844c 100644 --- a/boost_typeindex_header_reference.html +++ b/boost_typeindex_header_reference.html @@ -35,20 +35,20 @@ template<typename T> template_index template_id(); template<typename T> template_index template_id_with_cvr(); template<typename T> type_index type_id(); - template<typename T> type_index type_id_rtti_only(T &); - template<typename T> type_index type_id_rtti_only(T *); + template<typename T> type_index type_id_rtti_only(T &); + template<typename T> type_index type_id_rtti_only(T *); std::basic_ostream & - operator<<(std::basic_ostream, template_index/type_index const &); + operator<<(std::basic_ostream, template_index/type_index const &); // All possible operators for comparison of std::type_info's and type_index'es. - bool operator(type_index/std::type_info const & lhs, + bool operator(type_index/std::type_info const & lhs, type_index/std::type_info const & rhs); // All possible operators for comparison of template_index'es. - bool operator(template_index const & lhs, template_index const & rhs); + bool operator(template_index const & lhs, template_index const & rhs); // All possible operators for comparison of type_index'es. - bool operator(type_index const & lhs, type_index const & rhs); + bool operator(type_index const & lhs, type_index const & rhs); }

diff --git a/index.html b/index.html index a8219bf..6267f74 100644 --- a/index.html +++ b/index.html @@ -39,6 +39,7 @@
Boost.TypeIndex Header Reference
Header <boost/type_index.hpp>
Performance
+
Compiler support
@@ -102,7 +103,7 @@
- +

Last revised: July 18, 2012 at 18:39:08 GMT

Last revised: August 14, 2012 at 12:00:03 GMT


diff --git a/standalone_HTML.manifest b/standalone_HTML.manifest index 4cd5fa1..e32d7f9 100644 --- a/standalone_HTML.manifest +++ b/standalone_HTML.manifest @@ -7,7 +7,8 @@ boost/type_index.html boost/template_id.html boost/template_id_with_cvr.html boost/type_id.html -boost/type_id_rtti_on_idp5197760.html -boost/type_id_rtti_on_idp5200896.html -boost/operator_idp5204032.html +boost/type_id_rtti_on_idp5273216.html +boost/type_id_rtti_on_idp5276352.html +boost/operator_idp5279488.html boost_typeindex/performance.html +boost_typeindex/compiler_support.html