File tree Expand file tree Collapse file tree 8 files changed +24
-19
lines changed
test/libcxx/transitive_includes Expand file tree Collapse file tree 8 files changed +24
-19
lines changed Original file line number Diff line number Diff line change @@ -95,10 +95,6 @@ Deprecations and Removals
95
95
96
96
- ``<algorithm> `` no longer includes ``<chrono> `` in any C++ version (it was previously included in C++17 and earlier).
97
97
98
- - ``<limits> `` no longer includes ``<type_traits> `` in any C++ version (it was previously included in C++20 and earlier).
99
-
100
- - ``<new> `` no longer includes ``<exception> `` or ``<type_traits> `` in any C++ version (they were previously included in C++20 and earlier).
101
-
102
98
- ``<string> `` no longer includes ``<vector> `` in any C++ version (it was previously included in C++20 and earlier).
103
99
104
100
- ``<string> ``, ``<string_view> ``, and ``<mutex> `` no longer include ``<functional> ``
Original file line number Diff line number Diff line change @@ -823,4 +823,8 @@ _LIBCPP_END_NAMESPACE_STD
823
823
824
824
_LIBCPP_POP_MACROS
825
825
826
+ #if !defined(_LIBCPP_REMOVE_TRANSITIVE_INCLUDES) && _LIBCPP_STD_VER <= 20
827
+ # include < type_traits>
828
+ #endif
829
+
826
830
#endif // _LIBCPP_LIMITS
Original file line number Diff line number Diff line change @@ -365,4 +365,9 @@ inline constexpr size_t hardware_constructive_interference_size = __GCC_CONSTRUC
365
365
366
366
_LIBCPP_END_NAMESPACE_STD
367
367
368
+ #if !defined(_LIBCPP_REMOVE_TRANSITIVE_INCLUDES) && _LIBCPP_STD_VER <= 20
369
+ # include < exception>
370
+ # include < type_traits>
371
+ #endif
372
+
368
373
#endif // _LIBCPP_NEW
Original file line number Diff line number Diff line change @@ -458,6 +458,7 @@ latch limits
458
458
latch ratio
459
459
latch type_traits
460
460
latch version
461
+ limits type_traits
461
462
limits version
462
463
list algorithm
463
464
list atomic
@@ -573,6 +574,8 @@ mutex typeinfo
573
574
mutex version
574
575
new cstddef
575
576
new cstdlib
577
+ new exception
578
+ new type_traits
576
579
new version
577
580
numbers concepts
578
581
numbers type_traits
@@ -639,7 +642,6 @@ ostream version
639
642
queue compare
640
643
queue concepts
641
644
queue cstddef
642
- queue cstdint
643
645
queue cstdlib
644
646
queue deque
645
647
queue functional
@@ -776,7 +778,6 @@ sstream version
776
778
stack compare
777
779
stack concepts
778
780
stack cstddef
779
- stack cstdint
780
781
stack deque
781
782
stack functional
782
783
stack initializer_list
@@ -939,7 +940,6 @@ valarray algorithm
939
940
valarray cmath
940
941
valarray concepts
941
942
valarray cstddef
942
- valarray cstdint
943
943
valarray cstdlib
944
944
valarray cstring
945
945
valarray functional
Original file line number Diff line number Diff line change @@ -458,6 +458,7 @@ latch limits
458
458
latch ratio
459
459
latch type_traits
460
460
latch version
461
+ limits type_traits
461
462
limits version
462
463
list algorithm
463
464
list atomic
@@ -574,6 +575,8 @@ mutex typeinfo
574
575
mutex version
575
576
new cstddef
576
577
new cstdlib
578
+ new exception
579
+ new type_traits
577
580
new version
578
581
numbers concepts
579
582
numbers type_traits
@@ -640,7 +643,6 @@ ostream version
640
643
queue compare
641
644
queue concepts
642
645
queue cstddef
643
- queue cstdint
644
646
queue cstdlib
645
647
queue deque
646
648
queue functional
@@ -777,7 +779,6 @@ sstream version
777
779
stack compare
778
780
stack concepts
779
781
stack cstddef
780
- stack cstdint
781
782
stack deque
782
783
stack functional
783
784
stack initializer_list
@@ -940,7 +941,6 @@ valarray algorithm
940
941
valarray cmath
941
942
valarray concepts
942
943
valarray cstddef
943
- valarray cstdint
944
944
valarray cstdlib
945
945
valarray cstring
946
946
valarray functional
Original file line number Diff line number Diff line change @@ -460,6 +460,7 @@ latch limits
460
460
latch ratio
461
461
latch type_traits
462
462
latch version
463
+ limits type_traits
463
464
limits version
464
465
list algorithm
465
466
list atomic
@@ -576,6 +577,8 @@ mutex typeinfo
576
577
mutex version
577
578
new cstddef
578
579
new cstdlib
580
+ new exception
581
+ new type_traits
579
582
new version
580
583
numbers concepts
581
584
numbers type_traits
@@ -642,7 +645,6 @@ ostream version
642
645
queue compare
643
646
queue concepts
644
647
queue cstddef
645
- queue cstdint
646
648
queue cstdlib
647
649
queue deque
648
650
queue functional
@@ -779,7 +781,6 @@ sstream version
779
781
stack compare
780
782
stack concepts
781
783
stack cstddef
782
- stack cstdint
783
784
stack deque
784
785
stack functional
785
786
stack initializer_list
@@ -942,7 +943,6 @@ valarray algorithm
942
943
valarray cmath
943
944
valarray concepts
944
945
valarray cstddef
945
- valarray cstdint
946
946
valarray cstdlib
947
947
valarray cstring
948
948
valarray functional
Original file line number Diff line number Diff line change @@ -460,6 +460,7 @@ latch limits
460
460
latch ratio
461
461
latch type_traits
462
462
latch version
463
+ limits type_traits
463
464
limits version
464
465
list algorithm
465
466
list atomic
@@ -576,6 +577,8 @@ mutex typeinfo
576
577
mutex version
577
578
new cstddef
578
579
new cstdlib
580
+ new exception
581
+ new type_traits
579
582
new version
580
583
numbers concepts
581
584
numbers type_traits
@@ -642,7 +645,6 @@ ostream version
642
645
queue compare
643
646
queue concepts
644
647
queue cstddef
645
- queue cstdint
646
648
queue cstdlib
647
649
queue deque
648
650
queue functional
@@ -779,7 +781,6 @@ sstream version
779
781
stack compare
780
782
stack concepts
781
783
stack cstddef
782
- stack cstdint
783
784
stack deque
784
785
stack functional
785
786
stack initializer_list
@@ -942,7 +943,6 @@ valarray algorithm
942
943
valarray cmath
943
944
valarray concepts
944
945
valarray cstddef
945
- valarray cstdint
946
946
valarray cstdlib
947
947
valarray cstring
948
948
valarray functional
Original file line number Diff line number Diff line change @@ -466,6 +466,7 @@ latch limits
466
466
latch ratio
467
467
latch type_traits
468
468
latch version
469
+ limits type_traits
469
470
limits version
470
471
list algorithm
471
472
list atomic
@@ -582,6 +583,8 @@ mutex typeinfo
582
583
mutex version
583
584
new cstddef
584
585
new cstdlib
586
+ new exception
587
+ new type_traits
585
588
new version
586
589
numbers concepts
587
590
numbers type_traits
@@ -648,7 +651,6 @@ ostream version
648
651
queue compare
649
652
queue concepts
650
653
queue cstddef
651
- queue cstdint
652
654
queue cstdlib
653
655
queue deque
654
656
queue functional
@@ -785,7 +787,6 @@ sstream version
785
787
stack compare
786
788
stack concepts
787
789
stack cstddef
788
- stack cstdint
789
790
stack deque
790
791
stack functional
791
792
stack initializer_list
@@ -947,7 +948,6 @@ valarray algorithm
947
948
valarray cmath
948
949
valarray concepts
949
950
valarray cstddef
950
- valarray cstdint
951
951
valarray cstdlib
952
952
valarray cstring
953
953
valarray functional
You can’t perform that action at this time.
0 commit comments