1 #ifndef ENTT_ENTITY_COMPONENT_HPP
2 #define ENTT_ENTITY_COMPONENT_HPP
5 #include "../config/config.h"
23 template<
typename Type,
typename =
void>
25 static_assert(std::is_same_v<std::decay_t<Type>, Type>,
"Unsupported type");
constexpr bool ignore_as_empty_v
Helper variable template.
Commonly used default traits for all types.
static constexpr auto ignore_if_empty
Empty type optimization, default is ENTT_IGNORE_IF_EMPTY.
static constexpr auto page_size
Page size, default is ENTT_PACKED_PAGE.
static constexpr auto in_place_delete
Pointer stability, default is false.
Common way to access various properties of components.