Explorar o código

stl: include limits.hpp

skypjack hai 3 días
pai
achega
7674036b67

+ 1 - 0
CMakeLists.txt

@@ -202,6 +202,7 @@ if(ENTT_INCLUDE_HEADERS)
         stl/cstdint.hpp
         stl/cstdint.hpp
         stl/functional.hpp
         stl/functional.hpp
         stl/iterator.hpp
         stl/iterator.hpp
+        stl/limits.hpp
         stl/memory.hpp
         stl/memory.hpp
         stl/tuple.hpp
         stl/tuple.hpp
         stl/type_traits.hpp
         stl/type_traits.hpp

+ 1 - 1
src/entt/container/dense_map.hpp

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

+ 1 - 1
src/entt/container/dense_set.hpp

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

+ 1 - 0
src/entt/entt.hpp

@@ -76,6 +76,7 @@ namespace entt::stl {}
 #include "stl/cstdint.hpp"
 #include "stl/cstdint.hpp"
 #include "stl/functional.hpp"
 #include "stl/functional.hpp"
 #include "stl/iterator.hpp"
 #include "stl/iterator.hpp"
+#include "stl/limits.hpp"
 #include "stl/memory.hpp"
 #include "stl/memory.hpp"
 #include "stl/tuple.hpp"
 #include "stl/tuple.hpp"
 #include "stl/type_traits.hpp"
 #include "stl/type_traits.hpp"

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

@@ -1,8 +1,8 @@
 #ifndef ENTT_META_FWD_HPP
 #ifndef ENTT_META_FWD_HPP
 #define ENTT_META_FWD_HPP
 #define ENTT_META_FWD_HPP
 
 
-#include <limits>
 #include "../stl/cstddef.hpp"
 #include "../stl/cstddef.hpp"
+#include "../stl/limits.hpp"
 
 
 namespace entt {
 namespace entt {
 
 

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

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