EnTT 4.0.0
Loading...
Searching...
No Matches
entt::type_name< Type > Struct Template Referencefinal

Type name. More...

#include <type_info.hpp>

Public Member Functions

constexpr operator stl::string_view () const noexcept
 Returns the name of a given type.

Static Public Member Functions

static constexpr stl::string_view value () noexcept
 Returns the name of a given type.

Detailed Description

template<typename Type>
struct entt::type_name< Type >

Type name.

Template Parameters
TypeType for which to generate a name.

Definition at line 126 of file type_info.hpp.

Member Function Documentation

◆ operator stl::string_view()

template<typename Type>
entt::type_name< Type >::operator stl::string_view ( ) const
inlinenodiscardconstexprnoexcept

Returns the name of a given type.

Returns
The name of the given type.

Definition at line 136 of file type_info.hpp.

◆ value()

template<typename Type>
constexpr stl::string_view entt::type_name< Type >::value ( )
inlinestaticnodiscardconstexprnoexcept

Returns the name of a given type.

Returns
The name of the given type.

Definition at line 131 of file type_info.hpp.


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