diff options
Diffstat (limited to 'libcxx/include/__memory/ranges_construct_at.h')
| -rw-r--r-- | libcxx/include/__memory/ranges_construct_at.h | 11 | 
1 files changed, 8 insertions, 3 deletions
diff --git a/libcxx/include/__memory/ranges_construct_at.h b/libcxx/include/__memory/ranges_construct_at.h index e63585d1ab63..ed800f4a75b4 100644 --- a/libcxx/include/__memory/ranges_construct_at.h +++ b/libcxx/include/__memory/ranges_construct_at.h @@ -13,7 +13,7 @@  #include <__concepts/destructible.h>  #include <__config>  #include <__iterator/incrementable_traits.h> -#include <__iterator/readable_traits.h> +#include <__iterator/iterator_traits.h>  #include <__memory/concepts.h>  #include <__memory/construct_at.h>  #include <__ranges/access.h> @@ -28,9 +28,12 @@  #  pragma GCC system_header  #endif +_LIBCPP_PUSH_MACROS +#include <__undef_macros> +  _LIBCPP_BEGIN_NAMESPACE_STD -#if _LIBCPP_STD_VER > 17 +#if _LIBCPP_STD_VER >= 20  namespace ranges {  // construct_at @@ -118,8 +121,10 @@ inline namespace __cpo {  } // namespace ranges -#endif // _LIBCPP_STD_VER > 17 +#endif // _LIBCPP_STD_VER >= 20  _LIBCPP_END_NAMESPACE_STD +_LIBCPP_POP_MACROS +  #endif // _LIBCPP___MEMORY_RANGES_CONSTRUCT_AT_H  | 
