Implementation specific information about a type.
More...
#include <type_info.hpp>
|
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.
|
|
Implementation specific information about a type.
Definition at line 133 of file type_info.hpp.
◆ type_info()
template<typename Type>
entt::type_info::type_info |
( |
std::in_place_type_t< Type > | | ) |
|
|
inlineconstexprnoexcept |
Constructs a type info object for a given type.
- Template Parameters
-
Type | Type for which to construct a type info object. |
Definition at line 140 of file type_info.hpp.
◆ hash()
id_type entt::type_info::hash |
( |
| ) |
const |
|
inlinenodiscardconstexprnoexcept |
◆ index()
id_type entt::type_info::index |
( |
| ) |
const |
|
inlinenodiscardconstexprnoexcept |
◆ name()
std::string_view entt::type_info::name |
( |
| ) |
const |
|
inlinenodiscardconstexprnoexcept |
The documentation for this struct was generated from the following file: