|
|
@@ -391,6 +391,8 @@ protected:
|
|
|
}
|
|
|
|
|
|
public:
|
|
|
+ /*! @brief Allocator type. */
|
|
|
+ using allocator_type = Allocator;
|
|
|
/*! @brief Base type. */
|
|
|
using base_type = underlying_type;
|
|
|
/*! @brief Element type. */
|
|
|
@@ -401,8 +403,6 @@ public:
|
|
|
using entity_type = Entity;
|
|
|
/*! @brief Unsigned integer type. */
|
|
|
using size_type = std::size_t;
|
|
|
- /*! @brief Allocator type. */
|
|
|
- using allocator_type = Allocator;
|
|
|
/*! @brief Pointer type to contained elements. */
|
|
|
using pointer = typename container_type::pointer;
|
|
|
/*! @brief Constant pointer type to contained elements. */
|
|
|
@@ -779,6 +779,8 @@ class basic_storage<Type, Entity, Allocator, std::enable_if_t<component_traits<T
|
|
|
using traits_type = component_traits<Type>;
|
|
|
|
|
|
public:
|
|
|
+ /*! @brief Allocator type. */
|
|
|
+ using allocator_type = Allocator;
|
|
|
/*! @brief Base type. */
|
|
|
using base_type = basic_sparse_set<Entity, typename alloc_traits::template rebind_alloc<Entity>>;
|
|
|
/*! @brief Element type. */
|
|
|
@@ -789,8 +791,6 @@ public:
|
|
|
using entity_type = Entity;
|
|
|
/*! @brief Unsigned integer type. */
|
|
|
using size_type = std::size_t;
|
|
|
- /*! @brief Allocator type. */
|
|
|
- using allocator_type = Allocator;
|
|
|
/*! @brief Extended iterable storage proxy. */
|
|
|
using iterable = iterable_adaptor<internal::extended_storage_iterator<typename base_type::iterator>>;
|
|
|
/*! @brief Constant extended iterable storage proxy. */
|
|
|
@@ -983,6 +983,8 @@ protected:
|
|
|
}
|
|
|
|
|
|
public:
|
|
|
+ /*! @brief Allocator type. */
|
|
|
+ using allocator_type = Allocator;
|
|
|
/*! @brief Base type. */
|
|
|
using base_type = basic_sparse_set<Entity, Allocator>;
|
|
|
/*! @brief Element type. */
|
|
|
@@ -991,8 +993,6 @@ public:
|
|
|
using entity_type = Entity;
|
|
|
/*! @brief Unsigned integer type. */
|
|
|
using size_type = std::size_t;
|
|
|
- /*! @brief Allocator type. */
|
|
|
- using allocator_type = Allocator;
|
|
|
/*! @brief Extended iterable storage proxy. */
|
|
|
using iterable = iterable_adaptor<internal::extended_storage_iterator<typename base_type::iterator>>;
|
|
|
/*! @brief Constant extended iterable storage proxy. */
|