Clementine
Classes | Public Types | List of all members
entt::Storage< Entity > Struct Template Reference

Basic poly storage implementation. More...

#include <entt.hpp>

Inheritance diagram for entt::Storage< Entity >:
Inheritance graph
[legend]
Collaboration diagram for entt::Storage< Entity >:
Collaboration graph
[legend]

Classes

struct  type
 Concept definition. More...
 

Public Types

using entity_type = Entity
 Underlying entity identifier.
 
using size_type = std::size_t
 Unsigned integer type.
 
template<typename Type >
using impl = value_list< &type_id< typename Type::value_type >, &Type::template remove< const entity_type * > >
 Concept implementation. More...
 
- Public Types inherited from entt::type_list< type_info() const ENTT_NOEXCEPT, void(basic_registry< Entity > &, const Entity *, const Entity *) >
using type = type_list
 Type list type.
 

Additional Inherited Members

- Static Public Attributes inherited from entt::type_list< type_info() const ENTT_NOEXCEPT, void(basic_registry< Entity > &, const Entity *, const Entity *) >
static constexpr auto size
 Compile-time number of elements in the type list.
 

Detailed Description

template<typename Entity>
struct entt::Storage< Entity >

Basic poly storage implementation.

Template Parameters
EntityA valid entity type (see entt_traits for more details).

Member Typedef Documentation

◆ impl

template<typename Entity >
template<typename Type >
using entt::Storage< Entity >::impl = value_list< &type_id<typename Type::value_type>, &Type::template remove<const entity_type *> >

Concept implementation.

Template Parameters
TypeType for which to generate an implementation.

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