1 #ifndef ENTT_ENTITY_COMPONENT_HPP
2 #define ENTT_ENTITY_COMPONENT_HPP
6 #include "../config/config.h"
25 template<
typename Type,
typename =
void>
27 static_assert(std::is_same_v<std::decay_t<Type>, Type>,
"Unsupported type");
Commonly used default traits for all types.
std::true_type ignore_if_empty
Empty type optimization, default is ENTT_IGNORE_IF_EMPTY.
std::false_type in_place_delete
Pointer stability, default is std::false_type.
Common way to access various properties of components.