mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-22 08:32:23 +00:00
[libc++] Granularize <type_traits> includes
Reviewed By: ldionne, #libc, #libc_abi Spies: #libc_vendors, smeenai, libcxx-commits Differential Revision: https://reviews.llvm.org/D145320
This commit is contained in:
parent
4235bf7a08
commit
0a4aa8a122
@ -19,7 +19,9 @@
|
||||
#include <__iterator/iterator_traits.h>
|
||||
#include <__memory/construct_at.h>
|
||||
#include <__memory/pointer_traits.h>
|
||||
#include <type_traits>
|
||||
#include <__type_traits/conditional.h>
|
||||
#include <__utility/swap.h>
|
||||
#include <cstring>
|
||||
|
||||
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
|
||||
# pragma GCC system_header
|
||||
|
@ -13,8 +13,8 @@
|
||||
#include <__chrono/duration.h>
|
||||
#include <__chrono/time_point.h>
|
||||
#include <__config>
|
||||
#include <__type_traits/common_type.h>
|
||||
#include <ratio>
|
||||
#include <type_traits>
|
||||
|
||||
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
|
||||
# pragma GCC system_header
|
||||
|
@ -18,7 +18,6 @@
|
||||
#include <iosfwd>
|
||||
#include <new>
|
||||
#include <system_error>
|
||||
#include <type_traits>
|
||||
|
||||
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
|
||||
# pragma GCC system_header
|
||||
|
@ -18,10 +18,13 @@
|
||||
#include <__fwd/hash.h>
|
||||
#include <__iterator/back_insert_iterator.h>
|
||||
#include <__iterator/iterator_traits.h>
|
||||
#include <__type_traits/decay.h>
|
||||
#include <__type_traits/is_pointer.h>
|
||||
#include <__type_traits/remove_const.h>
|
||||
#include <__type_traits/remove_pointer.h>
|
||||
#include <cstddef>
|
||||
#include <string>
|
||||
#include <string_view>
|
||||
#include <type_traits>
|
||||
|
||||
#if !defined(_LIBCPP_HAS_NO_LOCALIZATION)
|
||||
# include <iomanip> // for quoted
|
||||
|
@ -15,7 +15,6 @@
|
||||
#include <__config>
|
||||
#include <__filesystem/path.h>
|
||||
#include <string>
|
||||
#include <type_traits>
|
||||
|
||||
// Only required on Windows for __widen_from_utf8, and included conservatively
|
||||
// because it requires support for localization.
|
||||
|
@ -27,6 +27,7 @@
|
||||
#include <__iterator/incrementable_traits.h>
|
||||
#include <__iterator/iterator_traits.h>
|
||||
#include <__iterator/wrap_iter.h>
|
||||
#include <__type_traits/add_pointer.h>
|
||||
#include <__utility/move.h>
|
||||
#include <cstddef>
|
||||
#include <string_view>
|
||||
|
@ -18,6 +18,7 @@
|
||||
#include <__format/format_parse_context.h>
|
||||
#include <__functional/invoke.h>
|
||||
#include <__memory/addressof.h>
|
||||
#include <__utility/declval.h>
|
||||
#include <__utility/forward.h>
|
||||
#include <__utility/unreachable.h>
|
||||
#include <__variant/monostate.h>
|
||||
|
@ -19,6 +19,9 @@
|
||||
#include <__config>
|
||||
#include <__format/concepts.h>
|
||||
#include <__format/format_arg.h>
|
||||
#include <__type_traits/conditional.h>
|
||||
#include <__type_traits/extent.h>
|
||||
#include <__type_traits/is_same.h>
|
||||
#include <__utility/forward.h>
|
||||
#include <string>
|
||||
#include <string_view>
|
||||
|
@ -12,6 +12,7 @@
|
||||
|
||||
#include <__config>
|
||||
#include <__format/format_error.h>
|
||||
#include <__type_traits/is_constant_evaluated.h>
|
||||
#include <string_view>
|
||||
|
||||
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
|
||||
|
@ -26,6 +26,7 @@
|
||||
#include <__format/formatter_output.h>
|
||||
#include <__format/parser_std_format_spec.h>
|
||||
#include <__memory/allocator.h>
|
||||
#include <__type_traits/conditional.h>
|
||||
#include <__utility/move.h>
|
||||
#include <__utility/unreachable.h>
|
||||
#include <charconv>
|
||||
|
@ -30,6 +30,8 @@
|
||||
#include <__format/unicode.h>
|
||||
#include <__iterator/concepts.h>
|
||||
#include <__iterator/readable_traits.h> // iter_value_t
|
||||
#include <__type_traits/common_type.h>
|
||||
#include <__type_traits/is_trivially_copyable.h>
|
||||
#include <__variant/monostate.h>
|
||||
#include <cstdint>
|
||||
#include <string_view>
|
||||
|
@ -15,7 +15,6 @@
|
||||
#include <__functional/weak_result_type.h>
|
||||
#include <cstddef>
|
||||
#include <tuple>
|
||||
#include <type_traits>
|
||||
|
||||
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
|
||||
# pragma GCC system_header
|
||||
|
@ -16,7 +16,6 @@
|
||||
#include <__utility/forward.h>
|
||||
#include <__utility/integer_sequence.h>
|
||||
#include <tuple>
|
||||
#include <type_traits>
|
||||
|
||||
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
|
||||
# pragma GCC system_header
|
||||
|
@ -14,7 +14,6 @@
|
||||
#include <__functional/invoke.h>
|
||||
#include <__functional/perfect_forward.h>
|
||||
#include <__utility/forward.h>
|
||||
#include <type_traits>
|
||||
|
||||
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
|
||||
# pragma GCC system_header
|
||||
|
@ -14,7 +14,6 @@
|
||||
#include <__functional/invoke.h>
|
||||
#include <__functional/perfect_forward.h>
|
||||
#include <__utility/forward.h>
|
||||
#include <type_traits>
|
||||
|
||||
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
|
||||
# pragma GCC system_header
|
||||
|
@ -23,6 +23,9 @@
|
||||
#include <__memory/builtin_new_allocator.h>
|
||||
#include <__memory/compressed_pair.h>
|
||||
#include <__memory/unique_ptr.h>
|
||||
#include <__type_traits/aligned_storage.h>
|
||||
#include <__type_traits/is_trivially_copy_constructible.h>
|
||||
#include <__type_traits/is_trivially_destructible.h>
|
||||
#include <__type_traits/strip_signature.h>
|
||||
#include <__utility/forward.h>
|
||||
#include <__utility/move.h>
|
||||
@ -31,7 +34,6 @@
|
||||
#include <exception>
|
||||
#include <new>
|
||||
#include <tuple>
|
||||
#include <type_traits>
|
||||
#include <typeinfo>
|
||||
|
||||
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
|
||||
|
@ -11,7 +11,8 @@
|
||||
#define _LIBCPP___FUNCTIONAL_IS_TRANSPARENT
|
||||
|
||||
#include <__config>
|
||||
#include <type_traits>
|
||||
#include <__type_traits/integral_constant.h>
|
||||
#include <__type_traits/void_t.h>
|
||||
|
||||
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
|
||||
# pragma GCC system_header
|
||||
|
@ -15,7 +15,6 @@
|
||||
#include <__functional/invoke.h>
|
||||
#include <__functional/weak_result_type.h>
|
||||
#include <__utility/forward.h>
|
||||
#include <type_traits>
|
||||
|
||||
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
|
||||
# pragma GCC system_header
|
||||
|
@ -14,7 +14,6 @@
|
||||
#include <__functional/invoke.h>
|
||||
#include <__functional/perfect_forward.h>
|
||||
#include <__utility/forward.h>
|
||||
#include <type_traits>
|
||||
|
||||
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
|
||||
# pragma GCC system_header
|
||||
|
@ -15,7 +15,6 @@
|
||||
#include <__utility/forward.h>
|
||||
#include <__utility/move.h>
|
||||
#include <tuple>
|
||||
#include <type_traits>
|
||||
|
||||
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
|
||||
# pragma GCC system_header
|
||||
|
@ -17,6 +17,7 @@
|
||||
#include <__config>
|
||||
#include <__debug>
|
||||
#include <__functional/hash.h>
|
||||
#include <__functional/invoke.h>
|
||||
#include <__iterator/iterator_traits.h>
|
||||
#include <__memory/addressof.h>
|
||||
#include <__memory/allocator_traits.h>
|
||||
@ -25,6 +26,16 @@
|
||||
#include <__memory/swap_allocator.h>
|
||||
#include <__memory/unique_ptr.h>
|
||||
#include <__type_traits/can_extract_key.h>
|
||||
#include <__type_traits/conditional.h>
|
||||
#include <__type_traits/is_const.h>
|
||||
#include <__type_traits/is_copy_constructible.h>
|
||||
#include <__type_traits/is_nothrow_constructible.h>
|
||||
#include <__type_traits/is_nothrow_default_constructible.h>
|
||||
#include <__type_traits/is_nothrow_move_constructible.h>
|
||||
#include <__type_traits/is_pointer.h>
|
||||
#include <__type_traits/is_reference.h>
|
||||
#include <__type_traits/remove_const.h>
|
||||
#include <__type_traits/remove_cvref.h>
|
||||
#include <__utility/forward.h>
|
||||
#include <__utility/move.h>
|
||||
#include <__utility/pair.h>
|
||||
@ -32,7 +43,6 @@
|
||||
#include <cmath>
|
||||
#include <cstring>
|
||||
#include <initializer_list>
|
||||
#include <type_traits>
|
||||
|
||||
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
|
||||
# pragma GCC system_header
|
||||
|
@ -29,6 +29,20 @@
|
||||
#include <__memory/pointer_traits.h>
|
||||
#include <__memory/uninitialized_algorithms.h>
|
||||
#include <__memory/unique_ptr.h>
|
||||
#include <__type_traits/add_lvalue_reference.h>
|
||||
#include <__type_traits/conditional.h>
|
||||
#include <__type_traits/conjunction.h>
|
||||
#include <__type_traits/disjunction.h>
|
||||
#include <__type_traits/is_array.h>
|
||||
#include <__type_traits/is_bounded_array.h>
|
||||
#include <__type_traits/is_move_constructible.h>
|
||||
#include <__type_traits/is_reference.h>
|
||||
#include <__type_traits/is_unbounded_array.h>
|
||||
#include <__type_traits/nat.h>
|
||||
#include <__type_traits/negation.h>
|
||||
#include <__type_traits/remove_extent.h>
|
||||
#include <__type_traits/remove_reference.h>
|
||||
#include <__utility/declval.h>
|
||||
#include <__utility/forward.h>
|
||||
#include <__utility/move.h>
|
||||
#include <__utility/swap.h>
|
||||
|
@ -16,6 +16,8 @@
|
||||
#include <__chrono/time_point.h>
|
||||
#include <__config>
|
||||
#include <__threading_support>
|
||||
#include <__type_traits/is_floating_point.h>
|
||||
#include <__type_traits/is_nothrow_default_constructible.h>
|
||||
#include <ratio>
|
||||
#include <system_error>
|
||||
#include <time.h>
|
||||
|
@ -12,7 +12,6 @@
|
||||
#include <__config>
|
||||
#include <cmath>
|
||||
#include <limits>
|
||||
#include <type_traits>
|
||||
|
||||
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
|
||||
# pragma GCC system_header
|
||||
|
@ -11,10 +11,12 @@
|
||||
|
||||
#include <__config>
|
||||
#include <__random/is_seed_sequence.h>
|
||||
#include <__type_traits/enable_if.h>
|
||||
#include <__type_traits/is_convertible.h>
|
||||
#include <__utility/move.h>
|
||||
#include <cstddef>
|
||||
#include <iosfwd>
|
||||
#include <limits>
|
||||
#include <type_traits>
|
||||
|
||||
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
|
||||
# pragma GCC system_header
|
||||
|
@ -12,10 +12,13 @@
|
||||
#include <__config>
|
||||
#include <__random/is_seed_sequence.h>
|
||||
#include <__random/log2.h>
|
||||
#include <__type_traits/conditional.h>
|
||||
#include <__type_traits/enable_if.h>
|
||||
#include <__type_traits/is_convertible.h>
|
||||
#include <__utility/move.h>
|
||||
#include <cstddef>
|
||||
#include <iosfwd>
|
||||
#include <limits>
|
||||
#include <type_traits>
|
||||
|
||||
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
|
||||
# pragma GCC system_header
|
||||
|
@ -10,7 +10,9 @@
|
||||
#define _LIBCPP___RANDOM_IS_SEED_SEQUENCE_H
|
||||
|
||||
#include <__config>
|
||||
#include <type_traits>
|
||||
#include <__type_traits/is_convertible.h>
|
||||
#include <__type_traits/is_same.h>
|
||||
#include <__type_traits/remove_cv.h>
|
||||
|
||||
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
|
||||
# pragma GCC system_header
|
||||
|
@ -11,9 +11,11 @@
|
||||
|
||||
#include <__config>
|
||||
#include <__random/is_seed_sequence.h>
|
||||
#include <__type_traits/enable_if.h>
|
||||
#include <__type_traits/integral_constant.h>
|
||||
#include <__type_traits/is_unsigned.h>
|
||||
#include <cstdint>
|
||||
#include <iosfwd>
|
||||
#include <type_traits>
|
||||
|
||||
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
|
||||
# pragma GCC system_header
|
||||
|
@ -17,7 +17,6 @@
|
||||
#include <cstdint>
|
||||
#include <iosfwd>
|
||||
#include <limits>
|
||||
#include <type_traits>
|
||||
|
||||
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
|
||||
# pragma GCC system_header
|
||||
|
@ -13,6 +13,7 @@
|
||||
#include <__algorithm/fill.h>
|
||||
#include <__algorithm/max.h>
|
||||
#include <__config>
|
||||
#include <cstdint>
|
||||
#include <initializer_list>
|
||||
#include <vector>
|
||||
|
||||
|
@ -12,10 +12,13 @@
|
||||
#include <__algorithm/equal.h>
|
||||
#include <__config>
|
||||
#include <__random/is_seed_sequence.h>
|
||||
#include <__type_traits/enable_if.h>
|
||||
#include <__type_traits/integral_constant.h>
|
||||
#include <__type_traits/is_convertible.h>
|
||||
#include <__utility/move.h>
|
||||
#include <cstddef>
|
||||
#include <cstdint>
|
||||
#include <iosfwd>
|
||||
#include <type_traits>
|
||||
|
||||
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
|
||||
# pragma GCC system_header
|
||||
|
@ -18,7 +18,6 @@
|
||||
#include <cstdint>
|
||||
#include <iosfwd>
|
||||
#include <limits>
|
||||
#include <type_traits>
|
||||
|
||||
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
|
||||
# pragma GCC system_header
|
||||
|
@ -14,7 +14,6 @@
|
||||
#include <__random/is_valid.h>
|
||||
#include <iosfwd>
|
||||
#include <limits>
|
||||
#include <type_traits>
|
||||
|
||||
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
|
||||
# pragma GCC system_header
|
||||
|
@ -18,10 +18,10 @@
|
||||
#include <__ranges/owning_view.h>
|
||||
#include <__ranges/range_adaptor.h>
|
||||
#include <__ranges/ref_view.h>
|
||||
#include <__type_traits/decay.h>
|
||||
#include <__utility/auto_cast.h>
|
||||
#include <__utility/declval.h>
|
||||
#include <__utility/forward.h>
|
||||
#include <type_traits>
|
||||
|
||||
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
|
||||
# pragma GCC system_header
|
||||
|
@ -24,7 +24,6 @@
|
||||
#include <__ranges/view_interface.h>
|
||||
#include <__utility/forward.h>
|
||||
#include <__utility/move.h>
|
||||
#include <type_traits>
|
||||
|
||||
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
|
||||
# pragma GCC system_header
|
||||
|
@ -18,7 +18,6 @@
|
||||
#include <__memory/construct_at.h>
|
||||
#include <__utility/move.h>
|
||||
#include <optional>
|
||||
#include <type_traits>
|
||||
|
||||
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
|
||||
# pragma GCC system_header
|
||||
|
@ -19,10 +19,11 @@
|
||||
#include <__iterator/iterator_traits.h>
|
||||
#include <__memory/pointer_traits.h>
|
||||
#include <__ranges/subrange.h>
|
||||
#include <__type_traits/decay.h>
|
||||
#include <__utility/forward.h>
|
||||
#include <__utility/move.h>
|
||||
#include <cstddef>
|
||||
#include <span>
|
||||
#include <type_traits>
|
||||
|
||||
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
|
||||
# pragma GCC system_header
|
||||
|
@ -33,10 +33,15 @@
|
||||
#include <__ranges/size.h>
|
||||
#include <__ranges/subrange.h>
|
||||
#include <__ranges/view_interface.h>
|
||||
#include <__type_traits/conditional.h>
|
||||
#include <__type_traits/decay.h>
|
||||
#include <__type_traits/is_nothrow_constructible.h>
|
||||
#include <__type_traits/make_unsigned.h>
|
||||
#include <__type_traits/remove_cvref.h>
|
||||
#include <__utility/auto_cast.h>
|
||||
#include <__utility/forward.h>
|
||||
#include <__utility/move.h>
|
||||
#include <type_traits>
|
||||
#include <cstddef>
|
||||
|
||||
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
|
||||
# pragma GCC system_header
|
||||
|
@ -13,7 +13,8 @@
|
||||
#include <__config>
|
||||
#include <__ranges/enable_borrowed_range.h>
|
||||
#include <__ranges/view_interface.h>
|
||||
#include <type_traits>
|
||||
#include <__type_traits/is_object.h>
|
||||
#include <cstddef>
|
||||
|
||||
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
|
||||
# pragma GCC system_header
|
||||
|
@ -35,7 +35,6 @@
|
||||
#include <__utility/forward.h>
|
||||
#include <__utility/in_place.h>
|
||||
#include <__utility/move.h>
|
||||
#include <type_traits>
|
||||
|
||||
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
|
||||
# pragma GCC system_header
|
||||
|
@ -30,9 +30,12 @@
|
||||
#include <__ranges/copyable_box.h>
|
||||
#include <__ranges/enable_borrowed_range.h>
|
||||
#include <__ranges/view_interface.h>
|
||||
#include <__type_traits/conditional.h>
|
||||
#include <__type_traits/is_nothrow_copy_constructible.h>
|
||||
#include <__type_traits/make_unsigned.h>
|
||||
#include <__type_traits/type_identity.h>
|
||||
#include <__utility/forward.h>
|
||||
#include <__utility/move.h>
|
||||
#include <type_traits>
|
||||
|
||||
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
|
||||
# pragma GCC system_header
|
||||
|
@ -32,7 +32,6 @@
|
||||
#include <__type_traits/maybe_const.h>
|
||||
#include <__utility/forward.h>
|
||||
#include <optional>
|
||||
#include <type_traits>
|
||||
|
||||
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
|
||||
# pragma GCC system_header
|
||||
|
@ -12,6 +12,7 @@
|
||||
|
||||
#include <__algorithm/ranges_find.h>
|
||||
#include <__algorithm/ranges_mismatch.h>
|
||||
#include <__assert>
|
||||
#include <__concepts/constructible.h>
|
||||
#include <__concepts/convertible_to.h>
|
||||
#include <__concepts/derived_from.h>
|
||||
@ -34,10 +35,13 @@
|
||||
#include <__ranges/single_view.h>
|
||||
#include <__ranges/subrange.h>
|
||||
#include <__ranges/view_interface.h>
|
||||
#include <__type_traits/conditional.h>
|
||||
#include <__type_traits/decay.h>
|
||||
#include <__type_traits/is_nothrow_constructible.h>
|
||||
#include <__type_traits/maybe_const.h>
|
||||
#include <__type_traits/remove_reference.h>
|
||||
#include <__utility/forward.h>
|
||||
#include <__utility/move.h>
|
||||
#include <type_traits>
|
||||
|
||||
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
|
||||
# pragma GCC system_header
|
||||
|
@ -16,7 +16,6 @@
|
||||
#include <__memory/addressof.h>
|
||||
#include <__utility/forward.h>
|
||||
#include <optional>
|
||||
#include <type_traits>
|
||||
|
||||
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
|
||||
# pragma GCC system_header
|
||||
|
@ -20,8 +20,8 @@
|
||||
#include <__ranges/enable_borrowed_range.h>
|
||||
#include <__ranges/size.h>
|
||||
#include <__ranges/view_interface.h>
|
||||
#include <__type_traits/remove_cvref.h>
|
||||
#include <__utility/move.h>
|
||||
#include <type_traits>
|
||||
|
||||
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
|
||||
# pragma GCC system_header
|
||||
|
@ -20,7 +20,6 @@
|
||||
#include <__ranges/concepts.h>
|
||||
#include <__utility/forward.h>
|
||||
#include <__utility/move.h>
|
||||
#include <type_traits>
|
||||
|
||||
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
|
||||
# pragma GCC system_header
|
||||
|
@ -17,8 +17,11 @@
|
||||
#include <__iterator/readable_traits.h>
|
||||
#include <__iterator/reverse_iterator.h>
|
||||
#include <__ranges/access.h>
|
||||
#include <__type_traits/decay.h>
|
||||
#include <__type_traits/is_reference.h>
|
||||
#include <__type_traits/remove_cvref.h>
|
||||
#include <__type_traits/remove_reference.h>
|
||||
#include <__utility/auto_cast.h>
|
||||
#include <type_traits>
|
||||
|
||||
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
|
||||
# pragma GCC system_header
|
||||
|
@ -24,8 +24,9 @@
|
||||
#include <__ranges/enable_borrowed_range.h>
|
||||
#include <__ranges/size.h>
|
||||
#include <__ranges/view_interface.h>
|
||||
#include <__type_traits/is_object.h>
|
||||
#include <__utility/declval.h>
|
||||
#include <__utility/forward.h>
|
||||
#include <type_traits>
|
||||
|
||||
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
|
||||
# pragma GCC system_header
|
||||
|
@ -18,8 +18,11 @@
|
||||
#include <__iterator/reverse_iterator.h>
|
||||
#include <__ranges/access.h>
|
||||
#include <__ranges/rbegin.h>
|
||||
#include <__type_traits/decay.h>
|
||||
#include <__type_traits/is_reference.h>
|
||||
#include <__type_traits/remove_cvref.h>
|
||||
#include <__type_traits/remove_reference.h>
|
||||
#include <__utility/auto_cast.h>
|
||||
#include <type_traits>
|
||||
|
||||
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
|
||||
# pragma GCC system_header
|
||||
|
@ -24,9 +24,10 @@
|
||||
#include <__ranges/size.h>
|
||||
#include <__ranges/subrange.h>
|
||||
#include <__ranges/view_interface.h>
|
||||
#include <__type_traits/conditional.h>
|
||||
#include <__type_traits/remove_cvref.h>
|
||||
#include <__utility/forward.h>
|
||||
#include <__utility/move.h>
|
||||
#include <type_traits>
|
||||
|
||||
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
|
||||
# pragma GCC system_header
|
||||
|
@ -15,10 +15,12 @@
|
||||
#include <__ranges/copyable_box.h>
|
||||
#include <__ranges/range_adaptor.h>
|
||||
#include <__ranges/view_interface.h>
|
||||
#include <__type_traits/decay.h>
|
||||
#include <__type_traits/is_object.h>
|
||||
#include <__utility/forward.h>
|
||||
#include <__utility/in_place.h>
|
||||
#include <__utility/move.h>
|
||||
#include <type_traits>
|
||||
#include <cstddef>
|
||||
|
||||
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
|
||||
# pragma GCC system_header
|
||||
|
@ -34,11 +34,14 @@
|
||||
#include <__ranges/size.h>
|
||||
#include <__ranges/subrange.h>
|
||||
#include <__ranges/view_interface.h>
|
||||
#include <__type_traits/decay.h>
|
||||
#include <__type_traits/is_nothrow_constructible.h>
|
||||
#include <__type_traits/maybe_const.h>
|
||||
#include <__type_traits/remove_cvref.h>
|
||||
#include <__utility/auto_cast.h>
|
||||
#include <__utility/forward.h>
|
||||
#include <__utility/move.h>
|
||||
#include <type_traits>
|
||||
#include <cstddef>
|
||||
|
||||
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
|
||||
# pragma GCC system_header
|
||||
|
@ -35,7 +35,6 @@
|
||||
#include <__utility/forward.h>
|
||||
#include <__utility/in_place.h>
|
||||
#include <__utility/move.h>
|
||||
#include <type_traits>
|
||||
|
||||
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
|
||||
# pragma GCC system_header
|
||||
|
@ -30,11 +30,11 @@
|
||||
#include <__ranges/enable_borrowed_range.h>
|
||||
#include <__ranges/size.h>
|
||||
#include <__ranges/view_interface.h>
|
||||
#include <__utility/declval.h>
|
||||
#include <__utility/forward.h>
|
||||
#include <__utility/integer_sequence.h>
|
||||
#include <__utility/move.h>
|
||||
#include <tuple>
|
||||
#include <type_traits>
|
||||
|
||||
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
|
||||
# pragma GCC system_header
|
||||
|
@ -23,9 +23,18 @@
|
||||
#include <__memory/compressed_pair.h>
|
||||
#include <__memory/pointer_traits.h>
|
||||
#include <__memory/swap_allocator.h>
|
||||
#include <__type_traits/add_lvalue_reference.h>
|
||||
#include <__type_traits/enable_if.h>
|
||||
#include <__type_traits/integral_constant.h>
|
||||
#include <__type_traits/is_nothrow_default_constructible.h>
|
||||
#include <__type_traits/is_nothrow_move_assignable.h>
|
||||
#include <__type_traits/is_nothrow_move_constructible.h>
|
||||
#include <__type_traits/is_swappable.h>
|
||||
#include <__type_traits/is_trivially_destructible.h>
|
||||
#include <__type_traits/remove_reference.h>
|
||||
#include <__utility/forward.h>
|
||||
#include <__utility/move.h>
|
||||
#include <type_traits>
|
||||
#include <cstddef>
|
||||
|
||||
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
|
||||
# pragma GCC system_header
|
||||
|
@ -87,13 +87,25 @@ namespace std {
|
||||
#include <__memory/allocator_destructor.h>
|
||||
#include <__memory/allocator_traits.h>
|
||||
#include <__memory/unique_ptr.h>
|
||||
#include <__type_traits/add_const.h>
|
||||
#include <__type_traits/add_pointer.h>
|
||||
#include <__type_traits/aligned_storage.h>
|
||||
#include <__type_traits/alignment_of.h>
|
||||
#include <__type_traits/conditional.h>
|
||||
#include <__type_traits/is_constructible.h>
|
||||
#include <__type_traits/is_function.h>
|
||||
#include <__type_traits/is_nothrow_move_constructible.h>
|
||||
#include <__type_traits/is_reference.h>
|
||||
#include <__type_traits/is_same.h>
|
||||
#include <__type_traits/remove_cv.h>
|
||||
#include <__type_traits/remove_cvref.h>
|
||||
#include <__type_traits/remove_reference.h>
|
||||
#include <__utility/forward.h>
|
||||
#include <__utility/in_place.h>
|
||||
#include <__utility/move.h>
|
||||
#include <__utility/unreachable.h>
|
||||
#include <cstdlib>
|
||||
#include <initializer_list>
|
||||
#include <type_traits>
|
||||
#include <typeinfo>
|
||||
#include <version>
|
||||
|
||||
@ -706,6 +718,7 @@ _LIBCPP_END_NAMESPACE_STD
|
||||
# include <iosfwd>
|
||||
# include <iterator>
|
||||
# include <memory>
|
||||
# include <type_traits>
|
||||
# include <variant>
|
||||
#endif
|
||||
|
||||
|
@ -116,11 +116,20 @@ template <size_t I, class T, size_t N> const T&& get(const array<T, N>&&) noexce
|
||||
#include <__config>
|
||||
#include <__iterator/reverse_iterator.h>
|
||||
#include <__tuple_dir/sfinae_helpers.h>
|
||||
#include <__type_traits/conditional.h>
|
||||
#include <__type_traits/is_array.h>
|
||||
#include <__type_traits/is_const.h>
|
||||
#include <__type_traits/is_constructible.h>
|
||||
#include <__type_traits/is_move_constructible.h>
|
||||
#include <__type_traits/is_nothrow_constructible.h>
|
||||
#include <__type_traits/is_nothrow_move_constructible.h>
|
||||
#include <__type_traits/is_same.h>
|
||||
#include <__type_traits/is_swappable.h>
|
||||
#include <__type_traits/remove_cv.h>
|
||||
#include <__utility/integer_sequence.h>
|
||||
#include <__utility/move.h>
|
||||
#include <__utility/unreachable.h>
|
||||
#include <stdexcept>
|
||||
#include <type_traits>
|
||||
#include <version>
|
||||
|
||||
// standard-mandated includes
|
||||
@ -536,6 +545,7 @@ _LIBCPP_END_NAMESPACE_STD
|
||||
# include <algorithm>
|
||||
# include <concepts>
|
||||
# include <iterator>
|
||||
# include <type_traits>
|
||||
# include <utility>
|
||||
#endif
|
||||
|
||||
|
@ -1154,6 +1154,7 @@ _LIBCPP_POP_MACROS
|
||||
|
||||
#if !defined(_LIBCPP_REMOVE_TRANSITIVE_INCLUDES) && _LIBCPP_STD_VER <= 20
|
||||
# include <concepts>
|
||||
# include <type_traits>
|
||||
#endif
|
||||
|
||||
#endif // _LIBCPP_BITSET
|
||||
|
@ -80,13 +80,14 @@ namespace std {
|
||||
#include <__debug>
|
||||
#include <__errc>
|
||||
#include <__memory/addressof.h>
|
||||
#include <__type_traits/is_unsigned.h>
|
||||
#include <__type_traits/make_32_64_or_128_bit.h>
|
||||
#include <__type_traits/make_unsigned.h>
|
||||
#include <__utility/unreachable.h>
|
||||
#include <cmath> // for log2f
|
||||
#include <cstdint>
|
||||
#include <cstdlib>
|
||||
#include <limits>
|
||||
#include <type_traits>
|
||||
|
||||
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
|
||||
# pragma GCC system_header
|
||||
@ -832,6 +833,7 @@ _LIBCPP_POP_MACROS
|
||||
# include <concepts>
|
||||
# include <cstring>
|
||||
# include <iosfwd>
|
||||
# include <type_traits>
|
||||
#endif
|
||||
|
||||
#endif // _LIBCPP_CHARCONV
|
||||
|
@ -236,7 +236,6 @@ template<class T> complex<T> tanh (const complex<T>&);
|
||||
#include <cmath>
|
||||
#include <iosfwd>
|
||||
#include <stdexcept>
|
||||
#include <type_traits>
|
||||
#include <version>
|
||||
|
||||
#if !defined(_LIBCPP_HAS_NO_LOCALIZATION)
|
||||
@ -1565,4 +1564,8 @@ inline namespace literals
|
||||
|
||||
_LIBCPP_END_NAMESPACE_STD
|
||||
|
||||
#if !defined(_LIBCPP_REMOVE_TRANSITIVE_INCLUDES) && _LIBCPP_STD_VER <= 20
|
||||
# include <type_traits>
|
||||
#endif
|
||||
|
||||
#endif // _LIBCPP_COMPLEX
|
||||
|
@ -188,12 +188,13 @@ template <class T, class Allocator, class Predicate>
|
||||
#include <__memory_resource/polymorphic_allocator.h>
|
||||
#include <__split_buffer>
|
||||
#include <__type_traits/is_allocator.h>
|
||||
#include <__type_traits/is_same.h>
|
||||
#include <__type_traits/type_identity.h>
|
||||
#include <__utility/forward.h>
|
||||
#include <__utility/move.h>
|
||||
#include <__utility/swap.h>
|
||||
#include <limits>
|
||||
#include <stdexcept>
|
||||
#include <type_traits>
|
||||
#include <version>
|
||||
|
||||
// standard-mandated includes
|
||||
@ -2456,6 +2457,7 @@ _LIBCPP_POP_MACROS
|
||||
# include <functional>
|
||||
# include <iosfwd>
|
||||
# include <iterator>
|
||||
# include <type_traits>
|
||||
# include <typeinfo>
|
||||
#endif
|
||||
|
||||
|
@ -12,9 +12,12 @@
|
||||
|
||||
#include <__memory/allocator_arg_t.h>
|
||||
#include <__memory/uses_allocator.h>
|
||||
#include <__type_traits/conditional.h>
|
||||
#include <__type_traits/is_constructible.h>
|
||||
#include <__type_traits/is_convertible.h>
|
||||
#include <__type_traits/is_same.h>
|
||||
#include <experimental/__config>
|
||||
#include <experimental/utility> // for erased_type
|
||||
#include <type_traits>
|
||||
|
||||
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
|
||||
# pragma GCC system_header
|
||||
|
@ -66,6 +66,7 @@ namespace pmr {
|
||||
|
||||
#include <__assert> // all public C++ headers provide the assertion handler
|
||||
#include <__memory/allocator_traits.h>
|
||||
#include <__type_traits/aligned_storage.h>
|
||||
#include <__utility/move.h>
|
||||
#include <cstddef>
|
||||
#include <cstdlib>
|
||||
@ -75,7 +76,6 @@ namespace pmr {
|
||||
#include <new>
|
||||
#include <stdexcept>
|
||||
#include <tuple>
|
||||
#include <type_traits>
|
||||
|
||||
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
|
||||
# pragma GCC system_header
|
||||
@ -437,6 +437,7 @@ _LIBCPP_POP_MACROS
|
||||
# include <iterator>
|
||||
# include <memory>
|
||||
# include <ratio>
|
||||
# include <type_traits>
|
||||
# include <variant>
|
||||
#endif
|
||||
|
||||
|
@ -110,11 +110,26 @@
|
||||
#include <__assert> // all public C++ headers provide the assertion handler
|
||||
#include <__functional/operations.h>
|
||||
#include <__fwd/hash.h>
|
||||
#include <__type_traits/conditional.h>
|
||||
#include <__type_traits/decay.h>
|
||||
#include <__type_traits/enable_if.h>
|
||||
#include <__type_traits/is_array.h>
|
||||
#include <__type_traits/is_constructible.h>
|
||||
#include <__type_traits/is_convertible.h>
|
||||
#include <__type_traits/is_function.h>
|
||||
#include <__type_traits/is_pointer.h>
|
||||
#include <__type_traits/is_reference.h>
|
||||
#include <__type_traits/is_same.h>
|
||||
#include <__type_traits/is_swappable.h>
|
||||
#include <__type_traits/remove_cv.h>
|
||||
#include <__type_traits/remove_pointer.h>
|
||||
#include <__type_traits/remove_reference.h>
|
||||
#include <__utility/declval.h>
|
||||
#include <__utility/forward.h>
|
||||
#include <__utility/move.h>
|
||||
#include <__utility/swap.h>
|
||||
#include <cstddef>
|
||||
#include <experimental/__config>
|
||||
#include <type_traits>
|
||||
|
||||
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
|
||||
# pragma GCC system_header
|
||||
@ -578,4 +593,9 @@ struct greater_equal<experimental::fundamentals_v2::propagate_const<_Tp>>
|
||||
_LIBCPP_END_NAMESPACE_STD
|
||||
|
||||
#endif // _LIBCPP_STD_VER >= 14
|
||||
|
||||
#if !defined(_LIBCPP_REMOVE_TRANSITIVE_INCLUDES) && _LIBCPP_STD_VER <= 20
|
||||
# include <type_traits>
|
||||
#endif
|
||||
|
||||
#endif // _LIBCPP_EXPERIMENTAL_PROPAGATE_CONST
|
||||
|
@ -208,7 +208,6 @@ template <class Key, class T, class Hash, class Pred, class Alloc>
|
||||
#include <ext/__hash>
|
||||
#include <functional>
|
||||
#include <stdexcept>
|
||||
#include <type_traits>
|
||||
|
||||
#if defined(__DEPRECATED) && __DEPRECATED
|
||||
#if defined(_LIBCPP_WARNING)
|
||||
@ -985,6 +984,7 @@ operator!=(const hash_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>& __x,
|
||||
#if !defined(_LIBCPP_REMOVE_TRANSITIVE_INCLUDES) && _LIBCPP_STD_VER <= 20
|
||||
# include <concepts>
|
||||
# include <iterator>
|
||||
# include <type_traits>
|
||||
#endif
|
||||
|
||||
#endif // _LIBCPP_HASH_MAP
|
||||
|
@ -665,6 +665,7 @@ operator!=(const hash_multiset<_Value, _Hash, _Pred, _Alloc>& __x,
|
||||
#if !defined(_LIBCPP_REMOVE_TRANSITIVE_INCLUDES) && _LIBCPP_STD_VER <= 20
|
||||
# include <concepts>
|
||||
# include <iterator>
|
||||
# include <type_traits>
|
||||
#endif
|
||||
|
||||
#endif // _LIBCPP_HASH_SET
|
||||
|
@ -202,11 +202,18 @@ template <class T, class Allocator, class Predicate>
|
||||
#include <__memory/swap_allocator.h>
|
||||
#include <__memory/unique_ptr.h>
|
||||
#include <__memory_resource/polymorphic_allocator.h>
|
||||
#include <__type_traits/conditional.h>
|
||||
#include <__type_traits/is_allocator.h>
|
||||
#include <__type_traits/is_const.h>
|
||||
#include <__type_traits/is_nothrow_default_constructible.h>
|
||||
#include <__type_traits/is_nothrow_move_assignable.h>
|
||||
#include <__type_traits/is_nothrow_move_constructible.h>
|
||||
#include <__type_traits/is_pointer.h>
|
||||
#include <__type_traits/is_same.h>
|
||||
#include <__type_traits/type_identity.h>
|
||||
#include <__utility/forward.h>
|
||||
#include <__utility/move.h>
|
||||
#include <limits>
|
||||
#include <type_traits>
|
||||
#include <version>
|
||||
|
||||
// standard-mandated includes
|
||||
@ -1818,6 +1825,7 @@ _LIBCPP_POP_MACROS
|
||||
# include <functional>
|
||||
# include <iosfwd>
|
||||
# include <iterator>
|
||||
# include <type_traits>
|
||||
# include <typeinfo>
|
||||
#endif
|
||||
|
||||
|
@ -545,7 +545,6 @@ POLICY: For non-variadic implementations, the number of arguments is limited
|
||||
#include <__utility/forward.h>
|
||||
#include <exception>
|
||||
#include <memory> // TODO: find out why removing this breaks the modules build
|
||||
#include <type_traits>
|
||||
#include <typeinfo>
|
||||
#include <version>
|
||||
|
||||
@ -556,6 +555,7 @@ POLICY: For non-variadic implementations, the number of arguments is limited
|
||||
#if !defined(_LIBCPP_REMOVE_TRANSITIVE_INCLUDES) && _LIBCPP_STD_VER <= 20
|
||||
# include <concepts>
|
||||
# include <tuple>
|
||||
# include <type_traits>
|
||||
# include <utility>
|
||||
#endif
|
||||
|
||||
|
@ -368,7 +368,11 @@ template <class R, class Alloc> struct uses_allocator<packaged_task<R>, Alloc>;
|
||||
#include <__config>
|
||||
#include <__memory/allocator_arg_t.h>
|
||||
#include <__memory/allocator_destructor.h>
|
||||
#include <__memory/shared_ptr.h>
|
||||
#include <__memory/unique_ptr.h>
|
||||
#include <__memory/uses_allocator.h>
|
||||
#include <__type_traits/aligned_storage.h>
|
||||
#include <__type_traits/alignment_of.h>
|
||||
#include <__type_traits/strip_signature.h>
|
||||
#include <__utility/auto_cast.h>
|
||||
#include <__utility/forward.h>
|
||||
|
@ -161,6 +161,7 @@ template <class Stream, class T>
|
||||
#include <__assert> // all public C++ headers provide the assertion handler
|
||||
#include <__config>
|
||||
#include <__iterator/istreambuf_iterator.h>
|
||||
#include <__utility/declval.h>
|
||||
#include <__utility/forward.h>
|
||||
#include <ostream>
|
||||
#include <version>
|
||||
|
@ -207,13 +207,19 @@ template <class T, class Allocator, class Predicate>
|
||||
#include <__memory/swap_allocator.h>
|
||||
#include <__memory/unique_ptr.h>
|
||||
#include <__memory_resource/polymorphic_allocator.h>
|
||||
#include <__type_traits/conditional.h>
|
||||
#include <__type_traits/is_allocator.h>
|
||||
#include <__type_traits/is_nothrow_default_constructible.h>
|
||||
#include <__type_traits/is_nothrow_move_assignable.h>
|
||||
#include <__type_traits/is_nothrow_move_constructible.h>
|
||||
#include <__type_traits/is_pointer.h>
|
||||
#include <__type_traits/is_same.h>
|
||||
#include <__type_traits/type_identity.h>
|
||||
#include <__utility/forward.h>
|
||||
#include <__utility/move.h>
|
||||
#include <__utility/swap.h>
|
||||
#include <cstring>
|
||||
#include <limits>
|
||||
#include <type_traits>
|
||||
#include <version>
|
||||
|
||||
// standard-mandated includes
|
||||
@ -2399,6 +2405,7 @@ _LIBCPP_POP_MACROS
|
||||
# include <functional>
|
||||
# include <iosfwd>
|
||||
# include <iterator>
|
||||
# include <type_traits>
|
||||
# include <typeinfo>
|
||||
#endif
|
||||
|
||||
|
@ -202,6 +202,7 @@ template <class charT> class messages_byname;
|
||||
#include <__iterator/ostreambuf_iterator.h>
|
||||
#include <__locale>
|
||||
#include <__memory/unique_ptr.h>
|
||||
#include <__type_traits/make_unsigned.h>
|
||||
#include <cstdio>
|
||||
#include <cstdlib>
|
||||
#include <ctime>
|
||||
|
@ -547,7 +547,6 @@ erase_if(multimap<Key, T, Compare, Allocator>& c, Predicate pred); // C++20
|
||||
#include <__utility/piecewise_construct.h>
|
||||
#include <__utility/swap.h>
|
||||
#include <tuple>
|
||||
#include <type_traits>
|
||||
#include <version>
|
||||
|
||||
// standard-mandated includes
|
||||
@ -2355,6 +2354,7 @@ _LIBCPP_END_NAMESPACE_STD
|
||||
# include <concepts>
|
||||
# include <functional>
|
||||
# include <iterator>
|
||||
# include <type_traits>
|
||||
# include <utility>
|
||||
#endif
|
||||
|
||||
|
@ -167,6 +167,13 @@ template<class T>
|
||||
#include <__functional/unary_function.h>
|
||||
#include <__memory/construct_at.h>
|
||||
#include <__tuple_dir/sfinae_helpers.h>
|
||||
#include <__type_traits/is_trivially_copy_assignable.h>
|
||||
#include <__type_traits/is_trivially_copy_constructible.h>
|
||||
#include <__type_traits/is_trivially_destructible.h>
|
||||
#include <__type_traits/is_trivially_move_assignable.h>
|
||||
#include <__type_traits/is_trivially_move_constructible.h>
|
||||
#include <__type_traits/negation.h>
|
||||
#include <__utility/declval.h>
|
||||
#include <__utility/forward.h>
|
||||
#include <__utility/in_place.h>
|
||||
#include <__utility/move.h>
|
||||
@ -174,7 +181,6 @@ template<class T>
|
||||
#include <initializer_list>
|
||||
#include <new>
|
||||
#include <stdexcept>
|
||||
#include <type_traits>
|
||||
#include <version>
|
||||
|
||||
// standard-mandated includes
|
||||
@ -1583,6 +1589,7 @@ _LIBCPP_END_NAMESPACE_STD
|
||||
# include <memory>
|
||||
# include <ratio>
|
||||
# include <tuple>
|
||||
# include <type_traits>
|
||||
# include <typeinfo>
|
||||
# include <utility>
|
||||
# include <variant>
|
||||
|
@ -167,6 +167,9 @@ basic_ostream<wchar_t, traits>& operator<<(basic_ostream<wchar_t, traits>&, cons
|
||||
#include <__config>
|
||||
#include <__memory/shared_ptr.h>
|
||||
#include <__memory/unique_ptr.h>
|
||||
#include <__type_traits/conjunction.h>
|
||||
#include <__type_traits/void_t.h>
|
||||
#include <__utility/declval.h>
|
||||
#include <bitset>
|
||||
#include <ios>
|
||||
#include <locale>
|
||||
|
@ -227,7 +227,6 @@ template <class T, class Container, class Compare>
|
||||
#include <__memory/uses_allocator.h>
|
||||
#include <__utility/forward.h>
|
||||
#include <deque>
|
||||
#include <type_traits>
|
||||
#include <vector>
|
||||
#include <version>
|
||||
|
||||
@ -965,6 +964,7 @@ _LIBCPP_END_NAMESPACE_STD
|
||||
#if !defined(_LIBCPP_REMOVE_TRANSITIVE_INCLUDES) && _LIBCPP_STD_VER <= 20
|
||||
# include <concepts>
|
||||
# include <functional>
|
||||
# include <type_traits>
|
||||
#endif
|
||||
|
||||
#endif // _LIBCPP_QUEUE
|
||||
|
@ -377,7 +377,6 @@ namespace std {
|
||||
#include <__ranges/view_interface.h>
|
||||
#include <__ranges/views.h>
|
||||
#include <__ranges/zip_view.h>
|
||||
#include <type_traits>
|
||||
#include <version>
|
||||
|
||||
#if !defined(_LIBCPP_HAS_NO_LOCALIZATION)
|
||||
@ -399,4 +398,8 @@ namespace std {
|
||||
# pragma GCC system_header
|
||||
#endif
|
||||
|
||||
#if !defined(_LIBCPP_REMOVE_TRANSITIVE_INCLUDES) && _LIBCPP_STD_VER <= 20
|
||||
# include <type_traits>
|
||||
#endif
|
||||
|
||||
#endif // _LIBCPP_RANGES
|
||||
|
@ -1600,6 +1600,7 @@ _LIBCPP_END_NAMESPACE_STD
|
||||
# include <concepts>
|
||||
# include <functional>
|
||||
# include <iterator>
|
||||
# include <type_traits>
|
||||
#endif
|
||||
|
||||
#endif // _LIBCPP_SET
|
||||
|
@ -141,11 +141,13 @@ template<class R>
|
||||
#include <__ranges/enable_borrowed_range.h>
|
||||
#include <__ranges/enable_view.h>
|
||||
#include <__ranges/size.h>
|
||||
#include <__type_traits/remove_cvref.h>
|
||||
#include <__type_traits/remove_reference.h>
|
||||
#include <__type_traits/type_identity.h>
|
||||
#include <__utility/forward.h>
|
||||
#include <array> // for array
|
||||
#include <cstddef> // for byte
|
||||
#include <limits>
|
||||
#include <type_traits> // for remove_cv, etc
|
||||
#include <version>
|
||||
|
||||
// standard-mandated includes
|
||||
@ -595,6 +597,7 @@ _LIBCPP_POP_MACROS
|
||||
# include <concepts>
|
||||
# include <functional>
|
||||
# include <iterator>
|
||||
# include <type_traits>
|
||||
#endif
|
||||
|
||||
#endif // _LIBCPP_SPAN
|
||||
|
@ -102,9 +102,9 @@ template <class T, class Container>
|
||||
#include <__config>
|
||||
#include <__iterator/iterator_traits.h>
|
||||
#include <__memory/uses_allocator.h>
|
||||
#include <__type_traits/is_same.h>
|
||||
#include <__utility/forward.h>
|
||||
#include <deque>
|
||||
#include <type_traits>
|
||||
#include <version>
|
||||
|
||||
// standard-mandated includes
|
||||
@ -366,6 +366,7 @@ _LIBCPP_END_NAMESPACE_STD
|
||||
#if !defined(_LIBCPP_REMOVE_TRANSITIVE_INCLUDES) && _LIBCPP_STD_VER <= 20
|
||||
# include <concepts>
|
||||
# include <functional>
|
||||
# include <type_traits>
|
||||
#endif
|
||||
|
||||
#endif // _LIBCPP_STACK
|
||||
|
@ -561,7 +561,14 @@ basic_string<char32_t> operator "" s( const char32_t *str, size_t len );
|
||||
#include <__string/char_traits.h>
|
||||
#include <__string/extern_template_lists.h>
|
||||
#include <__type_traits/is_allocator.h>
|
||||
#include <__type_traits/is_array.h>
|
||||
#include <__type_traits/is_nothrow_default_constructible.h>
|
||||
#include <__type_traits/is_nothrow_move_assignable.h>
|
||||
#include <__type_traits/is_same.h>
|
||||
#include <__type_traits/is_standard_layout.h>
|
||||
#include <__type_traits/is_trivial.h>
|
||||
#include <__type_traits/noexcept_move_assign_container.h>
|
||||
#include <__type_traits/remove_cvref.h>
|
||||
#include <__utility/auto_cast.h>
|
||||
#include <__utility/move.h>
|
||||
#include <__utility/swap.h>
|
||||
@ -574,7 +581,6 @@ basic_string<char32_t> operator "" s( const char32_t *str, size_t len );
|
||||
#include <limits>
|
||||
#include <stdexcept>
|
||||
#include <string_view>
|
||||
#include <type_traits>
|
||||
#include <version>
|
||||
|
||||
#ifndef _LIBCPP_HAS_NO_WIDE_CHARACTERS
|
||||
@ -4625,6 +4631,7 @@ _LIBCPP_POP_MACROS
|
||||
# include <functional>
|
||||
# include <iterator>
|
||||
# include <new>
|
||||
# include <type_traits>
|
||||
# include <typeinfo>
|
||||
# include <utility>
|
||||
# include <vector>
|
||||
|
@ -219,10 +219,16 @@ namespace std {
|
||||
#include <__ranges/enable_view.h>
|
||||
#include <__ranges/size.h>
|
||||
#include <__string/char_traits.h>
|
||||
#include <__type_traits/is_array.h>
|
||||
#include <__type_traits/is_same.h>
|
||||
#include <__type_traits/is_standard_layout.h>
|
||||
#include <__type_traits/is_trivial.h>
|
||||
#include <__type_traits/remove_cvref.h>
|
||||
#include <__type_traits/remove_reference.h>
|
||||
#include <__type_traits/type_identity.h>
|
||||
#include <iosfwd>
|
||||
#include <limits>
|
||||
#include <stdexcept>
|
||||
#include <type_traits>
|
||||
#include <version>
|
||||
|
||||
// standard-mandated includes
|
||||
@ -1040,6 +1046,7 @@ _LIBCPP_POP_MACROS
|
||||
# include <concepts>
|
||||
# include <functional>
|
||||
# include <iterator>
|
||||
# include <type_traits>
|
||||
#endif
|
||||
|
||||
#endif // _LIBCPP_STRING_VIEW
|
||||
|
@ -152,7 +152,6 @@ template <> struct hash<std::error_condition>;
|
||||
#include <__memory/addressof.h>
|
||||
#include <stdexcept>
|
||||
#include <string>
|
||||
#include <type_traits>
|
||||
#include <version>
|
||||
|
||||
// standard-mandated includes
|
||||
@ -545,4 +544,8 @@ void __throw_system_error(int __ev, const char* __what_arg);
|
||||
|
||||
_LIBCPP_END_NAMESPACE_STD
|
||||
|
||||
#if !defined(_LIBCPP_REMOVE_TRANSITIVE_INCLUDES) && _LIBCPP_STD_VER <= 20
|
||||
# include <type_traits>
|
||||
#endif
|
||||
|
||||
#endif // _LIBCPP_SYSTEM_ERROR
|
||||
|
@ -96,7 +96,6 @@ void sleep_for(const chrono::duration<Rep, Period>& rel_time);
|
||||
#include <iosfwd>
|
||||
#include <system_error>
|
||||
#include <tuple>
|
||||
#include <type_traits>
|
||||
#include <version>
|
||||
|
||||
// standard-mandated includes
|
||||
|
@ -64,7 +64,6 @@ public:
|
||||
#include <cstdint>
|
||||
#include <cstdlib>
|
||||
#include <exception>
|
||||
#include <type_traits>
|
||||
|
||||
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
|
||||
# pragma GCC system_header
|
||||
@ -414,4 +413,8 @@ void __throw_bad_cast()
|
||||
}
|
||||
_LIBCPP_END_NAMESPACE_STD
|
||||
|
||||
#if !defined(_LIBCPP_REMOVE_TRANSITIVE_INCLUDES) && _LIBCPP_STD_VER <= 20
|
||||
# include <type_traits>
|
||||
#endif
|
||||
|
||||
#endif // __LIBCPP_TYPEINFO
|
||||
|
@ -2648,6 +2648,7 @@ _LIBCPP_END_NAMESPACE_STD
|
||||
# include <bit>
|
||||
# include <concepts>
|
||||
# include <iterator>
|
||||
# include <type_traits>
|
||||
#endif
|
||||
|
||||
#endif // _LIBCPP_UNORDERED_MAP
|
||||
|
@ -1819,6 +1819,7 @@ _LIBCPP_END_NAMESPACE_STD
|
||||
# include <concepts>
|
||||
# include <functional>
|
||||
# include <iterator>
|
||||
# include <type_traits>
|
||||
#endif
|
||||
|
||||
#endif // _LIBCPP_UNORDERED_SET
|
||||
|
@ -231,6 +231,7 @@ namespace std {
|
||||
#include <__type_traits/remove_const.h>
|
||||
#include <__type_traits/type_identity.h>
|
||||
#include <__type_traits/void_t.h>
|
||||
#include <__utility/declval.h>
|
||||
#include <__utility/forward.h>
|
||||
#include <__utility/in_place.h>
|
||||
#include <__utility/move.h>
|
||||
|
@ -307,7 +307,10 @@ template<class T, class charT> requires is-vector-bool-reference<T> // Since C++
|
||||
#include <__memory_resource/polymorphic_allocator.h>
|
||||
#include <__split_buffer>
|
||||
#include <__type_traits/is_allocator.h>
|
||||
#include <__type_traits/is_constructible.h>
|
||||
#include <__type_traits/is_nothrow_move_assignable.h>
|
||||
#include <__type_traits/noexcept_move_assign_container.h>
|
||||
#include <__type_traits/type_identity.h>
|
||||
#include <__utility/exception_guard.h>
|
||||
#include <__utility/forward.h>
|
||||
#include <__utility/move.h>
|
||||
@ -318,7 +321,6 @@ template<class T, class charT> requires is-vector-bool-reference<T> // Since C++
|
||||
#include <iosfwd> // for forward declaration of vector
|
||||
#include <limits>
|
||||
#include <stdexcept>
|
||||
#include <type_traits>
|
||||
#include <version>
|
||||
|
||||
// standard-mandated includes
|
||||
@ -3359,6 +3361,7 @@ _LIBCPP_POP_MACROS
|
||||
# include <algorithm>
|
||||
# include <atomic>
|
||||
# include <concepts>
|
||||
# include <type_traits>
|
||||
# include <typeinfo>
|
||||
# include <utility>
|
||||
#endif
|
||||
|
@ -26,10 +26,9 @@
|
||||
|
||||
// UNSUPPORTED: c++03
|
||||
|
||||
#include <vector>
|
||||
#include <cassert>
|
||||
|
||||
#include "test_macros.h"
|
||||
#include <type_traits>
|
||||
#include <vector>
|
||||
|
||||
template <class T>
|
||||
using IsTrivialForCall = std::integral_constant<bool,
|
||||
|
@ -21,10 +21,11 @@
|
||||
// REQUIRES: -faligned-allocation
|
||||
// ADDITIONAL_COMPILE_FLAGS: -faligned-allocation
|
||||
|
||||
#include <new>
|
||||
#include <typeinfo>
|
||||
#include <string>
|
||||
#include <cassert>
|
||||
#include <new>
|
||||
#include <string>
|
||||
#include <type_traits>
|
||||
#include <typeinfo>
|
||||
|
||||
#include "test_macros.h"
|
||||
|
||||
|
@ -10,6 +10,7 @@
|
||||
// UNSUPPORTED: !c++experimental
|
||||
|
||||
#include <ranges>
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
using JoinView = decltype(std::views::join(std::declval<std::vector<std::vector<int>>&>()));
|
||||
|
@ -394,16 +394,24 @@ functional unordered_map
|
||||
functional utility
|
||||
functional vector
|
||||
functional version
|
||||
future atomic
|
||||
future chrono
|
||||
future cstddef
|
||||
future cstdint
|
||||
future cstdlib
|
||||
future cstring
|
||||
future exception
|
||||
future initializer_list
|
||||
future iosfwd
|
||||
future limits
|
||||
future mutex
|
||||
future new
|
||||
future ratio
|
||||
future stdexcept
|
||||
future system_error
|
||||
future thread
|
||||
future type_traits
|
||||
future typeinfo
|
||||
future version
|
||||
initializer_list cstddef
|
||||
iomanip istream
|
||||
|
|
@ -394,16 +394,24 @@ functional unordered_map
|
||||
functional utility
|
||||
functional vector
|
||||
functional version
|
||||
future atomic
|
||||
future chrono
|
||||
future cstddef
|
||||
future cstdint
|
||||
future cstdlib
|
||||
future cstring
|
||||
future exception
|
||||
future initializer_list
|
||||
future iosfwd
|
||||
future limits
|
||||
future mutex
|
||||
future new
|
||||
future ratio
|
||||
future stdexcept
|
||||
future system_error
|
||||
future thread
|
||||
future type_traits
|
||||
future typeinfo
|
||||
future version
|
||||
initializer_list cstddef
|
||||
iomanip istream
|
||||
|
|
@ -396,16 +396,24 @@ functional unordered_map
|
||||
functional utility
|
||||
functional vector
|
||||
functional version
|
||||
future atomic
|
||||
future chrono
|
||||
future cstddef
|
||||
future cstdint
|
||||
future cstdlib
|
||||
future cstring
|
||||
future exception
|
||||
future initializer_list
|
||||
future iosfwd
|
||||
future limits
|
||||
future mutex
|
||||
future new
|
||||
future ratio
|
||||
future stdexcept
|
||||
future system_error
|
||||
future thread
|
||||
future type_traits
|
||||
future typeinfo
|
||||
future version
|
||||
initializer_list cstddef
|
||||
iomanip istream
|
||||
|
|
@ -396,16 +396,24 @@ functional unordered_map
|
||||
functional utility
|
||||
functional vector
|
||||
functional version
|
||||
future atomic
|
||||
future chrono
|
||||
future cstddef
|
||||
future cstdint
|
||||
future cstdlib
|
||||
future cstring
|
||||
future exception
|
||||
future initializer_list
|
||||
future iosfwd
|
||||
future limits
|
||||
future mutex
|
||||
future new
|
||||
future ratio
|
||||
future stdexcept
|
||||
future system_error
|
||||
future thread
|
||||
future type_traits
|
||||
future typeinfo
|
||||
future version
|
||||
initializer_list cstddef
|
||||
iomanip istream
|
||||
|
|
@ -403,15 +403,23 @@ functional unordered_map
|
||||
functional utility
|
||||
functional vector
|
||||
functional version
|
||||
future atomic
|
||||
future cstddef
|
||||
future cstdint
|
||||
future cstdlib
|
||||
future cstring
|
||||
future exception
|
||||
future initializer_list
|
||||
future iosfwd
|
||||
future limits
|
||||
future mutex
|
||||
future new
|
||||
future ratio
|
||||
future stdexcept
|
||||
future system_error
|
||||
future thread
|
||||
future type_traits
|
||||
future typeinfo
|
||||
future version
|
||||
initializer_list cstddef
|
||||
iomanip istream
|
||||
|
|
@ -16,7 +16,6 @@ any initializer_list
|
||||
any limits
|
||||
any new
|
||||
any stdexcept
|
||||
any type_traits
|
||||
any typeinfo
|
||||
any version
|
||||
array compare
|
||||
@ -25,7 +24,6 @@ array cstdlib
|
||||
array initializer_list
|
||||
array limits
|
||||
array stdexcept
|
||||
array type_traits
|
||||
array version
|
||||
atomic cstddef
|
||||
atomic cstdint
|
||||
@ -60,7 +58,6 @@ bitset limits
|
||||
bitset new
|
||||
bitset stdexcept
|
||||
bitset string
|
||||
bitset type_traits
|
||||
bitset version
|
||||
ccomplex complex
|
||||
charconv cerrno
|
||||
@ -70,7 +67,6 @@ charconv cstdint
|
||||
charconv cstdlib
|
||||
charconv initializer_list
|
||||
charconv limits
|
||||
charconv type_traits
|
||||
chrono array
|
||||
chrono charconv
|
||||
chrono cmath
|
||||
@ -90,7 +86,6 @@ chrono stdexcept
|
||||
chrono string
|
||||
chrono string_view
|
||||
chrono tuple
|
||||
chrono type_traits
|
||||
chrono vector
|
||||
chrono version
|
||||
cinttypes cstdint
|
||||
@ -111,7 +106,6 @@ complex cmath
|
||||
complex iosfwd
|
||||
complex sstream
|
||||
complex stdexcept
|
||||
complex type_traits
|
||||
complex version
|
||||
concepts cstddef
|
||||
concepts version
|
||||
@ -150,7 +144,6 @@ deque limits
|
||||
deque new
|
||||
deque stdexcept
|
||||
deque tuple
|
||||
deque type_traits
|
||||
deque version
|
||||
exception cstddef
|
||||
exception cstdlib
|
||||
@ -180,9 +173,7 @@ experimental/memory_resource limits
|
||||
experimental/memory_resource new
|
||||
experimental/memory_resource stdexcept
|
||||
experimental/memory_resource tuple
|
||||
experimental/memory_resource type_traits
|
||||
experimental/propagate_const cstddef
|
||||
experimental/propagate_const type_traits
|
||||
experimental/regex experimental/memory_resource
|
||||
experimental/regex experimental/string
|
||||
experimental/regex regex
|
||||
@ -213,7 +204,6 @@ ext/hash_map limits
|
||||
ext/hash_map new
|
||||
ext/hash_map stdexcept
|
||||
ext/hash_map string
|
||||
ext/hash_map type_traits
|
||||
ext/hash_set algorithm
|
||||
ext/hash_set cmath
|
||||
ext/hash_set cstddef
|
||||
@ -224,7 +214,6 @@ ext/hash_set initializer_list
|
||||
ext/hash_set limits
|
||||
ext/hash_set new
|
||||
ext/hash_set string
|
||||
ext/hash_set type_traits
|
||||
filesystem cerrno
|
||||
filesystem compare
|
||||
filesystem cstddef
|
||||
@ -240,7 +229,6 @@ filesystem ratio
|
||||
filesystem string
|
||||
filesystem string_view
|
||||
filesystem system_error
|
||||
filesystem type_traits
|
||||
filesystem version
|
||||
format array
|
||||
format charconv
|
||||
@ -270,7 +258,6 @@ forward_list limits
|
||||
forward_list new
|
||||
forward_list stdexcept
|
||||
forward_list tuple
|
||||
forward_list type_traits
|
||||
forward_list version
|
||||
fstream cctype
|
||||
fstream cstddef
|
||||
@ -300,19 +287,26 @@ functional memory
|
||||
functional new
|
||||
functional stdexcept
|
||||
functional tuple
|
||||
functional type_traits
|
||||
functional typeinfo
|
||||
functional unordered_map
|
||||
functional vector
|
||||
functional version
|
||||
future atomic
|
||||
future cstddef
|
||||
future cstdint
|
||||
future cstdlib
|
||||
future cstring
|
||||
future exception
|
||||
future initializer_list
|
||||
future iosfwd
|
||||
future limits
|
||||
future mutex
|
||||
future new
|
||||
future ratio
|
||||
future stdexcept
|
||||
future system_error
|
||||
future thread
|
||||
future typeinfo
|
||||
future version
|
||||
initializer_list cstddef
|
||||
iomanip istream
|
||||
@ -360,7 +354,6 @@ list limits
|
||||
list new
|
||||
list stdexcept
|
||||
list tuple
|
||||
list type_traits
|
||||
list version
|
||||
locale cctype
|
||||
locale cstddef
|
||||
@ -387,7 +380,6 @@ map new
|
||||
map optional
|
||||
map stdexcept
|
||||
map tuple
|
||||
map type_traits
|
||||
map version
|
||||
memory atomic
|
||||
memory compare
|
||||
@ -443,7 +435,6 @@ optional initializer_list
|
||||
optional limits
|
||||
optional new
|
||||
optional stdexcept
|
||||
optional type_traits
|
||||
optional version
|
||||
ostream atomic
|
||||
ostream bitset
|
||||
@ -467,7 +458,6 @@ queue cstdlib
|
||||
queue deque
|
||||
queue initializer_list
|
||||
queue limits
|
||||
queue type_traits
|
||||
queue vector
|
||||
queue version
|
||||
random cmath
|
||||
@ -479,7 +469,6 @@ random iosfwd
|
||||
random limits
|
||||
random numeric
|
||||
random string
|
||||
random type_traits
|
||||
random vector
|
||||
random version
|
||||
ranges compare
|
||||
@ -493,7 +482,6 @@ ranges new
|
||||
ranges optional
|
||||
ranges span
|
||||
ranges tuple
|
||||
ranges type_traits
|
||||
ranges variant
|
||||
ranges version
|
||||
ratio climits
|
||||
@ -534,7 +522,6 @@ set new
|
||||
set optional
|
||||
set stdexcept
|
||||
set tuple
|
||||
set type_traits
|
||||
set version
|
||||
shared_mutex cstddef
|
||||
shared_mutex ctime
|
||||
@ -549,7 +536,6 @@ span array
|
||||
span cstddef
|
||||
span initializer_list
|
||||
span limits
|
||||
span type_traits
|
||||
span version
|
||||
sstream cstddef
|
||||
sstream istream
|
||||
@ -560,7 +546,6 @@ stack compare
|
||||
stack cstddef
|
||||
stack deque
|
||||
stack initializer_list
|
||||
stack type_traits
|
||||
stack version
|
||||
stdexcept cstdlib
|
||||
stdexcept exception
|
||||
@ -584,7 +569,6 @@ string new
|
||||
string stdexcept
|
||||
string string_view
|
||||
string tuple
|
||||
string type_traits
|
||||
string version
|
||||
string_view compare
|
||||
string_view cstddef
|
||||
@ -597,7 +581,6 @@ string_view initializer_list
|
||||
string_view iosfwd
|
||||
string_view limits
|
||||
string_view stdexcept
|
||||
string_view type_traits
|
||||
string_view version
|
||||
strstream istream
|
||||
strstream ostream
|
||||
@ -610,7 +593,6 @@ system_error cstring
|
||||
system_error limits
|
||||
system_error stdexcept
|
||||
system_error string
|
||||
system_error type_traits
|
||||
system_error version
|
||||
thread compare
|
||||
thread cstddef
|
||||
@ -623,7 +605,6 @@ thread new
|
||||
thread ratio
|
||||
thread system_error
|
||||
thread tuple
|
||||
thread type_traits
|
||||
thread version
|
||||
tuple compare
|
||||
tuple cstddef
|
||||
@ -638,7 +619,6 @@ typeinfo cstddef
|
||||
typeinfo cstdint
|
||||
typeinfo cstdlib
|
||||
typeinfo exception
|
||||
typeinfo type_traits
|
||||
unordered_map cmath
|
||||
unordered_map compare
|
||||
unordered_map cstddef
|
||||
@ -651,7 +631,6 @@ unordered_map new
|
||||
unordered_map optional
|
||||
unordered_map stdexcept
|
||||
unordered_map tuple
|
||||
unordered_map type_traits
|
||||
unordered_map version
|
||||
unordered_set cmath
|
||||
unordered_set compare
|
||||
@ -665,7 +644,6 @@ unordered_set new
|
||||
unordered_set optional
|
||||
unordered_set stdexcept
|
||||
unordered_set tuple
|
||||
unordered_set type_traits
|
||||
unordered_set version
|
||||
utility compare
|
||||
utility cstddef
|
||||
@ -702,5 +680,4 @@ vector limits
|
||||
vector new
|
||||
vector stdexcept
|
||||
vector tuple
|
||||
vector type_traits
|
||||
vector version
|
||||
|
|
@ -12,6 +12,7 @@
|
||||
|
||||
#include <array>
|
||||
#include <cassert>
|
||||
#include <utility>
|
||||
|
||||
#include "test_macros.h"
|
||||
|
||||
|
@ -13,14 +13,16 @@
|
||||
// -> common_type_t<ptrdiff_t, make_signed_t<decltype(c.size())>>; // C++20
|
||||
// template <class T, ptrdiff_t> constexpr ptrdiff_t ssize(const T (&array)[N]) noexcept; // C++20
|
||||
|
||||
#include <iterator>
|
||||
#include <cassert>
|
||||
#include <vector>
|
||||
#include <array>
|
||||
#include <list>
|
||||
#include <cassert>
|
||||
#include <cstdint>
|
||||
#include <initializer_list>
|
||||
#include <string_view>
|
||||
#include <iterator>
|
||||
#include <limits>
|
||||
#include <list>
|
||||
#include <string_view>
|
||||
#include <type_traits>
|
||||
#include <vector>
|
||||
|
||||
#include "test_macros.h"
|
||||
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user