EnTT: entt::type_name< Type, typename > Struct Template Reference

EnTT 3.15.0

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

Type name. More...

`#include <type_info.hpp>`

## Public Member Functions
constexpr | operator std::string_view () const noexcept
| Returns the name of a given type.

## Static Public Member Functions
static constexpr std::string_view | value () noexcept
| Returns the name of a given type.

## Detailed Description

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

Type name.

Template Parameters

  Type | Type for which to generate a name.

Definition at line 117 of file type_info.hpp.

## Member Function Documentation

## ◆ operator std::string_view()

template<typename Type, typename = void>

entt::type_name< Type, typename >::operator std::string_view | ( |  | ) | const
| inlinenodiscardconstexprnoexcept

Returns the name of a given type.

Returns
  The name of the given type.

Definition at line 127 of file type_info.hpp.

## ◆ value()

template<typename Type, typename = void>

static constexpr std::string_view entt::type_name< Type, typename >::value | ( |  | ) |
| inlinestaticnodiscardconstexprnoexcept

Returns the name of a given type.

Returns
  The name of the given type.

Definition at line 122 of file type_info.hpp.

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

- src/entt/core/type_info.hpp