EnTT 3.14.0
Loading...
Searching...
No Matches
Public Types | Static Public Attributes | List of all members
entt::component_traits< Type, typename > Struct Template Reference

Common way to access various properties of components. More...

#include <component.hpp>

Public Types

using type = Type
 Component type.
 

Static Public Attributes

static constexpr bool in_place_delete = internal::in_place_delete<Type>::value
 Pointer stability, default is false.
 
static constexpr std::size_t page_size = internal::page_size<Type>::value
 Page size, default is ENTT_PACKED_PAGE for non-empty types.
 

Detailed Description

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

Common way to access various properties of components.

Template Parameters
TypeType of component.

Definition at line 42 of file component.hpp.

Member Typedef Documentation

◆ type

template<typename Type , typename = void>
using entt::component_traits< Type, typename >::type = Type

Component type.

Definition at line 46 of file component.hpp.

Member Data Documentation

◆ in_place_delete

template<typename Type , typename = void>
constexpr bool entt::component_traits< Type, typename >::in_place_delete = internal::in_place_delete<Type>::value
staticconstexpr

Pointer stability, default is false.

Definition at line 49 of file component.hpp.

◆ page_size

template<typename Type , typename = void>
constexpr std::size_t entt::component_traits< Type, typename >::page_size = internal::page_size<Type>::value
staticconstexpr

Page size, default is ENTT_PACKED_PAGE for non-empty types.

Definition at line 51 of file component.hpp.


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