@@ -1,14 +1,18 @@
#ifndef ENTT_STL_IOS_HPP
#define ENTT_STL_IOS_HPP
-#include <ios>
-
/*! @cond ENTT_INTERNAL */
+#if __has_include(<entt/ext/stl/ios.hpp>)
+# include <entt/ext/stl/ios.hpp>
+#else
+# include <ios>
+
namespace entt::stl {
using std::boolalpha;
} // namespace entt::stl
+#endif
/*! @endcond */
#endif
@@ -1,2 +1,6 @@
#include <gtest/gtest.h>
#include <entt/stl/ios.hpp>
+TEST(IOS, HasInclude) {
+ static_assert(entt::stl::entt_ext_ios, "Header not properly included");
+}
@@ -0,0 +1,13 @@
+#ifndef ENTT_EXT_STL_IOS_HPP
+#define ENTT_EXT_STL_IOS_HPP
+/*! @cond ENTT_INTERNAL */
+#include <ios>
+namespace entt::stl {
+using namespace std;
+static constexpr auto entt_ext_ios = true;
+} // namespace entt::stl
+/*! @endcond */