stl: move only to memory.hpp

This commit is contained in:
skypjack
2026-04-14 14:12:05 +02:00
parent 04dda74792
commit 8ed97c2d98
30 changed files with 28 additions and 30 deletions

View File

@@ -4,7 +4,6 @@
#include <compare>
#include <concepts>
#include <functional>
#include <memory>
#include "../config/config.h"
#include "../core/bit.hpp"
#include "../core/compressed_pair.hpp"
@@ -16,6 +15,7 @@
#include "../stl/cstddef.hpp"
#include "../stl/iterator.hpp"
#include "../stl/limits.hpp"
#include "../stl/memory.hpp"
#include "../stl/tuple.hpp"
#include "../stl/type_traits.hpp"
#include "../stl/utility.hpp"

View File

@@ -4,7 +4,6 @@
#include <compare>
#include <concepts>
#include <functional>
#include <memory>
#include "../config/config.h"
#include "../core/bit.hpp"
#include "../core/compressed_pair.hpp"
@@ -14,6 +13,7 @@
#include "../stl/cstddef.hpp"
#include "../stl/iterator.hpp"
#include "../stl/limits.hpp"
#include "../stl/memory.hpp"
#include "../stl/tuple.hpp"
#include "../stl/type_traits.hpp"
#include "../stl/utility.hpp"

View File

@@ -2,7 +2,7 @@
#define ENTT_CONTAINER_FWD_HPP
#include <functional>
#include <memory>
#include "../stl/memory.hpp"
#include "../stl/utility.hpp"
#include "../stl/vector.hpp"

View File

@@ -2,11 +2,11 @@
#define ENTT_CORE_ANY_HPP
#include <concepts>
#include <memory>
#include "../config/config.h"
#include "../core/concepts.hpp"
#include "../stl/cstddef.hpp"
#include "../stl/cstdint.hpp"
#include "../stl/memory.hpp"
#include "../stl/type_traits.hpp"
#include "../stl/utility.hpp"
#include "fwd.hpp"

View File

@@ -2,9 +2,9 @@
#define ENTT_CORE_ITERATOR_HPP
#include <concepts>
#include <memory>
#include "../stl/cstddef.hpp"
#include "../stl/iterator.hpp"
#include "../stl/memory.hpp"
#include "../stl/type_traits.hpp"
#include "../stl/utility.hpp"

View File

@@ -1,7 +1,6 @@
#ifndef ENTT_CORE_MEMORY_HPP
#define ENTT_CORE_MEMORY_HPP
#include <memory>
#include "../config/config.h"
#include "../stl/cstddef.hpp"
#include "../stl/memory.hpp"

View File

@@ -1,12 +1,12 @@
#ifndef ENTT_ENTITY_FWD_HPP
#define ENTT_ENTITY_FWD_HPP
#include <memory>
#include "../config/config.h"
#include "../core/concepts.hpp"
#include "../core/fwd.hpp"
#include "../core/type_traits.hpp"
#include "../stl/cstdint.hpp"
#include "../stl/memory.hpp"
#include "../stl/type_traits.hpp"
namespace entt {

View File

@@ -1,9 +1,9 @@
#ifndef ENTT_ENTITY_HELPER_HPP
#define ENTT_ENTITY_HELPER_HPP
#include <memory>
#include "../core/fwd.hpp"
#include "../core/type_traits.hpp"
#include "../stl/memory.hpp"
#include "../stl/type_traits.hpp"
#include "../stl/utility.hpp"
#include "component.hpp"

View File

@@ -4,7 +4,6 @@
#include <compare>
#include <concepts>
#include <functional>
#include <memory>
#include "../config/config.h"
#include "../container/dense_map.hpp"
#include "../core/algorithm.hpp"
@@ -20,6 +19,7 @@
#include "../stl/cstddef.hpp"
#include "../stl/functional.hpp"
#include "../stl/iterator.hpp"
#include "../stl/memory.hpp"
#include "../stl/tuple.hpp"
#include "../stl/type_traits.hpp"
#include "../stl/utility.hpp"

View File

@@ -3,7 +3,6 @@
#include <compare>
#include <concepts>
#include <memory>
#include "../config/config.h"
#include "../core/algorithm.hpp"
#include "../core/any.hpp"
@@ -11,6 +10,7 @@
#include "../core/type_info.hpp"
#include "../stl/cstddef.hpp"
#include "../stl/iterator.hpp"
#include "../stl/memory.hpp"
#include "../stl/type_traits.hpp"
#include "../stl/utility.hpp"
#include "../stl/vector.hpp"

View File

@@ -3,7 +3,6 @@
#include <compare>
#include <concepts>
#include <memory>
#include "../config/config.h"
#include "../core/bit.hpp"
#include "../core/iterator.hpp"

View File

@@ -2,11 +2,11 @@
#define ENTT_GRAPH_ADJACENCY_MATRIX_HPP
#include <concepts>
#include <memory>
#include "../config/config.h"
#include "../core/iterator.hpp"
#include "../stl/cstddef.hpp"
#include "../stl/iterator.hpp"
#include "../stl/memory.hpp"
#include "../stl/type_traits.hpp"
#include "../stl/utility.hpp"
#include "../stl/vector.hpp"

View File

@@ -3,7 +3,6 @@
#include <concepts>
#include <functional>
#include <memory>
#include "../config/config.h"
#include "../container/dense_map.hpp"
#include "../container/dense_set.hpp"
@@ -14,6 +13,7 @@
#include "../stl/cstddef.hpp"
#include "../stl/functional.hpp"
#include "../stl/iterator.hpp"
#include "../stl/memory.hpp"
#include "../stl/type_traits.hpp"
#include "../stl/utility.hpp"
#include "../stl/vector.hpp"

View File

@@ -2,9 +2,9 @@
#define ENTT_GRAPH_FWD_HPP
#include <concepts>
#include <memory>
#include "../core/fwd.hpp"
#include "../stl/cstddef.hpp"
#include "../stl/memory.hpp"
namespace entt {

View File

@@ -2,8 +2,8 @@
#define ENTT_LOCATOR_LOCATOR_HPP
#include <concepts>
#include <memory>
#include "../config/config.h"
#include "../stl/memory.hpp"
#include "../stl/utility.hpp"
namespace entt {

View File

@@ -1,10 +1,10 @@
#ifndef ENTT_META_CTX_HPP
#define ENTT_META_CTX_HPP
#include <memory>
#include "../container/dense_map.hpp"
#include "../core/fwd.hpp"
#include "../stl/functional.hpp"
#include "../stl/memory.hpp"
#include "fwd.hpp"
namespace entt {

View File

@@ -3,7 +3,6 @@
#include <concepts>
#include <functional>
#include <memory>
#include "../config/config.h"
#include "../core/bit.hpp"
#include "../core/fwd.hpp"
@@ -13,6 +12,7 @@
#include "../locator/locator.hpp"
#include "../stl/cstddef.hpp"
#include "../stl/cstdint.hpp"
#include "../stl/memory.hpp"
#include "../stl/type_traits.hpp"
#include "../stl/utility.hpp"
#include "context.hpp"

View File

@@ -2,7 +2,6 @@
#define ENTT_META_META_HPP
#include <concepts>
#include <memory>
#include "../config/config.h"
#include "../core/any.hpp"
#include "../core/concepts.hpp"
@@ -15,6 +14,7 @@
#include "../stl/array.hpp"
#include "../stl/cstddef.hpp"
#include "../stl/iterator.hpp"
#include "../stl/memory.hpp"
#include "../stl/string_view.hpp"
#include "../stl/type_traits.hpp"
#include "../stl/utility.hpp"

View File

@@ -1,7 +1,6 @@
#ifndef ENTT_META_NODE_HPP
#define ENTT_META_NODE_HPP
#include <memory>
#include "../config/config.h"
#include "../core/bit.hpp"
#include "../core/concepts.hpp"
@@ -14,6 +13,7 @@
#include "../stl/bit.hpp"
#include "../stl/cstddef.hpp"
#include "../stl/cstdint.hpp"
#include "../stl/memory.hpp"
#include "../stl/type_traits.hpp"
#include "../stl/utility.hpp"
#include "../stl/vector.hpp"

View File

@@ -3,7 +3,7 @@
#ifndef ENTT_META_POINTER_HPP
#define ENTT_META_POINTER_HPP
#include <memory>
#include "../stl/memory.hpp"
#include "../stl/type_traits.hpp"
#include "type_traits.hpp"

View File

@@ -1,8 +1,8 @@
#ifndef ENTT_PROCESS_FWD_HPP
#define ENTT_PROCESS_FWD_HPP
#include <memory>
#include "../stl/cstdint.hpp"
#include "../stl/memory.hpp"
namespace entt {

View File

@@ -1,10 +1,10 @@
#ifndef ENTT_PROCESS_PROCESS_HPP
#define ENTT_PROCESS_PROCESS_HPP
#include <memory>
#include "../core/compressed_pair.hpp"
#include "../core/type_traits.hpp"
#include "../stl/cstdint.hpp"
#include "../stl/memory.hpp"
#include "../stl/type_traits.hpp"
#include "../stl/utility.hpp"
#include "fwd.hpp"

View File

@@ -1,10 +1,10 @@
#ifndef ENTT_PROCESS_SCHEDULER_HPP
#define ENTT_PROCESS_SCHEDULER_HPP
#include <memory>
#include "../config/config.h"
#include "../core/compressed_pair.hpp"
#include "../stl/cstddef.hpp"
#include "../stl/memory.hpp"
#include "../stl/type_traits.hpp"
#include "../stl/utility.hpp"
#include "../stl/vector.hpp"

View File

@@ -4,7 +4,6 @@
#include <compare>
#include <concepts>
#include <functional>
#include <memory>
#include "../container/dense_map.hpp"
#include "../core/compressed_pair.hpp"
#include "../core/fwd.hpp"
@@ -12,6 +11,7 @@
#include "../stl/cstddef.hpp"
#include "../stl/functional.hpp"
#include "../stl/iterator.hpp"
#include "../stl/memory.hpp"
#include "../stl/tuple.hpp"
#include "../stl/type_traits.hpp"
#include "../stl/utility.hpp"

View File

@@ -1,7 +1,7 @@
#ifndef ENTT_RESOURCE_FWD_HPP
#define ENTT_RESOURCE_FWD_HPP
#include <memory>
#include "../stl/memory.hpp"
namespace entt {

View File

@@ -1,7 +1,7 @@
#ifndef ENTT_RESOURCE_LOADER_HPP
#define ENTT_RESOURCE_LOADER_HPP
#include <memory>
#include "../stl/memory.hpp"
#include "../stl/utility.hpp"
#include "fwd.hpp"

View File

@@ -3,7 +3,7 @@
#include <compare>
#include <concepts>
#include <memory>
#include "../stl/memory.hpp"
#include "../stl/utility.hpp"
#include "fwd.hpp"

View File

@@ -2,7 +2,6 @@
#define ENTT_SIGNAL_DISPATCHER_HPP
#include <functional>
#include <memory>
#include "../container/dense_map.hpp"
#include "../core/compressed_pair.hpp"
#include "../core/concepts.hpp"
@@ -10,6 +9,7 @@
#include "../core/type_info.hpp"
#include "../stl/cstddef.hpp"
#include "../stl/functional.hpp"
#include "../stl/memory.hpp"
#include "../stl/type_traits.hpp"
#include "../stl/utility.hpp"
#include "../stl/vector.hpp"

View File

@@ -1,7 +1,7 @@
#ifndef ENTT_SIGNAL_FWD_HPP
#define ENTT_SIGNAL_FWD_HPP
#include <memory>
#include "../stl/memory.hpp"
namespace entt {

View File

@@ -1,8 +1,8 @@
#ifndef ENTT_SIGNAL_SIGH_HPP
#define ENTT_SIGNAL_SIGH_HPP
#include <memory>
#include "../stl/cstddef.hpp"
#include "../stl/memory.hpp"
#include "../stl/type_traits.hpp"
#include "../stl/utility.hpp"
#include "../stl/vector.hpp"