|
@@ -1,9 +1,12 @@
|
|
|
#ifndef ENTT_STL_CONCEPTS_HPP
|
|
#ifndef ENTT_STL_CONCEPTS_HPP
|
|
|
#define ENTT_STL_CONCEPTS_HPP
|
|
#define ENTT_STL_CONCEPTS_HPP
|
|
|
|
|
|
|
|
-#include <concepts>
|
|
|
|
|
-
|
|
|
|
|
/*! @cond ENTT_INTERNAL */
|
|
/*! @cond ENTT_INTERNAL */
|
|
|
|
|
+#if __has_include(<entt/ext/stl/concepts.hpp>)
|
|
|
|
|
+# include <entt/ext/stl/concepts.hpp>
|
|
|
|
|
+#else
|
|
|
|
|
+# include <concepts>
|
|
|
|
|
+
|
|
|
namespace entt::stl {
|
|
namespace entt::stl {
|
|
|
|
|
|
|
|
using std::constructible_from;
|
|
using std::constructible_from;
|
|
@@ -15,6 +18,7 @@ using std::same_as;
|
|
|
using std::unsigned_integral;
|
|
using std::unsigned_integral;
|
|
|
|
|
|
|
|
} // namespace entt::stl
|
|
} // namespace entt::stl
|
|
|
|
|
+#endif
|
|
|
/*! @endcond */
|
|
/*! @endcond */
|
|
|
|
|
|
|
|
#endif
|
|
#endif
|