EnTT 3.14.0
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | List of all members
entt::type_index< Type, typename > Struct Template Referencefinal

Type sequential identifier. More...

#include <type_info.hpp>

Public Member Functions

constexpr operator id_type () const noexcept
 Returns the sequential identifier of a given type.
 

Static Public Member Functions

static id_type value () noexcept
 Returns the sequential identifier of a given type.
 

Detailed Description

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

Type sequential identifier.

Template Parameters
TypeType for which to generate a sequential identifier.

Definition at line 71 of file type_info.hpp.

Member Function Documentation

◆ operator id_type()

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

Returns the sequential identifier of a given type.

Returns
The sequential identifier of a given type.

Definition at line 82 of file type_info.hpp.

◆ value()

template<typename Type , typename = void>
static id_type entt::type_index< Type, typename >::value ( )
inlinestaticnoexcept

Returns the sequential identifier of a given type.

Returns
The sequential identifier of a given type.

Definition at line 76 of file type_info.hpp.


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