浏览代码

stl: undef internal macros

skypjack 5 月之前
父节点
当前提交
7d527e2633
共有 3 个文件被更改,包括 6 次插入 和 0 次删除
  1. 2 0
      src/entt/stl/functional.hpp
  2. 2 0
      src/entt/stl/iterator.hpp
  3. 2 0
      src/entt/stl/memory.hpp

+ 2 - 0
src/entt/stl/functional.hpp

@@ -48,4 +48,6 @@ struct identity {
 #endif
 #endif
 /*! @endcond */
 /*! @endcond */
 
 
+#undef ENTT_HAS_IDENTITY
+
 #endif
 #endif

+ 2 - 0
src/entt/stl/iterator.hpp

@@ -101,4 +101,6 @@ concept sentinel_for = input_or_output_iterator<It> && requires(Sentinel sentine
 } // namespace entt::stl
 } // namespace entt::stl
 /*! @endcond */
 /*! @endcond */
 
 
+#undef ENTT_HAS_ITERATOR_CONCEPTS
+
 #endif
 #endif

+ 2 - 0
src/entt/stl/memory.hpp

@@ -66,4 +66,6 @@ constexpr auto to_address(const Type &ptr) noexcept {
 #endif
 #endif
 /*! @endcond */
 /*! @endcond */
 
 
+#undef ENTT_HAS_TO_ADDRESS
+
 #endif
 #endif