Struct poly_storage_traits

Synopsis

#include <src/entt/entity/poly_storage.hpp>

template<typename Entity, typename = void>
struct poly_storage_traits

Description

Defines the poly storage type associate with a given entity type.

Template Parameters

Entity - A valid entity type (see entt_traits for more details).

Mentioned in

Source

Lines 73-77 in src/entt/entity/poly_storage.hpp.

template<typename Entity, typename = void>
struct poly_storage_traits {
    /*! @brief Poly storage type for the given entity type. */
    using storage_type = poly<Storage<Entity>>;
};





Add Discussion

Log in to comment