diff --git a/boost/template_id.html b/boost/template_id.html index 89cb0f5..57f3af7 100644 --- a/boost/template_id.html +++ b/boost/template_id.html @@ -34,7 +34,7 @@ template<typename T> template_index template_id();
Method for constructing template_index
instance for type T. Strips const, volatile and & modifiers from T.
Factory method for constructing template_index
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>()`.
Copyable type_info that does not require RTTI and could store const, volatile and references if constructed via construct_with_cvr()
template_index
public member functionstemplate_index
public member functionsbool before(const template_index & rhs) const;+
bool before(const template_index & 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;Returns raw name.
const char * name() const noexcept;Returns raw name.
std::string name_demangled() const;Returns user-friendly name.
std::string name_demangled() const;Returns user-friendly name.
std::size_t hash_code() const;+
std::size_t hash_code() const noexcept;
Function for getting hash value
template_index
public static functionstemplate_index
public static functionstemplate<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
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 strip const, volatile and & modifiers from T
Function, to get type_index
for a type T. Strips const, volatile and & modifiers from T.
boost::type_id_rtti_only
@@ -34,7 +34,7 @@ template<typename T> type_index type_id_rtti_only(T & rtti_val);Function, that works exactly like C++ typeid(rtti_val) call, but returns boost::type_index
. 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"