EnTT 3.13.0
Loading...
Searching...
No Matches
Public Member Functions | List of all members
entt::type_info Struct Referencefinal

Implementation specific information about a type. More...

#include <type_info.hpp>

Public Member Functions

template<typename Type >
constexpr type_info (std::in_place_type_t< Type >) noexcept
 Constructs a type info object for a given type.
 
constexpr id_type index () const noexcept
 Type index.
 
constexpr id_type hash () const noexcept
 Type hash.
 
constexpr std::string_view name () const noexcept
 Type name.
 

Detailed Description

Implementation specific information about a type.

Definition at line 133 of file type_info.hpp.

Constructor & Destructor Documentation

◆ type_info()

template<typename Type >
constexpr entt::type_info::type_info ( std::in_place_type_t< Type >  )
inlineconstexprnoexcept

Constructs a type info object for a given type.

Template Parameters
TypeType for which to construct a type info object.

Definition at line 139 of file type_info.hpp.

Member Function Documentation

◆ hash()

constexpr id_type entt::type_info::hash ( ) const
inlineconstexprnoexcept

Type hash.

Returns
Type hash.

Definition at line 156 of file type_info.hpp.

◆ index()

constexpr id_type entt::type_info::index ( ) const
inlineconstexprnoexcept

Type index.

Returns
Type index.

Definition at line 148 of file type_info.hpp.

◆ name()

constexpr std::string_view entt::type_info::name ( ) const
inlineconstexprnoexcept

Type name.

Returns
Type name.

Definition at line 164 of file type_info.hpp.


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