EnTT 3.13.0
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | List of all members
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 92 of file type_info.hpp.

Member Function Documentation

◆ operator id_type()

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

Returns the numeric representation of a given type.

Returns
The numeric representation of the given type.

Definition at line 107 of file type_info.hpp.

◆ value()

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

Returns the numeric representation of a given type.

Returns
The numeric representation of the given type.

Definition at line 101 of file type_info.hpp.


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