skypjack пре 18 часа
родитељ
комит
a8fe00242a

+ 1 - 0
CMakeLists.txt

@@ -195,6 +195,7 @@ if(ENTT_INCLUDE_HEADERS)
         signal/emitter.hpp
         signal/fwd.hpp
         signal/sigh.hpp
+        stl/array.hpp
         stl/atomic.hpp
         stl/functional.hpp
         stl/iterator.hpp

+ 1 - 1
src/entt/entity/group.hpp

@@ -1,7 +1,6 @@
 #ifndef ENTT_ENTITY_GROUP_HPP
 #define ENTT_ENTITY_GROUP_HPP
 
-#include <array>
 #include <concepts>
 #include <cstddef>
 #include "../config/config.h"
@@ -10,6 +9,7 @@
 #include "../core/iterator.hpp"
 #include "../core/type_info.hpp"
 #include "../core/type_traits.hpp"
+#include "../stl/array.hpp"
 #include "../stl/iterator.hpp"
 #include "../stl/tuple.hpp"
 #include "../stl/type_traits.hpp"

+ 1 - 1
src/entt/entity/registry.hpp

@@ -2,7 +2,6 @@
 #define ENTT_ENTITY_REGISTRY_HPP
 
 #include <algorithm>
-#include <array>
 #include <compare>
 #include <concepts>
 #include <cstddef>
@@ -18,6 +17,7 @@
 #include "../core/memory.hpp"
 #include "../core/type_info.hpp"
 #include "../core/type_traits.hpp"
+#include "../stl/array.hpp"
 #include "../stl/functional.hpp"
 #include "../stl/iterator.hpp"
 #include "../stl/tuple.hpp"

+ 1 - 1
src/entt/entity/view.hpp

@@ -1,13 +1,13 @@
 #ifndef ENTT_ENTITY_VIEW_HPP
 #define ENTT_ENTITY_VIEW_HPP
 
-#include <array>
 #include <concepts>
 #include <cstddef>
 #include "../config/config.h"
 #include "../core/concepts.hpp"
 #include "../core/iterator.hpp"
 #include "../core/type_traits.hpp"
+#include "../stl/array.hpp"
 #include "../stl/iterator.hpp"
 #include "../stl/tuple.hpp"
 #include "../stl/type_traits.hpp"

+ 1 - 0
src/entt/entt.hpp

@@ -69,6 +69,7 @@ namespace entt::stl {}
 #include "signal/dispatcher.hpp"
 #include "signal/emitter.hpp"
 #include "signal/sigh.hpp"
+#include "stl/array.hpp"
 #include "stl/atomic.hpp"
 #include "stl/functional.hpp"
 #include "stl/iterator.hpp"

+ 1 - 1
src/entt/meta/meta.hpp

@@ -1,7 +1,6 @@
 #ifndef ENTT_META_META_HPP
 #define ENTT_META_META_HPP
 
-#include <array>
 #include <concepts>
 #include <cstddef>
 #include <memory>
@@ -15,6 +14,7 @@
 #include "../core/type_traits.hpp"
 #include "../core/utility.hpp"
 #include "../locator/locator.hpp"
+#include "../stl/array.hpp"
 #include "../stl/iterator.hpp"
 #include "../stl/type_traits.hpp"
 #include "../stl/utility.hpp"

+ 1 - 1
src/entt/meta/node.hpp

@@ -1,7 +1,6 @@
 #ifndef ENTT_META_NODE_HPP
 #define ENTT_META_NODE_HPP
 
-#include <array>
 #include <bit>
 #include <cstddef>
 #include <memory>
@@ -13,6 +12,7 @@
 #include "../core/type_info.hpp"
 #include "../core/type_traits.hpp"
 #include "../core/utility.hpp"
+#include "../stl/array.hpp"
 #include "../stl/type_traits.hpp"
 #include "../stl/utility.hpp"
 #include "../stl/vector.hpp"

+ 12 - 0
src/entt/stl/array.hpp

@@ -0,0 +1,12 @@
+#ifndef ENTT_STL_ARRAY_HPP
+#define ENTT_STL_ARRAY_HPP
+
+#include <array>
+
+/*! @cond ENTT_INTERNAL */
+namespace entt::stl {
+
+} // namespace entt::stl
+/*! @endcond */
+
+#endif