forked from OSchip/llvm-project
[libc++] Granularize <concept> includes
Reviewed By: ldionne, #libc Spies: libcxx-commits Differential Revision: https://reviews.llvm.org/D137283
This commit is contained in:
parent
edf885531e
commit
89b356f05a
|
@ -17,6 +17,7 @@
|
|||
#include <__algorithm/ranges_copy_n.h>
|
||||
#include <__algorithm/transform.h>
|
||||
#include <__algorithm/unwrap_iter.h>
|
||||
#include <__concepts/same_as.h>
|
||||
#include <__config>
|
||||
#include <__format/concepts.h>
|
||||
#include <__format/enable_insertable.h>
|
||||
|
@ -27,7 +28,6 @@
|
|||
#include <__iterator/iterator_traits.h>
|
||||
#include <__iterator/wrap_iter.h>
|
||||
#include <__utility/move.h>
|
||||
#include <concepts>
|
||||
#include <cstddef>
|
||||
#include <string_view>
|
||||
#include <type_traits>
|
||||
|
|
|
@ -18,7 +18,6 @@
|
|||
#include <__iterator/back_insert_iterator.h>
|
||||
#include <__iterator/concepts.h>
|
||||
#include <__utility/move.h>
|
||||
#include <concepts>
|
||||
#include <cstddef>
|
||||
|
||||
#ifndef _LIBCPP_HAS_NO_LOCALIZATION
|
||||
|
|
|
@ -19,6 +19,7 @@
|
|||
#include <__algorithm/find_if.h>
|
||||
#include <__algorithm/min.h>
|
||||
#include <__assert>
|
||||
#include <__concepts/same_as.h>
|
||||
#include <__config>
|
||||
#include <__debug>
|
||||
#include <__format/format_arg.h>
|
||||
|
@ -28,7 +29,6 @@
|
|||
#include <__format/unicode.h>
|
||||
#include <__variant/monostate.h>
|
||||
#include <bit>
|
||||
#include <concepts>
|
||||
#include <cstdint>
|
||||
#include <string_view>
|
||||
#include <type_traits>
|
||||
|
|
|
@ -10,9 +10,10 @@
|
|||
#ifndef _LIBCPP___FUNCTIONAL_RANGES_OPERATIONS_H
|
||||
#define _LIBCPP___FUNCTIONAL_RANGES_OPERATIONS_H
|
||||
|
||||
#include <__concepts/equality_comparable.h>
|
||||
#include <__concepts/totally_ordered.h>
|
||||
#include <__config>
|
||||
#include <__utility/forward.h>
|
||||
#include <concepts>
|
||||
|
||||
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
|
||||
# pragma GCC system_header
|
||||
|
|
|
@ -11,6 +11,8 @@
|
|||
#define _LIBCPP___ITERATOR_ADVANCE_H
|
||||
|
||||
#include <__assert>
|
||||
#include <__concepts/assignable.h>
|
||||
#include <__concepts/same_as.h>
|
||||
#include <__config>
|
||||
#include <__iterator/concepts.h>
|
||||
#include <__iterator/incrementable_traits.h>
|
||||
|
@ -18,7 +20,6 @@
|
|||
#include <__utility/convert_to_integral.h>
|
||||
#include <__utility/move.h>
|
||||
#include <__utility/unreachable.h>
|
||||
#include <concepts>
|
||||
#include <cstdlib>
|
||||
#include <limits>
|
||||
#include <type_traits>
|
||||
|
|
|
@ -11,6 +11,13 @@
|
|||
#define _LIBCPP___ITERATOR_COMMON_ITERATOR_H
|
||||
|
||||
#include <__assert>
|
||||
#include <__concepts/assignable.h>
|
||||
#include <__concepts/constructible.h>
|
||||
#include <__concepts/convertible_to.h>
|
||||
#include <__concepts/copyable.h>
|
||||
#include <__concepts/derived_from.h>
|
||||
#include <__concepts/equality_comparable.h>
|
||||
#include <__concepts/same_as.h>
|
||||
#include <__config>
|
||||
#include <__iterator/concepts.h>
|
||||
#include <__iterator/incrementable_traits.h>
|
||||
|
@ -18,7 +25,6 @@
|
|||
#include <__iterator/iter_swap.h>
|
||||
#include <__iterator/iterator_traits.h>
|
||||
#include <__iterator/readable_traits.h>
|
||||
#include <concepts>
|
||||
#include <variant>
|
||||
|
||||
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
|
||||
|
|
|
@ -10,6 +10,21 @@
|
|||
#ifndef _LIBCPP___ITERATOR_CONCEPTS_H
|
||||
#define _LIBCPP___ITERATOR_CONCEPTS_H
|
||||
|
||||
#include <__concepts/arithmetic.h>
|
||||
#include <__concepts/assignable.h>
|
||||
#include <__concepts/common_reference_with.h>
|
||||
#include <__concepts/constructible.h>
|
||||
#include <__concepts/copyable.h>
|
||||
#include <__concepts/derived_from.h>
|
||||
#include <__concepts/equality_comparable.h>
|
||||
#include <__concepts/invocable.h>
|
||||
#include <__concepts/movable.h>
|
||||
#include <__concepts/predicate.h>
|
||||
#include <__concepts/regular.h>
|
||||
#include <__concepts/relation.h>
|
||||
#include <__concepts/same_as.h>
|
||||
#include <__concepts/semiregular.h>
|
||||
#include <__concepts/totally_ordered.h>
|
||||
#include <__config>
|
||||
#include <__iterator/incrementable_traits.h>
|
||||
#include <__iterator/iter_move.h>
|
||||
|
@ -17,7 +32,6 @@
|
|||
#include <__iterator/readable_traits.h>
|
||||
#include <__memory/pointer_traits.h>
|
||||
#include <__utility/forward.h>
|
||||
#include <concepts>
|
||||
#include <type_traits>
|
||||
|
||||
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
|
||||
|
|
|
@ -10,6 +10,11 @@
|
|||
#define _LIBCPP___ITERATOR_COUNTED_ITERATOR_H
|
||||
|
||||
#include <__assert>
|
||||
#include <__concepts/assignable.h>
|
||||
#include <__concepts/common_with.h>
|
||||
#include <__concepts/constructible.h>
|
||||
#include <__concepts/convertible_to.h>
|
||||
#include <__concepts/same_as.h>
|
||||
#include <__config>
|
||||
#include <__iterator/concepts.h>
|
||||
#include <__iterator/default_sentinel.h>
|
||||
|
@ -21,7 +26,6 @@
|
|||
#include <__memory/pointer_traits.h>
|
||||
#include <__utility/move.h>
|
||||
#include <compare>
|
||||
#include <concepts>
|
||||
#include <type_traits>
|
||||
|
||||
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
|
||||
|
|
|
@ -10,9 +10,9 @@
|
|||
#ifndef _LIBCPP___ITERATOR_INCREMENTABLE_TRAITS_H
|
||||
#define _LIBCPP___ITERATOR_INCREMENTABLE_TRAITS_H
|
||||
|
||||
#include <__concepts/arithmetic.h>
|
||||
#include <__config>
|
||||
#include <__type_traits/is_primary_template.h>
|
||||
#include <concepts>
|
||||
#include <cstddef>
|
||||
#include <type_traits>
|
||||
|
||||
|
|
|
@ -9,6 +9,8 @@
|
|||
#ifndef _LIBCPP___ITERATOR_ITER_SWAP_H
|
||||
#define _LIBCPP___ITERATOR_ITER_SWAP_H
|
||||
|
||||
#include <__concepts/class_or_enum.h>
|
||||
#include <__concepts/swappable.h>
|
||||
#include <__config>
|
||||
#include <__iterator/concepts.h>
|
||||
#include <__iterator/iter_move.h>
|
||||
|
@ -16,7 +18,6 @@
|
|||
#include <__iterator/readable_traits.h>
|
||||
#include <__utility/forward.h>
|
||||
#include <__utility/move.h>
|
||||
#include <concepts>
|
||||
#include <type_traits>
|
||||
|
||||
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
|
||||
|
|
|
@ -10,11 +10,17 @@
|
|||
#ifndef _LIBCPP___ITERATOR_ITERATOR_TRAITS_H
|
||||
#define _LIBCPP___ITERATOR_ITERATOR_TRAITS_H
|
||||
|
||||
#include <__concepts/arithmetic.h>
|
||||
#include <__concepts/constructible.h>
|
||||
#include <__concepts/convertible_to.h>
|
||||
#include <__concepts/copyable.h>
|
||||
#include <__concepts/equality_comparable.h>
|
||||
#include <__concepts/same_as.h>
|
||||
#include <__concepts/totally_ordered.h>
|
||||
#include <__config>
|
||||
#include <__fwd/pair.h>
|
||||
#include <__iterator/incrementable_traits.h>
|
||||
#include <__iterator/readable_traits.h>
|
||||
#include <concepts>
|
||||
#include <cstddef>
|
||||
#include <type_traits>
|
||||
|
||||
|
|
|
@ -10,8 +10,8 @@
|
|||
#ifndef _LIBCPP___ITERATOR_READABLE_TRAITS_H
|
||||
#define _LIBCPP___ITERATOR_READABLE_TRAITS_H
|
||||
|
||||
#include <__concepts/same_as.h>
|
||||
#include <__config>
|
||||
#include <concepts>
|
||||
#include <type_traits>
|
||||
|
||||
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
|
||||
|
|
|
@ -10,13 +10,13 @@
|
|||
#ifndef _LIBCPP___MEMORY_CONCEPTS_H
|
||||
#define _LIBCPP___MEMORY_CONCEPTS_H
|
||||
|
||||
#include <__concepts/same_as.h>
|
||||
#include <__config>
|
||||
#include <__iterator/concepts.h>
|
||||
#include <__iterator/iterator_traits.h>
|
||||
#include <__iterator/readable_traits.h>
|
||||
#include <__ranges/access.h>
|
||||
#include <__ranges/concepts.h>
|
||||
#include <concepts>
|
||||
#include <type_traits>
|
||||
|
||||
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
|
||||
|
|
|
@ -9,6 +9,8 @@
|
|||
#ifndef _LIBCPP___RANGES_COMMON_VIEW_H
|
||||
#define _LIBCPP___RANGES_COMMON_VIEW_H
|
||||
|
||||
#include <__concepts/constructible.h>
|
||||
#include <__concepts/copyable.h>
|
||||
#include <__config>
|
||||
#include <__iterator/common_iterator.h>
|
||||
#include <__iterator/iterator_traits.h>
|
||||
|
@ -21,7 +23,6 @@
|
|||
#include <__ranges/view_interface.h>
|
||||
#include <__utility/forward.h>
|
||||
#include <__utility/move.h>
|
||||
#include <concepts>
|
||||
#include <type_traits>
|
||||
|
||||
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
|
||||
|
|
|
@ -10,11 +10,13 @@
|
|||
#ifndef _LIBCPP___RANGES_COPYABLE_BOX_H
|
||||
#define _LIBCPP___RANGES_COPYABLE_BOX_H
|
||||
|
||||
#include <__concepts/constructible.h>
|
||||
#include <__concepts/copyable.h>
|
||||
#include <__concepts/movable.h>
|
||||
#include <__config>
|
||||
#include <__memory/addressof.h>
|
||||
#include <__memory/construct_at.h>
|
||||
#include <__utility/move.h>
|
||||
#include <concepts>
|
||||
#include <optional>
|
||||
#include <type_traits>
|
||||
|
||||
|
|
|
@ -11,6 +11,8 @@
|
|||
|
||||
#include <__algorithm/min.h>
|
||||
#include <__assert>
|
||||
#include <__concepts/constructible.h>
|
||||
#include <__concepts/convertible_to.h>
|
||||
#include <__config>
|
||||
#include <__functional/bind_back.h>
|
||||
#include <__fwd/span.h>
|
||||
|
@ -33,7 +35,6 @@
|
|||
#include <__utility/auto_cast.h>
|
||||
#include <__utility/forward.h>
|
||||
#include <__utility/move.h>
|
||||
#include <concepts>
|
||||
#include <type_traits>
|
||||
|
||||
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
|
||||
|
|
|
@ -10,8 +10,9 @@
|
|||
#ifndef _LIBCPP___RANGES_ENABLE_VIEW_H
|
||||
#define _LIBCPP___RANGES_ENABLE_VIEW_H
|
||||
|
||||
#include <__concepts/derived_from.h>
|
||||
#include <__concepts/same_as.h>
|
||||
#include <__config>
|
||||
#include <concepts>
|
||||
#include <type_traits>
|
||||
|
||||
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
|
||||
|
|
|
@ -10,6 +10,10 @@
|
|||
#define _LIBCPP___RANGES_FILTER_VIEW_H
|
||||
|
||||
#include <__algorithm/ranges_find_if.h>
|
||||
#include <__concepts/constructible.h>
|
||||
#include <__concepts/copyable.h>
|
||||
#include <__concepts/derived_from.h>
|
||||
#include <__concepts/equality_comparable.h>
|
||||
#include <__config>
|
||||
#include <__debug>
|
||||
#include <__functional/bind_back.h>
|
||||
|
@ -30,7 +34,6 @@
|
|||
#include <__utility/forward.h>
|
||||
#include <__utility/in_place.h>
|
||||
#include <__utility/move.h>
|
||||
#include <concepts>
|
||||
#include <type_traits>
|
||||
|
||||
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
|
||||
|
|
|
@ -14,7 +14,6 @@
|
|||
#include <__iterator/iterator_traits.h> // iter_reference_t
|
||||
#include <__memory/addressof.h>
|
||||
#include <__utility/forward.h>
|
||||
#include <concepts> // constructible_from
|
||||
#include <optional>
|
||||
#include <type_traits>
|
||||
|
||||
|
|
|
@ -10,13 +10,16 @@
|
|||
#ifndef _LIBCPP___RANGES_RANGE_ADAPTOR_H
|
||||
#define _LIBCPP___RANGES_RANGE_ADAPTOR_H
|
||||
|
||||
#include <__concepts/constructible.h>
|
||||
#include <__concepts/derived_from.h>
|
||||
#include <__concepts/invocable.h>
|
||||
#include <__concepts/same_as.h>
|
||||
#include <__config>
|
||||
#include <__functional/compose.h>
|
||||
#include <__functional/invoke.h>
|
||||
#include <__ranges/concepts.h>
|
||||
#include <__utility/forward.h>
|
||||
#include <__utility/move.h>
|
||||
#include <concepts>
|
||||
#include <type_traits>
|
||||
|
||||
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
|
||||
|
|
|
@ -9,6 +9,8 @@
|
|||
#ifndef _LIBCPP___RANGES_REF_VIEW_H
|
||||
#define _LIBCPP___RANGES_REF_VIEW_H
|
||||
|
||||
#include <__concepts/convertible_to.h>
|
||||
#include <__concepts/different_from.h>
|
||||
#include <__config>
|
||||
#include <__iterator/concepts.h>
|
||||
#include <__iterator/incrementable_traits.h>
|
||||
|
@ -22,7 +24,6 @@
|
|||
#include <__ranges/size.h>
|
||||
#include <__ranges/view_interface.h>
|
||||
#include <__utility/forward.h>
|
||||
#include <concepts>
|
||||
#include <type_traits>
|
||||
|
||||
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
#ifndef _LIBCPP___RANGES_SINGLE_VIEW_H
|
||||
#define _LIBCPP___RANGES_SINGLE_VIEW_H
|
||||
|
||||
#include <__concepts/constructible.h>
|
||||
#include <__config>
|
||||
#include <__ranges/copyable_box.h>
|
||||
#include <__ranges/range_adaptor.h>
|
||||
|
@ -16,7 +17,6 @@
|
|||
#include <__utility/forward.h>
|
||||
#include <__utility/in_place.h>
|
||||
#include <__utility/move.h>
|
||||
#include <concepts>
|
||||
#include <type_traits>
|
||||
|
||||
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
|
||||
|
|
|
@ -9,13 +9,13 @@
|
|||
#ifndef _LIBCPP___RANGES_SIZE_H
|
||||
#define _LIBCPP___RANGES_SIZE_H
|
||||
|
||||
#include <__concepts/arithmetic.h>
|
||||
#include <__concepts/class_or_enum.h>
|
||||
#include <__config>
|
||||
#include <__iterator/concepts.h>
|
||||
#include <__iterator/iterator_traits.h>
|
||||
#include <__ranges/access.h>
|
||||
#include <__utility/auto_cast.h>
|
||||
#include <concepts>
|
||||
#include <cstddef>
|
||||
#include <type_traits>
|
||||
|
||||
|
|
|
@ -11,6 +11,8 @@
|
|||
|
||||
#include <__algorithm/min.h>
|
||||
#include <__algorithm/ranges_min.h>
|
||||
#include <__concepts/constructible.h>
|
||||
#include <__concepts/convertible_to.h>
|
||||
#include <__config>
|
||||
#include <__functional/bind_back.h>
|
||||
#include <__fwd/span.h>
|
||||
|
@ -34,7 +36,6 @@
|
|||
#include <__utility/auto_cast.h>
|
||||
#include <__utility/forward.h>
|
||||
#include <__utility/move.h>
|
||||
#include <concepts>
|
||||
#include <type_traits>
|
||||
|
||||
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
|
||||
|
|
|
@ -1917,6 +1917,7 @@ template <class BidirectionalIterator, class Compare>
|
|||
|
||||
#if !defined(_LIBCPP_REMOVE_TRANSITIVE_INCLUDES) && _LIBCPP_STD_VER <= 20
|
||||
# include <atomic>
|
||||
# include <concepts>
|
||||
# include <iterator>
|
||||
# include <memory>
|
||||
# include <stdexcept>
|
||||
|
|
|
@ -699,6 +699,7 @@ _LIBCPP_END_NAMESPACE_STD
|
|||
#endif
|
||||
|
||||
#if !defined(_LIBCPP_REMOVE_TRANSITIVE_INCLUDES) && _LIBCPP_STD_VER <= 20
|
||||
# include <concepts>
|
||||
# include <iterator>
|
||||
# include <memory>
|
||||
# include <variant>
|
||||
|
|
|
@ -534,6 +534,7 @@ _LIBCPP_END_NAMESPACE_STD
|
|||
|
||||
#if !defined(_LIBCPP_REMOVE_TRANSITIVE_INCLUDES) && _LIBCPP_STD_VER <= 20
|
||||
# include <algorithm>
|
||||
# include <concepts>
|
||||
# include <iterator>
|
||||
# include <utility>
|
||||
#endif
|
||||
|
|
|
@ -1152,4 +1152,8 @@ _LIBCPP_END_NAMESPACE_STD
|
|||
|
||||
_LIBCPP_POP_MACROS
|
||||
|
||||
#if !defined(_LIBCPP_REMOVE_TRANSITIVE_INCLUDES) && _LIBCPP_STD_VER <= 20
|
||||
# include <concepts>
|
||||
#endif
|
||||
|
||||
#endif // _LIBCPP_BITSET
|
||||
|
|
|
@ -832,6 +832,7 @@ _LIBCPP_END_NAMESPACE_STD
|
|||
_LIBCPP_POP_MACROS
|
||||
|
||||
#if !defined(_LIBCPP_REMOVE_TRANSITIVE_INCLUDES) && _LIBCPP_STD_VER <= 20
|
||||
# include <concepts>
|
||||
# include <iosfwd>
|
||||
#endif
|
||||
|
||||
|
|
|
@ -728,4 +728,8 @@ constexpr chrono::year operator ""y(unsigned lo
|
|||
# pragma GCC system_header
|
||||
#endif
|
||||
|
||||
#if !defined(_LIBCPP_REMOVE_TRANSITIVE_INCLUDES) && _LIBCPP_STD_VER <= 20
|
||||
# include <concepts>
|
||||
#endif
|
||||
|
||||
#endif // _LIBCPP_CHRONO
|
||||
|
|
|
@ -553,4 +553,8 @@ _LIBCPP_SUPPRESS_DEPRECATED_POP
|
|||
|
||||
_LIBCPP_END_NAMESPACE_STD
|
||||
|
||||
#if !defined(_LIBCPP_REMOVE_TRANSITIVE_INCLUDES) && _LIBCPP_STD_VER <= 20
|
||||
# include <concepts>
|
||||
#endif
|
||||
|
||||
#endif // _LIBCPP_CODECVT
|
||||
|
|
|
@ -268,4 +268,8 @@ _LIBCPP_END_NAMESPACE_STD
|
|||
|
||||
#endif // !_LIBCPP_HAS_NO_THREADS
|
||||
|
||||
#if !defined(_LIBCPP_REMOVE_TRANSITIVE_INCLUDES) && _LIBCPP_STD_VER <= 20
|
||||
# include <concepts>
|
||||
#endif
|
||||
|
||||
#endif // _LIBCPP_CONDITION_VARIABLE
|
||||
|
|
|
@ -2943,6 +2943,7 @@ _LIBCPP_POP_MACROS
|
|||
|
||||
#if !defined(_LIBCPP_REMOVE_TRANSITIVE_INCLUDES) && _LIBCPP_STD_VER <= 20
|
||||
# include <algorithm>
|
||||
# include <concepts>
|
||||
# include <functional>
|
||||
# include <iterator>
|
||||
#endif
|
||||
|
|
|
@ -983,6 +983,7 @@ operator!=(const hash_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>& __x,
|
|||
} // namespace __gnu_cxx
|
||||
|
||||
#if !defined(_LIBCPP_REMOVE_TRANSITIVE_INCLUDES) && _LIBCPP_STD_VER <= 20
|
||||
# include <concepts>
|
||||
# include <iterator>
|
||||
#endif
|
||||
|
||||
|
|
|
@ -663,6 +663,7 @@ operator!=(const hash_multiset<_Value, _Hash, _Pred, _Alloc>& __x,
|
|||
} // namespace __gnu_cxx
|
||||
|
||||
#if !defined(_LIBCPP_REMOVE_TRANSITIVE_INCLUDES) && _LIBCPP_STD_VER <= 20
|
||||
# include <concepts>
|
||||
# include <iterator>
|
||||
#endif
|
||||
|
||||
|
|
|
@ -461,4 +461,8 @@ inline constexpr bool std::ranges::enable_view<std::filesystem::recursive_direct
|
|||
# pragma GCC system_header
|
||||
#endif
|
||||
|
||||
#if !defined(_LIBCPP_REMOVE_TRANSITIVE_INCLUDES) && _LIBCPP_STD_VER <= 20
|
||||
# include <concepts>
|
||||
#endif
|
||||
|
||||
#endif // _LIBCPP_FILESYSTEM
|
||||
|
|
|
@ -1792,6 +1792,7 @@ _LIBCPP_POP_MACROS
|
|||
|
||||
#if !defined(_LIBCPP_REMOVE_TRANSITIVE_INCLUDES) && _LIBCPP_STD_VER <= 20
|
||||
# include <algorithm>
|
||||
# include <concepts>
|
||||
# include <functional>
|
||||
# include <iterator>
|
||||
#endif
|
||||
|
|
|
@ -1744,4 +1744,8 @@ _LIBCPP_END_NAMESPACE_STD
|
|||
|
||||
_LIBCPP_POP_MACROS
|
||||
|
||||
#if !defined(_LIBCPP_REMOVE_TRANSITIVE_INCLUDES) && _LIBCPP_STD_VER <= 20
|
||||
# include <concepts>
|
||||
#endif
|
||||
|
||||
#endif // _LIBCPP_FSTREAM
|
||||
|
|
|
@ -531,7 +531,6 @@ POLICY: For non-variadic implementations, the number of arguments is limited
|
|||
#include <__functional/unary_negate.h>
|
||||
#include <__functional/unwrap_ref.h>
|
||||
#include <__utility/forward.h>
|
||||
#include <concepts>
|
||||
#include <exception>
|
||||
#include <memory> // TODO: find out why removing this breaks the modules build
|
||||
#include <type_traits>
|
||||
|
@ -543,6 +542,7 @@ POLICY: For non-variadic implementations, the number of arguments is limited
|
|||
#endif
|
||||
|
||||
#if !defined(_LIBCPP_REMOVE_TRANSITIVE_INCLUDES) && _LIBCPP_STD_VER <= 20
|
||||
# include <concepts>
|
||||
# include <tuple>
|
||||
# include <utility>
|
||||
#endif
|
||||
|
|
|
@ -1038,4 +1038,8 @@ defaultfloat(ios_base& __str)
|
|||
|
||||
_LIBCPP_END_NAMESPACE_STD
|
||||
|
||||
#if !defined(_LIBCPP_REMOVE_TRANSITIVE_INCLUDES) && _LIBCPP_STD_VER <= 20
|
||||
# include <concepts>
|
||||
#endif
|
||||
|
||||
#endif // _LIBCPP_IOS
|
||||
|
|
|
@ -1637,6 +1637,10 @@ extern template class _LIBCPP_EXTERN_TEMPLATE_TYPE_VIS basic_iostream<char>;
|
|||
|
||||
_LIBCPP_END_NAMESPACE_STD
|
||||
|
||||
#if !defined(_LIBCPP_REMOVE_TRANSITIVE_INCLUDES) && _LIBCPP_STD_VER <= 20
|
||||
# include <concepts>
|
||||
#endif
|
||||
|
||||
_LIBCPP_POP_MACROS
|
||||
|
||||
#endif // _LIBCPP_ISTREAM
|
||||
|
|
|
@ -2375,6 +2375,7 @@ _LIBCPP_POP_MACROS
|
|||
|
||||
#if !defined(_LIBCPP_REMOVE_TRANSITIVE_INCLUDES) && _LIBCPP_STD_VER <= 20
|
||||
# include <algorithm>
|
||||
# include <concepts>
|
||||
# include <functional>
|
||||
# include <iterator>
|
||||
#endif
|
||||
|
|
|
@ -4353,6 +4353,7 @@ _LIBCPP_END_NAMESPACE_STD
|
|||
_LIBCPP_POP_MACROS
|
||||
|
||||
#if !defined(_LIBCPP_REMOVE_TRANSITIVE_INCLUDES) && _LIBCPP_STD_VER <= 20
|
||||
# include <concepts>
|
||||
# include <cstdarg>
|
||||
# include <iterator>
|
||||
#endif
|
||||
|
|
|
@ -2352,6 +2352,7 @@ _LIBCPP_END_NAMESPACE_STD
|
|||
#endif
|
||||
|
||||
#if !defined(_LIBCPP_REMOVE_TRANSITIVE_INCLUDES) && _LIBCPP_STD_VER <= 20
|
||||
# include <concepts>
|
||||
# include <functional>
|
||||
# include <iterator>
|
||||
# include <utility>
|
||||
|
|
|
@ -900,6 +900,7 @@ template<size_t N, class T>
|
|||
#endif
|
||||
|
||||
#if !defined(_LIBCPP_REMOVE_TRANSITIVE_INCLUDES) && _LIBCPP_STD_VER <= 20
|
||||
# include <concepts>
|
||||
# include <cstddef>
|
||||
# include <cstdint>
|
||||
# include <cstring>
|
||||
|
|
|
@ -704,6 +704,7 @@ _LIBCPP_END_NAMESPACE_STD
|
|||
_LIBCPP_POP_MACROS
|
||||
|
||||
#if !defined(_LIBCPP_REMOVE_TRANSITIVE_INCLUDES) && _LIBCPP_STD_VER <= 20
|
||||
# include <concepts>
|
||||
# include <functional>
|
||||
#endif
|
||||
|
||||
|
|
|
@ -59,8 +59,8 @@ namespace std::numbers {
|
|||
*/
|
||||
|
||||
#include <__assert> // all public C++ headers provide the assertion handler
|
||||
#include <__concepts/arithmetic.h>
|
||||
#include <__config>
|
||||
#include <concepts>
|
||||
#include <type_traits>
|
||||
#include <version>
|
||||
|
||||
|
@ -131,4 +131,8 @@ _LIBCPP_END_NAMESPACE_STD
|
|||
|
||||
#endif // _LIBCPP_STD_VER > 17
|
||||
|
||||
#if !defined(_LIBCPP_REMOVE_TRANSITIVE_INCLUDES) && _LIBCPP_STD_VER <= 20
|
||||
# include <concepts>
|
||||
#endif
|
||||
|
||||
#endif // _LIBCPP_NUMBERS
|
||||
|
|
|
@ -172,6 +172,7 @@ template<class T>
|
|||
#endif
|
||||
|
||||
#if !defined(_LIBCPP_REMOVE_TRANSITIVE_INCLUDES) && _LIBCPP_STD_VER <= 20
|
||||
# include <concepts>
|
||||
# include <functional>
|
||||
# include <iterator>
|
||||
#endif
|
||||
|
|
|
@ -959,6 +959,7 @@ struct _LIBCPP_TEMPLATE_VIS uses_allocator<priority_queue<_Tp, _Container, _Comp
|
|||
_LIBCPP_END_NAMESPACE_STD
|
||||
|
||||
#if !defined(_LIBCPP_REMOVE_TRANSITIVE_INCLUDES) && _LIBCPP_STD_VER <= 20
|
||||
# include <concepts>
|
||||
# include <functional>
|
||||
#endif
|
||||
|
||||
|
|
|
@ -1730,6 +1730,7 @@ class piecewise_linear_distribution
|
|||
#if !defined(_LIBCPP_REMOVE_TRANSITIVE_INCLUDES) && _LIBCPP_STD_VER <= 20
|
||||
# include <algorithm>
|
||||
# include <cmath>
|
||||
# include <concepts>
|
||||
# include <cstddef>
|
||||
# include <cstdint>
|
||||
# include <iosfwd>
|
||||
|
|
|
@ -6858,6 +6858,7 @@ _LIBCPP_END_NAMESPACE_STD
|
|||
_LIBCPP_POP_MACROS
|
||||
|
||||
#if !defined(_LIBCPP_REMOVE_TRANSITIVE_INCLUDES) && _LIBCPP_STD_VER <= 20
|
||||
# include <concepts>
|
||||
# include <iterator>
|
||||
# include <utility>
|
||||
#endif
|
||||
|
|
|
@ -1597,6 +1597,7 @@ _LIBCPP_END_NAMESPACE_STD
|
|||
#endif
|
||||
|
||||
#if !defined(_LIBCPP_REMOVE_TRANSITIVE_INCLUDES) && _LIBCPP_STD_VER <= 20
|
||||
# include <concepts>
|
||||
# include <functional>
|
||||
# include <iterator>
|
||||
#endif
|
||||
|
|
|
@ -590,6 +590,7 @@ _LIBCPP_END_NAMESPACE_STD
|
|||
_LIBCPP_POP_MACROS
|
||||
|
||||
#if !defined(_LIBCPP_REMOVE_TRANSITIVE_INCLUDES) && _LIBCPP_STD_VER <= 20
|
||||
# include <concepts>
|
||||
# include <functional>
|
||||
# include <iterator>
|
||||
#endif
|
||||
|
|
|
@ -362,6 +362,7 @@ struct _LIBCPP_TEMPLATE_VIS uses_allocator<stack<_Tp, _Container>, _Alloc>
|
|||
_LIBCPP_END_NAMESPACE_STD
|
||||
|
||||
#if !defined(_LIBCPP_REMOVE_TRANSITIVE_INCLUDES) && _LIBCPP_STD_VER <= 20
|
||||
# include <concepts>
|
||||
# include <functional>
|
||||
#endif
|
||||
|
||||
|
|
|
@ -4613,6 +4613,7 @@ _LIBCPP_POP_MACROS
|
|||
|
||||
#if !defined(_LIBCPP_REMOVE_TRANSITIVE_INCLUDES) && _LIBCPP_STD_VER <= 20
|
||||
# include <algorithm>
|
||||
# include <concepts>
|
||||
# include <functional>
|
||||
# include <iterator>
|
||||
# include <new>
|
||||
|
|
|
@ -1023,6 +1023,7 @@ _LIBCPP_POP_MACROS
|
|||
|
||||
#if !defined(_LIBCPP_REMOVE_TRANSITIVE_INCLUDES) && _LIBCPP_STD_VER <= 20
|
||||
# include <algorithm>
|
||||
# include <concepts>
|
||||
# include <functional>
|
||||
# include <iterator>
|
||||
#endif
|
||||
|
|
|
@ -2646,6 +2646,7 @@ _LIBCPP_END_NAMESPACE_STD
|
|||
#if !defined(_LIBCPP_REMOVE_TRANSITIVE_INCLUDES) && _LIBCPP_STD_VER <= 20
|
||||
# include <algorithm>
|
||||
# include <bit>
|
||||
# include <concepts>
|
||||
# include <iterator>
|
||||
#endif
|
||||
|
||||
|
|
|
@ -1816,6 +1816,7 @@ _LIBCPP_END_NAMESPACE_STD
|
|||
#endif
|
||||
|
||||
#if !defined(_LIBCPP_REMOVE_TRANSITIVE_INCLUDES) && _LIBCPP_STD_VER <= 20
|
||||
# include <concepts>
|
||||
# include <functional>
|
||||
# include <iterator>
|
||||
#endif
|
||||
|
|
|
@ -4931,6 +4931,7 @@ _LIBCPP_POP_MACROS
|
|||
|
||||
#if !defined(_LIBCPP_REMOVE_TRANSITIVE_INCLUDES) && _LIBCPP_STD_VER <= 20
|
||||
# include <algorithm>
|
||||
# include <concepts>
|
||||
# include <functional>
|
||||
#endif
|
||||
|
||||
|
|
|
@ -3281,6 +3281,7 @@ _LIBCPP_POP_MACROS
|
|||
|
||||
#if !defined(_LIBCPP_REMOVE_TRANSITIVE_INCLUDES) && _LIBCPP_STD_VER <= 20
|
||||
# include <algorithm>
|
||||
# include <concepts>
|
||||
# include <typeinfo>
|
||||
# include <utility>
|
||||
#endif
|
||||
|
|
|
@ -335,7 +335,6 @@ filesystem version
|
|||
format array
|
||||
format bit
|
||||
format charconv
|
||||
format concepts
|
||||
format cstddef
|
||||
format cstdint
|
||||
format cstdlib
|
||||
|
@ -650,7 +649,6 @@ random type_traits
|
|||
random vector
|
||||
random version
|
||||
ranges compare
|
||||
ranges concepts
|
||||
ranges cstddef
|
||||
ranges cstdlib
|
||||
ranges initializer_list
|
||||
|
|
|
|
@ -335,7 +335,6 @@ filesystem version
|
|||
format array
|
||||
format bit
|
||||
format charconv
|
||||
format concepts
|
||||
format cstddef
|
||||
format cstdint
|
||||
format cstdlib
|
||||
|
@ -651,7 +650,6 @@ random type_traits
|
|||
random vector
|
||||
random version
|
||||
ranges compare
|
||||
ranges concepts
|
||||
ranges cstddef
|
||||
ranges cstdlib
|
||||
ranges initializer_list
|
||||
|
|
|
|
@ -337,7 +337,6 @@ filesystem version
|
|||
format array
|
||||
format bit
|
||||
format charconv
|
||||
format concepts
|
||||
format cstddef
|
||||
format cstdint
|
||||
format cstdlib
|
||||
|
@ -653,7 +652,6 @@ random type_traits
|
|||
random vector
|
||||
random version
|
||||
ranges compare
|
||||
ranges concepts
|
||||
ranges cstddef
|
||||
ranges cstdlib
|
||||
ranges initializer_list
|
||||
|
|
|
|
@ -337,7 +337,6 @@ filesystem version
|
|||
format array
|
||||
format bit
|
||||
format charconv
|
||||
format concepts
|
||||
format cstddef
|
||||
format cstdint
|
||||
format cstdlib
|
||||
|
@ -653,7 +652,6 @@ random type_traits
|
|||
random vector
|
||||
random version
|
||||
ranges compare
|
||||
ranges concepts
|
||||
ranges cstddef
|
||||
ranges cstdlib
|
||||
ranges initializer_list
|
||||
|
|
|
|
@ -349,7 +349,6 @@ filesystem version
|
|||
format array
|
||||
format bit
|
||||
format charconv
|
||||
format concepts
|
||||
format cstddef
|
||||
format cstdint
|
||||
format cstdlib
|
||||
|
@ -663,7 +662,6 @@ random type_traits
|
|||
random vector
|
||||
random version
|
||||
ranges compare
|
||||
ranges concepts
|
||||
ranges cstddef
|
||||
ranges cstdlib
|
||||
ranges initializer_list
|
||||
|
|
|
|
@ -1,6 +1,5 @@
|
|||
algorithm bit
|
||||
algorithm climits
|
||||
algorithm concepts
|
||||
algorithm cstddef
|
||||
algorithm cstdint
|
||||
algorithm cstdlib
|
||||
|
@ -12,7 +11,6 @@ algorithm new
|
|||
algorithm type_traits
|
||||
algorithm version
|
||||
any atomic
|
||||
any concepts
|
||||
any cstddef
|
||||
any cstdint
|
||||
any cstdlib
|
||||
|
@ -26,7 +24,6 @@ any type_traits
|
|||
any typeinfo
|
||||
any version
|
||||
array compare
|
||||
array concepts
|
||||
array cstddef
|
||||
array cstdlib
|
||||
array initializer_list
|
||||
|
@ -59,7 +56,6 @@ bit limits
|
|||
bit type_traits
|
||||
bit version
|
||||
bitset climits
|
||||
bitset concepts
|
||||
bitset cstddef
|
||||
bitset cstdint
|
||||
bitset cstdlib
|
||||
|
@ -75,7 +71,6 @@ bitset version
|
|||
ccomplex complex
|
||||
charconv cerrno
|
||||
charconv cmath
|
||||
charconv concepts
|
||||
charconv cstddef
|
||||
charconv cstdint
|
||||
charconv cstdlib
|
||||
|
@ -88,7 +83,6 @@ chrono bit
|
|||
chrono charconv
|
||||
chrono cmath
|
||||
chrono compare
|
||||
chrono concepts
|
||||
chrono cstddef
|
||||
chrono cstdint
|
||||
chrono cstdlib
|
||||
|
@ -111,7 +105,6 @@ cmath type_traits
|
|||
cmath version
|
||||
codecvt atomic
|
||||
codecvt cctype
|
||||
codecvt concepts
|
||||
codecvt cstddef
|
||||
codecvt cstdint
|
||||
codecvt cstdlib
|
||||
|
@ -142,7 +135,6 @@ concepts cstddef
|
|||
concepts type_traits
|
||||
concepts version
|
||||
condition_variable atomic
|
||||
condition_variable concepts
|
||||
condition_variable cstddef
|
||||
condition_variable cstdint
|
||||
condition_variable cstdlib
|
||||
|
@ -171,7 +163,6 @@ cwchar cwctype
|
|||
cwctype cctype
|
||||
deque atomic
|
||||
deque compare
|
||||
deque concepts
|
||||
deque cstddef
|
||||
deque cstdint
|
||||
deque cstdlib
|
||||
|
@ -248,7 +239,6 @@ experimental/vector experimental/memory_resource
|
|||
experimental/vector vector
|
||||
ext/hash_map algorithm
|
||||
ext/hash_map cmath
|
||||
ext/hash_map concepts
|
||||
ext/hash_map cstddef
|
||||
ext/hash_map cstdint
|
||||
ext/hash_map cstring
|
||||
|
@ -261,7 +251,6 @@ ext/hash_map string
|
|||
ext/hash_map type_traits
|
||||
ext/hash_set algorithm
|
||||
ext/hash_set cmath
|
||||
ext/hash_set concepts
|
||||
ext/hash_set cstddef
|
||||
ext/hash_set cstdint
|
||||
ext/hash_set cstring
|
||||
|
@ -273,7 +262,6 @@ ext/hash_set string
|
|||
ext/hash_set type_traits
|
||||
filesystem cerrno
|
||||
filesystem compare
|
||||
filesystem concepts
|
||||
filesystem cstddef
|
||||
filesystem cstdint
|
||||
filesystem cstdlib
|
||||
|
@ -292,7 +280,6 @@ filesystem version
|
|||
format array
|
||||
format bit
|
||||
format charconv
|
||||
format concepts
|
||||
format cstddef
|
||||
format cstdint
|
||||
format cstdlib
|
||||
|
@ -308,7 +295,6 @@ format type_traits
|
|||
format version
|
||||
forward_list atomic
|
||||
forward_list compare
|
||||
forward_list concepts
|
||||
forward_list cstddef
|
||||
forward_list cstdint
|
||||
forward_list cstdlib
|
||||
|
@ -324,7 +310,6 @@ forward_list typeinfo
|
|||
forward_list version
|
||||
fstream atomic
|
||||
fstream cctype
|
||||
fstream concepts
|
||||
fstream cstddef
|
||||
fstream cstdint
|
||||
fstream cstdio
|
||||
|
@ -345,7 +330,6 @@ fstream typeinfo
|
|||
fstream version
|
||||
functional array
|
||||
functional atomic
|
||||
functional concepts
|
||||
functional cstddef
|
||||
functional cstdint
|
||||
functional cstdlib
|
||||
|
@ -378,7 +362,6 @@ iomanip istream
|
|||
iomanip version
|
||||
ios atomic
|
||||
ios cctype
|
||||
ios concepts
|
||||
ios cstddef
|
||||
ios cstdint
|
||||
ios cstdlib
|
||||
|
@ -400,7 +383,6 @@ iostream istream
|
|||
iostream ostream
|
||||
iostream streambuf
|
||||
iostream version
|
||||
istream concepts
|
||||
istream cstddef
|
||||
istream iosfwd
|
||||
istream ostream
|
||||
|
@ -423,7 +405,6 @@ limits type_traits
|
|||
limits version
|
||||
list atomic
|
||||
list compare
|
||||
list concepts
|
||||
list cstddef
|
||||
list cstdint
|
||||
list cstdlib
|
||||
|
@ -439,7 +420,6 @@ list typeinfo
|
|||
list version
|
||||
locale atomic
|
||||
locale cctype
|
||||
locale concepts
|
||||
locale cstddef
|
||||
locale cstdint
|
||||
locale cstdio
|
||||
|
@ -459,7 +439,6 @@ locale type_traits
|
|||
locale typeinfo
|
||||
locale version
|
||||
map compare
|
||||
map concepts
|
||||
map cstddef
|
||||
map cstdlib
|
||||
map initializer_list
|
||||
|
@ -472,7 +451,6 @@ map type_traits
|
|||
map version
|
||||
memory atomic
|
||||
memory compare
|
||||
memory concepts
|
||||
memory cstddef
|
||||
memory cstdint
|
||||
memory cstdlib
|
||||
|
@ -495,7 +473,6 @@ memory_resource stdexcept
|
|||
memory_resource tuple
|
||||
memory_resource version
|
||||
mutex atomic
|
||||
mutex concepts
|
||||
mutex cstddef
|
||||
mutex cstdint
|
||||
mutex cstdlib
|
||||
|
@ -516,11 +493,9 @@ new cstdlib
|
|||
new exception
|
||||
new type_traits
|
||||
new version
|
||||
numbers concepts
|
||||
numbers type_traits
|
||||
numbers version
|
||||
numeric cmath
|
||||
numeric concepts
|
||||
numeric cstddef
|
||||
numeric limits
|
||||
numeric type_traits
|
||||
|
@ -547,7 +522,6 @@ ostream streambuf
|
|||
ostream type_traits
|
||||
ostream version
|
||||
queue compare
|
||||
queue concepts
|
||||
queue cstddef
|
||||
queue cstdlib
|
||||
queue deque
|
||||
|
@ -559,7 +533,6 @@ queue version
|
|||
random bit
|
||||
random climits
|
||||
random cmath
|
||||
random concepts
|
||||
random cstddef
|
||||
random cstdint
|
||||
random cstdlib
|
||||
|
@ -572,7 +545,6 @@ random type_traits
|
|||
random vector
|
||||
random version
|
||||
ranges compare
|
||||
ranges concepts
|
||||
ranges cstddef
|
||||
ranges cstdlib
|
||||
ranges initializer_list
|
||||
|
@ -593,7 +565,6 @@ ratio version
|
|||
regex atomic
|
||||
regex cctype
|
||||
regex compare
|
||||
regex concepts
|
||||
regex cstddef
|
||||
regex cstdint
|
||||
regex cstdlib
|
||||
|
@ -624,7 +595,6 @@ semaphore ratio
|
|||
semaphore type_traits
|
||||
semaphore version
|
||||
set compare
|
||||
set concepts
|
||||
set cstddef
|
||||
set cstdlib
|
||||
set initializer_list
|
||||
|
@ -643,7 +613,6 @@ shared_mutex system_error
|
|||
shared_mutex type_traits
|
||||
shared_mutex version
|
||||
span array
|
||||
span concepts
|
||||
span cstddef
|
||||
span initializer_list
|
||||
span limits
|
||||
|
@ -656,7 +625,6 @@ sstream string
|
|||
sstream type_traits
|
||||
sstream version
|
||||
stack compare
|
||||
stack concepts
|
||||
stack cstddef
|
||||
stack deque
|
||||
stack initializer_list
|
||||
|
@ -671,7 +639,6 @@ streambuf iosfwd
|
|||
streambuf version
|
||||
string climits
|
||||
string compare
|
||||
string concepts
|
||||
string cstddef
|
||||
string cstdint
|
||||
string cstdio
|
||||
|
@ -688,7 +655,6 @@ string tuple
|
|||
string type_traits
|
||||
string version
|
||||
string_view compare
|
||||
string_view concepts
|
||||
string_view cstddef
|
||||
string_view cstdint
|
||||
string_view cstdio
|
||||
|
@ -744,7 +710,6 @@ typeinfo exception
|
|||
typeinfo type_traits
|
||||
unordered_map cmath
|
||||
unordered_map compare
|
||||
unordered_map concepts
|
||||
unordered_map cstddef
|
||||
unordered_map cstdint
|
||||
unordered_map cstdlib
|
||||
|
@ -759,7 +724,6 @@ unordered_map type_traits
|
|||
unordered_map version
|
||||
unordered_set cmath
|
||||
unordered_set compare
|
||||
unordered_set concepts
|
||||
unordered_set cstddef
|
||||
unordered_set cstdint
|
||||
unordered_set cstdlib
|
||||
|
@ -780,7 +744,6 @@ utility limits
|
|||
utility type_traits
|
||||
utility version
|
||||
valarray cmath
|
||||
valarray concepts
|
||||
valarray cstddef
|
||||
valarray cstdlib
|
||||
valarray cstring
|
||||
|
@ -804,7 +767,6 @@ variant version
|
|||
vector atomic
|
||||
vector climits
|
||||
vector compare
|
||||
vector concepts
|
||||
vector cstddef
|
||||
vector cstdint
|
||||
vector cstdlib
|
||||
|
|
|
|
@ -20,6 +20,7 @@
|
|||
|
||||
#include <algorithm>
|
||||
#include <cassert>
|
||||
#include <concepts>
|
||||
#include <functional>
|
||||
#include <utility>
|
||||
|
||||
|
|
Loading…
Reference in New Issue