EnTT 3.16.0
Loading...
Searching...
No Matches
entt::type_hash< Type, typename > Struct Template Referencefinal

Type hash. More...

#include <type_info.hpp>

Public Member Functions

constexpr operator id_type () const noexcept
 Returns the numeric representation of a given type.

Static Public Member Functions

static constexpr id_type value () noexcept
 Returns the numeric representation of a given type.

Detailed Description

template<typename Type, typename = void>
struct entt::type_hash< Type, typename >

Type hash.

Template Parameters
TypeType for which to generate a hash value.

Definition at line 100 of file type_info.hpp.

Member Function Documentation

◆ operator id_type()

template<typename Type, typename = void>
entt::type_hash< Type, typename >::operator id_type ( ) const
inlinenodiscardconstexprnoexcept

Returns the numeric representation of a given type.

Returns
The numeric representation of the given type.

Definition at line 115 of file type_info.hpp.

◆ value()

template<typename Type, typename = void>
constexpr id_type entt::type_hash< Type, typename >::value ( )
inlinestaticnodiscardconstexprnoexcept

Returns the numeric representation of a given type.

Returns
The numeric representation of the given type.

Definition at line 109 of file type_info.hpp.


The documentation for this struct was generated from the following file: