Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 296a11f

Browse files
committed
fixup! WIP: [libc++][ranges] Implement ranges::stride_view.
Update Generated Files
1 parent b7f25a3 commit 296a11f

File tree

1 file changed

+127
-44
lines changed

1 file changed

+127
-44
lines changed

libcxx/test/std/language.support/support.limits/support.limits.general/version.version.compile.pass.cpp

Lines changed: 127 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -2079,6 +2079,14 @@
20792079
# error "__cpp_lib_clamp should have the value 201603L in c++17"
20802080
# endif
20812081

2082+
# ifdef __cpp_lib_common_reference
2083+
# error "__cpp_lib_common_reference should not be defined before c++20"
2084+
# endif
2085+
2086+
# ifdef __cpp_lib_common_reference_wrapper
2087+
# error "__cpp_lib_common_reference_wrapper should not be defined before c++20"
2088+
# endif
2089+
20822090
# ifndef __cpp_lib_complex_udls
20832091
# error "__cpp_lib_complex_udls should be defined in c++17"
20842092
# endif
@@ -2114,6 +2122,10 @@
21142122
# error "__cpp_lib_constexpr_dynamic_alloc should not be defined before c++20"
21152123
# endif
21162124

2125+
# ifdef __cpp_lib_constexpr_forward_list
2126+
# error "__cpp_lib_constexpr_forward_list should not be defined before c++26"
2127+
# endif
2128+
21172129
# ifdef __cpp_lib_constexpr_functional
21182130
# error "__cpp_lib_constexpr_functional should not be defined before c++20"
21192131
# endif
@@ -2122,6 +2134,10 @@
21222134
# error "__cpp_lib_constexpr_iterator should not be defined before c++20"
21232135
# endif
21242136

2137+
# ifdef __cpp_lib_constexpr_list
2138+
# error "__cpp_lib_constexpr_list should not be defined before c++26"
2139+
# endif
2140+
21252141
# ifdef __cpp_lib_constexpr_memory
21262142
# error "__cpp_lib_constexpr_memory should not be defined before c++20"
21272143
# endif
@@ -2134,6 +2150,10 @@
21342150
# error "__cpp_lib_constexpr_numeric should not be defined before c++20"
21352151
# endif
21362152

2153+
# ifdef __cpp_lib_constexpr_queue
2154+
# error "__cpp_lib_constexpr_queue should not be defined before c++26"
2155+
# endif
2156+
21372157
# ifdef __cpp_lib_constexpr_string
21382158
# error "__cpp_lib_constexpr_string should not be defined before c++20"
21392159
# endif
@@ -3297,6 +3317,20 @@
32973317
# error "__cpp_lib_clamp should have the value 201603L in c++20"
32983318
# endif
32993319

3320+
# ifndef __cpp_lib_common_reference
3321+
# error "__cpp_lib_common_reference should be defined in c++20"
3322+
# endif
3323+
# if __cpp_lib_common_reference != 202302L
3324+
# error "__cpp_lib_common_reference should have the value 202302L in c++20"
3325+
# endif
3326+
3327+
# ifndef __cpp_lib_common_reference_wrapper
3328+
# error "__cpp_lib_common_reference_wrapper should be defined in c++20"
3329+
# endif
3330+
# if __cpp_lib_common_reference_wrapper != 202302L
3331+
# error "__cpp_lib_common_reference_wrapper should have the value 202302L in c++20"
3332+
# endif
3333+
33003334
# ifndef __cpp_lib_complex_udls
33013335
# error "__cpp_lib_complex_udls should be defined in c++20"
33023336
# endif
@@ -3344,6 +3378,10 @@
33443378
# error "__cpp_lib_constexpr_dynamic_alloc should have the value 201907L in c++20"
33453379
# endif
33463380

3381+
# ifdef __cpp_lib_constexpr_forward_list
3382+
# error "__cpp_lib_constexpr_forward_list should not be defined before c++26"
3383+
# endif
3384+
33473385
# ifndef __cpp_lib_constexpr_functional
33483386
# error "__cpp_lib_constexpr_functional should be defined in c++20"
33493387
# endif
@@ -3358,6 +3396,10 @@
33583396
# error "__cpp_lib_constexpr_iterator should have the value 201811L in c++20"
33593397
# endif
33603398

3399+
# ifdef __cpp_lib_constexpr_list
3400+
# error "__cpp_lib_constexpr_list should not be defined before c++26"
3401+
# endif
3402+
33613403
# ifndef __cpp_lib_constexpr_memory
33623404
# error "__cpp_lib_constexpr_memory should be defined in c++20"
33633405
# endif
@@ -3376,6 +3418,10 @@
33763418
# error "__cpp_lib_constexpr_numeric should have the value 201911L in c++20"
33773419
# endif
33783420

3421+
# ifdef __cpp_lib_constexpr_queue
3422+
# error "__cpp_lib_constexpr_queue should not be defined before c++26"
3423+
# endif
3424+
33793425
# ifndef __cpp_lib_constexpr_string
33803426
# error "__cpp_lib_constexpr_string should be defined in c++20"
33813427
# endif
@@ -4734,6 +4780,20 @@
47344780
# error "__cpp_lib_clamp should have the value 201603L in c++23"
47354781
# endif
47364782

4783+
# ifndef __cpp_lib_common_reference
4784+
# error "__cpp_lib_common_reference should be defined in c++23"
4785+
# endif
4786+
# if __cpp_lib_common_reference != 202302L
4787+
# error "__cpp_lib_common_reference should have the value 202302L in c++23"
4788+
# endif
4789+
4790+
# ifndef __cpp_lib_common_reference_wrapper
4791+
# error "__cpp_lib_common_reference_wrapper should be defined in c++23"
4792+
# endif
4793+
# if __cpp_lib_common_reference_wrapper != 202302L
4794+
# error "__cpp_lib_common_reference_wrapper should have the value 202302L in c++23"
4795+
# endif
4796+
47374797
# ifndef __cpp_lib_complex_udls
47384798
# error "__cpp_lib_complex_udls should be defined in c++23"
47394799
# endif
@@ -4796,6 +4856,10 @@
47964856
# error "__cpp_lib_constexpr_dynamic_alloc should have the value 201907L in c++23"
47974857
# endif
47984858

4859+
# ifdef __cpp_lib_constexpr_forward_list
4860+
# error "__cpp_lib_constexpr_forward_list should not be defined before c++26"
4861+
# endif
4862+
47994863
# ifndef __cpp_lib_constexpr_functional
48004864
# error "__cpp_lib_constexpr_functional should be defined in c++23"
48014865
# endif
@@ -4810,6 +4874,10 @@
48104874
# error "__cpp_lib_constexpr_iterator should have the value 201811L in c++23"
48114875
# endif
48124876

4877+
# ifdef __cpp_lib_constexpr_list
4878+
# error "__cpp_lib_constexpr_list should not be defined before c++26"
4879+
# endif
4880+
48134881
# ifndef __cpp_lib_constexpr_memory
48144882
# error "__cpp_lib_constexpr_memory should be defined in c++23"
48154883
# endif
@@ -4828,6 +4896,10 @@
48284896
# error "__cpp_lib_constexpr_numeric should have the value 201911L in c++23"
48294897
# endif
48304898

4899+
# ifdef __cpp_lib_constexpr_queue
4900+
# error "__cpp_lib_constexpr_queue should not be defined before c++26"
4901+
# endif
4902+
48314903
# ifndef __cpp_lib_constexpr_string
48324904
# error "__cpp_lib_constexpr_string should be defined in c++23"
48334905
# endif
@@ -5629,17 +5701,11 @@
56295701
# error "__cpp_lib_ranges_iota should have the value 202202L in c++23"
56305702
# endif
56315703

5632-
# if !defined(_LIBCPP_VERSION)
5633-
# ifndef __cpp_lib_ranges_join_with
5634-
# error "__cpp_lib_ranges_join_with should be defined in c++23"
5635-
# endif
5636-
# if __cpp_lib_ranges_join_with != 202202L
5637-
# error "__cpp_lib_ranges_join_with should have the value 202202L in c++23"
5638-
# endif
5639-
# else
5640-
# ifdef __cpp_lib_ranges_join_with
5641-
# error "__cpp_lib_ranges_join_with should not be defined because it is unimplemented in libc++!"
5642-
# endif
5704+
# ifndef __cpp_lib_ranges_join_with
5705+
# error "__cpp_lib_ranges_join_with should be defined in c++23"
5706+
# endif
5707+
# if __cpp_lib_ranges_join_with != 202202L
5708+
# error "__cpp_lib_ranges_join_with should have the value 202202L in c++23"
56435709
# endif
56445710

56455711
# ifndef __cpp_lib_ranges_repeat
@@ -6408,6 +6474,20 @@
64086474
# error "__cpp_lib_clamp should have the value 201603L in c++26"
64096475
# endif
64106476

6477+
# ifndef __cpp_lib_common_reference
6478+
# error "__cpp_lib_common_reference should be defined in c++26"
6479+
# endif
6480+
# if __cpp_lib_common_reference != 202302L
6481+
# error "__cpp_lib_common_reference should have the value 202302L in c++26"
6482+
# endif
6483+
6484+
# ifndef __cpp_lib_common_reference_wrapper
6485+
# error "__cpp_lib_common_reference_wrapper should be defined in c++26"
6486+
# endif
6487+
# if __cpp_lib_common_reference_wrapper != 202302L
6488+
# error "__cpp_lib_common_reference_wrapper should have the value 202302L in c++26"
6489+
# endif
6490+
64116491
# ifndef __cpp_lib_complex_udls
64126492
# error "__cpp_lib_complex_udls should be defined in c++26"
64136493
# endif
@@ -6470,6 +6550,13 @@
64706550
# error "__cpp_lib_constexpr_dynamic_alloc should have the value 201907L in c++26"
64716551
# endif
64726552

6553+
# ifndef __cpp_lib_constexpr_forward_list
6554+
# error "__cpp_lib_constexpr_forward_list should be defined in c++26"
6555+
# endif
6556+
# if __cpp_lib_constexpr_forward_list != 202502L
6557+
# error "__cpp_lib_constexpr_forward_list should have the value 202502L in c++26"
6558+
# endif
6559+
64736560
# ifndef __cpp_lib_constexpr_functional
64746561
# error "__cpp_lib_constexpr_functional should be defined in c++26"
64756562
# endif
@@ -6484,6 +6571,13 @@
64846571
# error "__cpp_lib_constexpr_iterator should have the value 201811L in c++26"
64856572
# endif
64866573

6574+
# ifndef __cpp_lib_constexpr_list
6575+
# error "__cpp_lib_constexpr_list should be defined in c++26"
6576+
# endif
6577+
# if __cpp_lib_constexpr_list != 202502L
6578+
# error "__cpp_lib_constexpr_list should have the value 202502L in c++26"
6579+
# endif
6580+
64876581
# ifndef __cpp_lib_constexpr_memory
64886582
# error "__cpp_lib_constexpr_memory should be defined in c++26"
64896583
# endif
@@ -6511,6 +6605,13 @@
65116605
# error "__cpp_lib_constexpr_numeric should have the value 201911L in c++26"
65126606
# endif
65136607

6608+
# ifndef __cpp_lib_constexpr_queue
6609+
# error "__cpp_lib_constexpr_queue should be defined in c++26"
6610+
# endif
6611+
# if __cpp_lib_constexpr_queue != 202502L
6612+
# error "__cpp_lib_constexpr_queue should have the value 202502L in c++26"
6613+
# endif
6614+
65146615
# ifndef __cpp_lib_constexpr_string
65156616
# error "__cpp_lib_constexpr_string should be defined in c++26"
65166617
# endif
@@ -6553,17 +6654,11 @@
65536654
# error "__cpp_lib_constexpr_vector should have the value 201907L in c++26"
65546655
# endif
65556656

6556-
# if !defined(_LIBCPP_VERSION)
6557-
# ifndef __cpp_lib_constrained_equality
6558-
# error "__cpp_lib_constrained_equality should be defined in c++26"
6559-
# endif
6560-
# if __cpp_lib_constrained_equality != 202403L
6561-
# error "__cpp_lib_constrained_equality should have the value 202403L in c++26"
6562-
# endif
6563-
# else
6564-
# ifdef __cpp_lib_constrained_equality
6565-
# error "__cpp_lib_constrained_equality should not be defined because it is unimplemented in libc++!"
6566-
# endif
6657+
# ifndef __cpp_lib_constrained_equality
6658+
# error "__cpp_lib_constrained_equality should be defined in c++26"
6659+
# endif
6660+
# if __cpp_lib_constrained_equality != 202411L
6661+
# error "__cpp_lib_constrained_equality should have the value 202411L in c++26"
65676662
# endif
65686663

65696664
# ifndef __cpp_lib_containers_ranges
@@ -7365,17 +7460,11 @@
73657460
# error "__cpp_lib_optional should have the value 202110L in c++26"
73667461
# endif
73677462

7368-
# if !defined(_LIBCPP_VERSION)
7369-
# ifndef __cpp_lib_optional_range_support
7370-
# error "__cpp_lib_optional_range_support should be defined in c++26"
7371-
# endif
7372-
# if __cpp_lib_optional_range_support != 202406L
7373-
# error "__cpp_lib_optional_range_support should have the value 202406L in c++26"
7374-
# endif
7375-
# else
7376-
# ifdef __cpp_lib_optional_range_support
7377-
# error "__cpp_lib_optional_range_support should not be defined because it is unimplemented in libc++!"
7378-
# endif
7463+
# ifndef __cpp_lib_optional_range_support
7464+
# error "__cpp_lib_optional_range_support should be defined in c++26"
7465+
# endif
7466+
# if __cpp_lib_optional_range_support != 202406L
7467+
# error "__cpp_lib_optional_range_support should have the value 202406L in c++26"
73797468
# endif
73807469

73817470
# ifndef __cpp_lib_out_ptr
@@ -7531,17 +7620,11 @@
75317620
# error "__cpp_lib_ranges_iota should have the value 202202L in c++26"
75327621
# endif
75337622

7534-
# if !defined(_LIBCPP_VERSION)
7535-
# ifndef __cpp_lib_ranges_join_with
7536-
# error "__cpp_lib_ranges_join_with should be defined in c++26"
7537-
# endif
7538-
# if __cpp_lib_ranges_join_with != 202202L
7539-
# error "__cpp_lib_ranges_join_with should have the value 202202L in c++26"
7540-
# endif
7541-
# else
7542-
# ifdef __cpp_lib_ranges_join_with
7543-
# error "__cpp_lib_ranges_join_with should not be defined because it is unimplemented in libc++!"
7544-
# endif
7623+
# ifndef __cpp_lib_ranges_join_with
7624+
# error "__cpp_lib_ranges_join_with should be defined in c++26"
7625+
# endif
7626+
# if __cpp_lib_ranges_join_with != 202202L
7627+
# error "__cpp_lib_ranges_join_with should have the value 202202L in c++26"
75457628
# endif
75467629

75477630
# ifndef __cpp_lib_ranges_repeat

0 commit comments

Comments
 (0)