|
|
@@ -29,10 +29,10 @@ enum class deletion_policy : stl::uint8_t {
|
|
|
template<cvref_unqualified Type, typename Entity = entity>
|
|
|
struct component_traits;
|
|
|
|
|
|
-template<typename Entity = entity, typename = std::allocator<Entity>>
|
|
|
+template<typename Entity = entity, typename = stl::allocator<Entity>>
|
|
|
class basic_sparse_set;
|
|
|
|
|
|
-template<typename Type, typename = entity, typename = std::allocator<Type>>
|
|
|
+template<typename Type, typename = entity, typename = stl::allocator<Type>>
|
|
|
class basic_storage;
|
|
|
|
|
|
template<typename, typename>
|
|
|
@@ -41,13 +41,13 @@ class basic_sigh_mixin;
|
|
|
template<typename, typename>
|
|
|
class basic_reactive_mixin;
|
|
|
|
|
|
-template<typename Entity = entity, typename = std::allocator<Entity>>
|
|
|
+template<typename Entity = entity, typename = stl::allocator<Entity>>
|
|
|
class basic_registry;
|
|
|
|
|
|
template<typename, typename>
|
|
|
class basic_view;
|
|
|
|
|
|
-template<typename Type, typename = std::allocator<Type *>>
|
|
|
+template<typename Type, typename = stl::allocator<Type *>>
|
|
|
class basic_runtime_view;
|
|
|
|
|
|
template<typename, typename, typename>
|
|
|
@@ -223,7 +223,7 @@ struct type_list_transform<owned_t<Type...>, Op> {
|
|
|
* @tparam Entity A valid entity type.
|
|
|
* @tparam Allocator Type of allocator used to manage memory and elements.
|
|
|
*/
|
|
|
-template<typename Type, typename Entity = entity, typename Allocator = std::allocator<Type>>
|
|
|
+template<typename Type, typename Entity = entity, typename Allocator = stl::allocator<Type>>
|
|
|
struct storage_type {
|
|
|
/*! @brief Type-to-storage conversion result. */
|
|
|
using type = ENTT_STORAGE(sigh_mixin, basic_storage<Type, Entity, Allocator>);
|
|
|
@@ -256,7 +256,7 @@ using storage_type_t = storage_type<Args...>::type;
|
|
|
* @tparam Entity A valid entity type.
|
|
|
* @tparam Allocator Type of allocator used to manage memory and elements.
|
|
|
*/
|
|
|
-template<typename Type, typename Entity = entity, typename Allocator = std::allocator<stl::remove_const_t<Type>>>
|
|
|
+template<typename Type, typename Entity = entity, typename Allocator = stl::allocator<stl::remove_const_t<Type>>>
|
|
|
struct storage_for {
|
|
|
/*! @brief Type-to-storage conversion result. */
|
|
|
using type = constness_as_t<storage_type_t<stl::remove_const_t<Type>, Entity, Allocator>, Type>;
|