]>
Commit | Line | Data |
---|---|---|
a945c346 | 1 | // Copyright (C) 2023-2024 Free Software Foundation, Inc. |
b7b801b2 AA |
2 | |
3 | // This file is part of the GNU ISO C++ Library. This library is free | |
4 | // software; you can redistribute it and/or modify it under the | |
5 | // terms of the GNU General Public License as published by the | |
6 | // Free Software Foundation; either version 3, or (at your option) | |
7 | // any later version. | |
8 | ||
9 | // This library is distributed in the hope that it will be useful, | |
10 | // but WITHOUT ANY WARRANTY; without even the implied warranty of | |
11 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
12 | // GNU General Public License for more details. | |
13 | ||
14 | // Under Section 7 of GPL version 3, you are granted additional | |
15 | // permissions described in the GCC Runtime Library Exception, version | |
16 | // 3.1, as published by the Free Software Foundation. | |
17 | ||
18 | // You should have received a copy of the GNU General Public License and | |
19 | // a copy of the GCC Runtime Library Exception along with this program; | |
20 | // see the files COPYING3 and COPYING.RUNTIME respectively. If not, see | |
21 | // <http://www.gnu.org/licenses/>. | |
22 | ||
23 | // DO NOT EDIT THIS FILE (version.h) | |
24 | // | |
25 | // It has been AutoGen-ed | |
26 | // From the definitions version.def | |
27 | // and the template file version.tpl | |
28 | ||
29 | /** @file bits/version.h | |
30 | * This is an internal header file, included by other library headers. | |
31 | * Do not attempt to use it directly. @headername{version} | |
32 | */ | |
33 | ||
34 | // Usage guide: | |
35 | // | |
36 | // In your usual header, do something like: | |
37 | // | |
38 | // #define __glibcxx_want_ranges | |
39 | // #define __glibcxx_want_concepts | |
40 | // #include <bits/version.h> | |
41 | // | |
42 | // This will generate the FTMs you named, and let you use them in your code as | |
43 | // if it was user code. All macros are also exposed under __glibcxx_NAME even | |
44 | // if unwanted, to permit bits and other FTMs to depend on them for condtional | |
45 | // computation without exposing extra FTMs to user code. | |
46 | ||
47 | #pragma GCC system_header | |
48 | ||
49 | #include <bits/c++config.h> | |
50 | ||
51 | // from version.def line 65 | |
52 | #if !defined(__cpp_lib_incomplete_container_elements) | |
53 | # if _GLIBCXX_HOSTED | |
54 | # define __glibcxx_incomplete_container_elements 201505L | |
55 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_incomplete_container_elements) | |
56 | # define __cpp_lib_incomplete_container_elements 201505L | |
57 | # endif | |
58 | # endif | |
59 | #endif /* !defined(__cpp_lib_incomplete_container_elements) && defined(__glibcxx_want_incomplete_container_elements) */ | |
60 | #undef __glibcxx_want_incomplete_container_elements | |
61 | ||
62 | // from version.def line 73 | |
63 | #if !defined(__cpp_lib_uncaught_exceptions) | |
64 | # if ((defined(__STRICT_ANSI__) && __cplusplus >= 201703L) || (!defined(__STRICT_ANSI__) && __cplusplus >= 199711L)) | |
65 | # define __glibcxx_uncaught_exceptions 201411L | |
66 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_uncaught_exceptions) | |
67 | # define __cpp_lib_uncaught_exceptions 201411L | |
68 | # endif | |
69 | # endif | |
70 | #endif /* !defined(__cpp_lib_uncaught_exceptions) && defined(__glibcxx_want_uncaught_exceptions) */ | |
71 | #undef __glibcxx_want_uncaught_exceptions | |
72 | ||
73 | // from version.def line 82 | |
74 | #if !defined(__cpp_lib_allocator_traits_is_always_equal) | |
75 | # if (__cplusplus >= 201103L) | |
76 | # define __glibcxx_allocator_traits_is_always_equal 201411L | |
77 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_allocator_traits_is_always_equal) | |
78 | # define __cpp_lib_allocator_traits_is_always_equal 201411L | |
79 | # endif | |
80 | # endif | |
81 | #endif /* !defined(__cpp_lib_allocator_traits_is_always_equal) && defined(__glibcxx_want_allocator_traits_is_always_equal) */ | |
82 | #undef __glibcxx_want_allocator_traits_is_always_equal | |
83 | ||
84 | // from version.def line 90 | |
85 | #if !defined(__cpp_lib_is_null_pointer) | |
86 | # if (__cplusplus >= 201103L) | |
87 | # define __glibcxx_is_null_pointer 201309L | |
88 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_is_null_pointer) | |
89 | # define __cpp_lib_is_null_pointer 201309L | |
90 | # endif | |
91 | # endif | |
92 | #endif /* !defined(__cpp_lib_is_null_pointer) && defined(__glibcxx_want_is_null_pointer) */ | |
93 | #undef __glibcxx_want_is_null_pointer | |
94 | ||
95 | // from version.def line 98 | |
96 | #if !defined(__cpp_lib_result_of_sfinae) | |
97 | # if (__cplusplus >= 201103L) | |
98 | # define __glibcxx_result_of_sfinae 201210L | |
99 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_result_of_sfinae) | |
100 | # define __cpp_lib_result_of_sfinae 201210L | |
101 | # endif | |
102 | # endif | |
103 | #endif /* !defined(__cpp_lib_result_of_sfinae) && defined(__glibcxx_want_result_of_sfinae) */ | |
104 | #undef __glibcxx_want_result_of_sfinae | |
105 | ||
106 | // from version.def line 106 | |
107 | #if !defined(__cpp_lib_shared_ptr_arrays) | |
108 | # if (__cplusplus >= 202002L) && _GLIBCXX_HOSTED | |
109 | # define __glibcxx_shared_ptr_arrays 201707L | |
110 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_shared_ptr_arrays) | |
111 | # define __cpp_lib_shared_ptr_arrays 201707L | |
112 | # endif | |
113 | # elif (__cplusplus >= 201103L) && _GLIBCXX_HOSTED | |
114 | # define __glibcxx_shared_ptr_arrays 201611L | |
115 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_shared_ptr_arrays) | |
116 | # define __cpp_lib_shared_ptr_arrays 201611L | |
117 | # endif | |
118 | # endif | |
119 | #endif /* !defined(__cpp_lib_shared_ptr_arrays) && defined(__glibcxx_want_shared_ptr_arrays) */ | |
120 | #undef __glibcxx_want_shared_ptr_arrays | |
121 | ||
122 | // from version.def line 120 | |
123 | #if !defined(__cpp_lib_is_swappable) | |
124 | # if ((defined(__STRICT_ANSI__) && __cplusplus >= 201703L) || (!defined(__STRICT_ANSI__) && __cplusplus >= 201103L)) | |
125 | # define __glibcxx_is_swappable 201603L | |
126 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_is_swappable) | |
127 | # define __cpp_lib_is_swappable 201603L | |
128 | # endif | |
129 | # endif | |
130 | #endif /* !defined(__cpp_lib_is_swappable) && defined(__glibcxx_want_is_swappable) */ | |
131 | #undef __glibcxx_want_is_swappable | |
132 | ||
133 | // from version.def line 129 | |
134 | #if !defined(__cpp_lib_void_t) | |
135 | # if ((defined(__STRICT_ANSI__) && __cplusplus >= 201703L) || (!defined(__STRICT_ANSI__) && __cplusplus >= 201103L)) | |
136 | # define __glibcxx_void_t 201411L | |
137 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_void_t) | |
138 | # define __cpp_lib_void_t 201411L | |
139 | # endif | |
140 | # endif | |
141 | #endif /* !defined(__cpp_lib_void_t) && defined(__glibcxx_want_void_t) */ | |
142 | #undef __glibcxx_want_void_t | |
143 | ||
144 | // from version.def line 138 | |
145 | #if !defined(__cpp_lib_enable_shared_from_this) | |
146 | # if ((defined(__STRICT_ANSI__) && __cplusplus >= 201703L) || (!defined(__STRICT_ANSI__) && __cplusplus >= 201103L)) && _GLIBCXX_HOSTED | |
147 | # define __glibcxx_enable_shared_from_this 201603L | |
148 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_enable_shared_from_this) | |
149 | # define __cpp_lib_enable_shared_from_this 201603L | |
150 | # endif | |
151 | # endif | |
152 | #endif /* !defined(__cpp_lib_enable_shared_from_this) && defined(__glibcxx_want_enable_shared_from_this) */ | |
153 | #undef __glibcxx_want_enable_shared_from_this | |
154 | ||
155 | // from version.def line 148 | |
156 | #if !defined(__cpp_lib_math_spec_funcs) | |
157 | # if (__cplusplus >= 201103L) | |
158 | # define __glibcxx_math_spec_funcs 201003L | |
159 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_math_spec_funcs) | |
160 | # define __STDCPP_MATH_SPEC_FUNCS__ 201003L | |
161 | # endif | |
162 | # endif | |
163 | #endif /* !defined(__cpp_lib_math_spec_funcs) && defined(__glibcxx_want_math_spec_funcs) */ | |
164 | #undef __glibcxx_want_math_spec_funcs | |
165 | ||
166 | // from version.def line 157 | |
167 | #if !defined(__cpp_lib_coroutine) | |
168 | # if (__cplusplus >= 201402L) && (__cpp_impl_coroutine) | |
169 | # define __glibcxx_coroutine 201902L | |
170 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_coroutine) | |
171 | # define __cpp_lib_coroutine 201902L | |
172 | # endif | |
173 | # endif | |
174 | #endif /* !defined(__cpp_lib_coroutine) && defined(__glibcxx_want_coroutine) */ | |
175 | #undef __glibcxx_want_coroutine | |
176 | ||
177 | // from version.def line 168 | |
178 | #if !defined(__cpp_lib_exchange_function) | |
179 | # if (__cplusplus >= 201402L) | |
180 | # define __glibcxx_exchange_function 201304L | |
181 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_exchange_function) | |
182 | # define __cpp_lib_exchange_function 201304L | |
183 | # endif | |
184 | # endif | |
185 | #endif /* !defined(__cpp_lib_exchange_function) && defined(__glibcxx_want_exchange_function) */ | |
186 | #undef __glibcxx_want_exchange_function | |
187 | ||
188 | // from version.def line 176 | |
189 | #if !defined(__cpp_lib_integer_sequence) | |
190 | # if (__cplusplus >= 201402L) | |
191 | # define __glibcxx_integer_sequence 201304L | |
192 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_integer_sequence) | |
193 | # define __cpp_lib_integer_sequence 201304L | |
194 | # endif | |
195 | # endif | |
196 | #endif /* !defined(__cpp_lib_integer_sequence) && defined(__glibcxx_want_integer_sequence) */ | |
197 | #undef __glibcxx_want_integer_sequence | |
198 | ||
199 | // from version.def line 184 | |
200 | #if !defined(__cpp_lib_integral_constant_callable) | |
201 | # if (__cplusplus >= 201402L) | |
202 | # define __glibcxx_integral_constant_callable 201304L | |
203 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_integral_constant_callable) | |
204 | # define __cpp_lib_integral_constant_callable 201304L | |
205 | # endif | |
206 | # endif | |
207 | #endif /* !defined(__cpp_lib_integral_constant_callable) && defined(__glibcxx_want_integral_constant_callable) */ | |
208 | #undef __glibcxx_want_integral_constant_callable | |
209 | ||
210 | // from version.def line 192 | |
211 | #if !defined(__cpp_lib_is_final) | |
212 | # if (__cplusplus >= 201402L) | |
213 | # define __glibcxx_is_final 201402L | |
214 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_is_final) | |
215 | # define __cpp_lib_is_final 201402L | |
216 | # endif | |
217 | # endif | |
218 | #endif /* !defined(__cpp_lib_is_final) && defined(__glibcxx_want_is_final) */ | |
219 | #undef __glibcxx_want_is_final | |
220 | ||
221 | // from version.def line 200 | |
222 | #if !defined(__cpp_lib_make_reverse_iterator) | |
223 | # if (__cplusplus >= 201402L) | |
224 | # define __glibcxx_make_reverse_iterator 201402L | |
225 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_make_reverse_iterator) | |
226 | # define __cpp_lib_make_reverse_iterator 201402L | |
227 | # endif | |
228 | # endif | |
229 | #endif /* !defined(__cpp_lib_make_reverse_iterator) && defined(__glibcxx_want_make_reverse_iterator) */ | |
230 | #undef __glibcxx_want_make_reverse_iterator | |
231 | ||
232 | // from version.def line 208 | |
233 | #if !defined(__cpp_lib_null_iterators) | |
234 | # if (__cplusplus >= 201402L) && (!defined(_GLIBCXX_DEBUG)) | |
235 | # define __glibcxx_null_iterators 201304L | |
236 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_null_iterators) | |
237 | # define __cpp_lib_null_iterators 201304L | |
238 | # endif | |
239 | # endif | |
240 | #endif /* !defined(__cpp_lib_null_iterators) && defined(__glibcxx_want_null_iterators) */ | |
241 | #undef __glibcxx_want_null_iterators | |
242 | ||
243 | // from version.def line 217 | |
244 | #if !defined(__cpp_lib_transformation_trait_aliases) | |
245 | # if (__cplusplus >= 201402L) | |
246 | # define __glibcxx_transformation_trait_aliases 201304L | |
247 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_transformation_trait_aliases) | |
248 | # define __cpp_lib_transformation_trait_aliases 201304L | |
249 | # endif | |
250 | # endif | |
251 | #endif /* !defined(__cpp_lib_transformation_trait_aliases) && defined(__glibcxx_want_transformation_trait_aliases) */ | |
252 | #undef __glibcxx_want_transformation_trait_aliases | |
253 | ||
254 | // from version.def line 225 | |
255 | #if !defined(__cpp_lib_transparent_operators) | |
256 | # if (__cplusplus >= 201402L) | |
257 | # define __glibcxx_transparent_operators 201510L | |
258 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_transparent_operators) | |
259 | # define __cpp_lib_transparent_operators 201510L | |
260 | # endif | |
261 | # endif | |
262 | #endif /* !defined(__cpp_lib_transparent_operators) && defined(__glibcxx_want_transparent_operators) */ | |
263 | #undef __glibcxx_want_transparent_operators | |
264 | ||
265 | // from version.def line 233 | |
266 | #if !defined(__cpp_lib_tuple_element_t) | |
267 | # if (__cplusplus >= 201402L) | |
268 | # define __glibcxx_tuple_element_t 201402L | |
269 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_tuple_element_t) | |
270 | # define __cpp_lib_tuple_element_t 201402L | |
271 | # endif | |
272 | # endif | |
273 | #endif /* !defined(__cpp_lib_tuple_element_t) && defined(__glibcxx_want_tuple_element_t) */ | |
274 | #undef __glibcxx_want_tuple_element_t | |
275 | ||
276 | // from version.def line 241 | |
277 | #if !defined(__cpp_lib_tuples_by_type) | |
278 | # if (__cplusplus >= 201402L) | |
279 | # define __glibcxx_tuples_by_type 201304L | |
280 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_tuples_by_type) | |
281 | # define __cpp_lib_tuples_by_type 201304L | |
282 | # endif | |
283 | # endif | |
284 | #endif /* !defined(__cpp_lib_tuples_by_type) && defined(__glibcxx_want_tuples_by_type) */ | |
285 | #undef __glibcxx_want_tuples_by_type | |
286 | ||
287 | // from version.def line 249 | |
288 | #if !defined(__cpp_lib_robust_nonmodifying_seq_ops) | |
289 | # if (__cplusplus >= 201402L) | |
290 | # define __glibcxx_robust_nonmodifying_seq_ops 201304L | |
291 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_robust_nonmodifying_seq_ops) | |
292 | # define __cpp_lib_robust_nonmodifying_seq_ops 201304L | |
293 | # endif | |
294 | # endif | |
295 | #endif /* !defined(__cpp_lib_robust_nonmodifying_seq_ops) && defined(__glibcxx_want_robust_nonmodifying_seq_ops) */ | |
296 | #undef __glibcxx_want_robust_nonmodifying_seq_ops | |
297 | ||
298 | // from version.def line 257 | |
299 | #if !defined(__cpp_lib_to_chars) | |
8fa1430b JW |
300 | # if (__cplusplus > 202302L) && (_GLIBCXX_FLOAT_IS_IEEE_BINARY32 && _GLIBCXX_DOUBLE_IS_IEEE_BINARY64 && __SIZE_WIDTH__ >= 32) |
301 | # define __glibcxx_to_chars 202306L | |
302 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_to_chars) | |
303 | # define __cpp_lib_to_chars 202306L | |
304 | # endif | |
305 | # elif (__cplusplus >= 201402L) && (_GLIBCXX_FLOAT_IS_IEEE_BINARY32 && _GLIBCXX_DOUBLE_IS_IEEE_BINARY64 && __SIZE_WIDTH__ >= 32) | |
b7b801b2 AA |
306 | # define __glibcxx_to_chars 201611L |
307 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_to_chars) | |
308 | # define __cpp_lib_to_chars 201611L | |
309 | # endif | |
310 | # endif | |
311 | #endif /* !defined(__cpp_lib_to_chars) && defined(__glibcxx_want_to_chars) */ | |
312 | #undef __glibcxx_want_to_chars | |
313 | ||
8fa1430b | 314 | // from version.def line 275 |
b7b801b2 AA |
315 | #if !defined(__cpp_lib_chrono_udls) |
316 | # if (__cplusplus >= 201402L) && _GLIBCXX_HOSTED | |
317 | # define __glibcxx_chrono_udls 201304L | |
318 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_chrono_udls) | |
319 | # define __cpp_lib_chrono_udls 201304L | |
320 | # endif | |
321 | # endif | |
322 | #endif /* !defined(__cpp_lib_chrono_udls) && defined(__glibcxx_want_chrono_udls) */ | |
323 | #undef __glibcxx_want_chrono_udls | |
324 | ||
8fa1430b | 325 | // from version.def line 284 |
b7b801b2 AA |
326 | #if !defined(__cpp_lib_complex_udls) |
327 | # if (__cplusplus >= 201402L) && _GLIBCXX_HOSTED | |
328 | # define __glibcxx_complex_udls 201309L | |
329 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_complex_udls) | |
330 | # define __cpp_lib_complex_udls 201309L | |
331 | # endif | |
332 | # endif | |
333 | #endif /* !defined(__cpp_lib_complex_udls) && defined(__glibcxx_want_complex_udls) */ | |
334 | #undef __glibcxx_want_complex_udls | |
335 | ||
8fa1430b | 336 | // from version.def line 293 |
b7b801b2 AA |
337 | #if !defined(__cpp_lib_generic_associative_lookup) |
338 | # if (__cplusplus >= 201402L) && _GLIBCXX_HOSTED | |
339 | # define __glibcxx_generic_associative_lookup 201304L | |
340 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_generic_associative_lookup) | |
341 | # define __cpp_lib_generic_associative_lookup 201304L | |
342 | # endif | |
343 | # endif | |
344 | #endif /* !defined(__cpp_lib_generic_associative_lookup) && defined(__glibcxx_want_generic_associative_lookup) */ | |
345 | #undef __glibcxx_want_generic_associative_lookup | |
346 | ||
8fa1430b | 347 | // from version.def line 302 |
b7b801b2 AA |
348 | #if !defined(__cpp_lib_make_unique) |
349 | # if (__cplusplus >= 201402L) && _GLIBCXX_HOSTED | |
350 | # define __glibcxx_make_unique 201304L | |
351 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_make_unique) | |
352 | # define __cpp_lib_make_unique 201304L | |
353 | # endif | |
354 | # endif | |
355 | #endif /* !defined(__cpp_lib_make_unique) && defined(__glibcxx_want_make_unique) */ | |
356 | #undef __glibcxx_want_make_unique | |
357 | ||
8fa1430b | 358 | // from version.def line 311 |
b7b801b2 AA |
359 | #if !defined(__cpp_lib_quoted_string_io) |
360 | # if (__cplusplus >= 201402L) && _GLIBCXX_HOSTED | |
361 | # define __glibcxx_quoted_string_io 201304L | |
362 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_quoted_string_io) | |
363 | # define __cpp_lib_quoted_string_io 201304L | |
364 | # endif | |
365 | # endif | |
366 | #endif /* !defined(__cpp_lib_quoted_string_io) && defined(__glibcxx_want_quoted_string_io) */ | |
367 | #undef __glibcxx_want_quoted_string_io | |
368 | ||
8fa1430b | 369 | // from version.def line 320 |
b7b801b2 AA |
370 | #if !defined(__cpp_lib_shared_timed_mutex) |
371 | # if (__cplusplus >= 201402L) && defined(_GLIBCXX_HAS_GTHREADS) && _GLIBCXX_HOSTED | |
372 | # define __glibcxx_shared_timed_mutex 201402L | |
373 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_shared_timed_mutex) | |
374 | # define __cpp_lib_shared_timed_mutex 201402L | |
375 | # endif | |
376 | # endif | |
377 | #endif /* !defined(__cpp_lib_shared_timed_mutex) && defined(__glibcxx_want_shared_timed_mutex) */ | |
378 | #undef __glibcxx_want_shared_timed_mutex | |
379 | ||
8fa1430b | 380 | // from version.def line 330 |
b7b801b2 AA |
381 | #if !defined(__cpp_lib_string_udls) |
382 | # if (__cplusplus >= 201402L) && _GLIBCXX_HOSTED | |
383 | # define __glibcxx_string_udls 201304L | |
384 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_string_udls) | |
385 | # define __cpp_lib_string_udls 201304L | |
386 | # endif | |
387 | # endif | |
388 | #endif /* !defined(__cpp_lib_string_udls) && defined(__glibcxx_want_string_udls) */ | |
389 | #undef __glibcxx_want_string_udls | |
390 | ||
8fa1430b | 391 | // from version.def line 339 |
b7b801b2 AA |
392 | #if !defined(__cpp_lib_addressof_constexpr) |
393 | # if (__cplusplus >= 201703L) | |
394 | # define __glibcxx_addressof_constexpr 201603L | |
395 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_addressof_constexpr) | |
396 | # define __cpp_lib_addressof_constexpr 201603L | |
397 | # endif | |
398 | # endif | |
399 | #endif /* !defined(__cpp_lib_addressof_constexpr) && defined(__glibcxx_want_addressof_constexpr) */ | |
400 | #undef __glibcxx_want_addressof_constexpr | |
401 | ||
8fa1430b | 402 | // from version.def line 349 |
b7b801b2 AA |
403 | #if !defined(__cpp_lib_any) |
404 | # if (__cplusplus >= 201703L) | |
405 | # define __glibcxx_any 201606L | |
406 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_any) | |
407 | # define __cpp_lib_any 201606L | |
408 | # endif | |
409 | # endif | |
410 | #endif /* !defined(__cpp_lib_any) && defined(__glibcxx_want_any) */ | |
411 | #undef __glibcxx_want_any | |
412 | ||
8fa1430b | 413 | // from version.def line 357 |
b7b801b2 AA |
414 | #if !defined(__cpp_lib_apply) |
415 | # if (__cplusplus >= 201703L) | |
416 | # define __glibcxx_apply 201603L | |
417 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_apply) | |
418 | # define __cpp_lib_apply 201603L | |
419 | # endif | |
420 | # endif | |
421 | #endif /* !defined(__cpp_lib_apply) && defined(__glibcxx_want_apply) */ | |
422 | #undef __glibcxx_want_apply | |
423 | ||
8fa1430b | 424 | // from version.def line 365 |
b7b801b2 AA |
425 | #if !defined(__cpp_lib_as_const) |
426 | # if (__cplusplus >= 201703L) | |
427 | # define __glibcxx_as_const 201510L | |
428 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_as_const) | |
429 | # define __cpp_lib_as_const 201510L | |
430 | # endif | |
431 | # endif | |
432 | #endif /* !defined(__cpp_lib_as_const) && defined(__glibcxx_want_as_const) */ | |
433 | #undef __glibcxx_want_as_const | |
434 | ||
8fa1430b | 435 | // from version.def line 373 |
b7b801b2 AA |
436 | #if !defined(__cpp_lib_atomic_is_always_lock_free) |
437 | # if (__cplusplus >= 201703L) | |
438 | # define __glibcxx_atomic_is_always_lock_free 201603L | |
439 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_atomic_is_always_lock_free) | |
440 | # define __cpp_lib_atomic_is_always_lock_free 201603L | |
441 | # endif | |
442 | # endif | |
443 | #endif /* !defined(__cpp_lib_atomic_is_always_lock_free) && defined(__glibcxx_want_atomic_is_always_lock_free) */ | |
444 | #undef __glibcxx_want_atomic_is_always_lock_free | |
445 | ||
8fa1430b | 446 | // from version.def line 381 |
b7b801b2 AA |
447 | #if !defined(__cpp_lib_bool_constant) |
448 | # if (__cplusplus >= 201703L) | |
449 | # define __glibcxx_bool_constant 201505L | |
450 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_bool_constant) | |
451 | # define __cpp_lib_bool_constant 201505L | |
452 | # endif | |
453 | # endif | |
454 | #endif /* !defined(__cpp_lib_bool_constant) && defined(__glibcxx_want_bool_constant) */ | |
455 | #undef __glibcxx_want_bool_constant | |
456 | ||
8fa1430b | 457 | // from version.def line 389 |
b7b801b2 AA |
458 | #if !defined(__cpp_lib_byte) |
459 | # if (__cplusplus >= 201703L) | |
460 | # define __glibcxx_byte 201603L | |
461 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_byte) | |
462 | # define __cpp_lib_byte 201603L | |
463 | # endif | |
464 | # endif | |
465 | #endif /* !defined(__cpp_lib_byte) && defined(__glibcxx_want_byte) */ | |
466 | #undef __glibcxx_want_byte | |
467 | ||
8fa1430b | 468 | // from version.def line 397 |
b7b801b2 AA |
469 | #if !defined(__cpp_lib_has_unique_object_representations) |
470 | # if (__cplusplus >= 201703L) && (defined(_GLIBCXX_HAVE_BUILTIN_HAS_UNIQ_OBJ_REP)) | |
471 | # define __glibcxx_has_unique_object_representations 201606L | |
472 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_has_unique_object_representations) | |
473 | # define __cpp_lib_has_unique_object_representations 201606L | |
474 | # endif | |
475 | # endif | |
476 | #endif /* !defined(__cpp_lib_has_unique_object_representations) && defined(__glibcxx_want_has_unique_object_representations) */ | |
477 | #undef __glibcxx_want_has_unique_object_representations | |
478 | ||
8fa1430b | 479 | // from version.def line 406 |
b7b801b2 AA |
480 | #if !defined(__cpp_lib_hardware_interference_size) |
481 | # if (__cplusplus >= 201703L) && (defined(__GCC_DESTRUCTIVE_SIZE)) | |
482 | # define __glibcxx_hardware_interference_size 201703L | |
483 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_hardware_interference_size) | |
484 | # define __cpp_lib_hardware_interference_size 201703L | |
485 | # endif | |
486 | # endif | |
487 | #endif /* !defined(__cpp_lib_hardware_interference_size) && defined(__glibcxx_want_hardware_interference_size) */ | |
488 | #undef __glibcxx_want_hardware_interference_size | |
489 | ||
8fa1430b | 490 | // from version.def line 415 |
b7b801b2 AA |
491 | #if !defined(__cpp_lib_invoke) |
492 | # if (__cplusplus >= 201703L) | |
493 | # define __glibcxx_invoke 201411L | |
494 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_invoke) | |
495 | # define __cpp_lib_invoke 201411L | |
496 | # endif | |
497 | # endif | |
498 | #endif /* !defined(__cpp_lib_invoke) && defined(__glibcxx_want_invoke) */ | |
499 | #undef __glibcxx_want_invoke | |
500 | ||
8fa1430b | 501 | // from version.def line 423 |
b7b801b2 AA |
502 | #if !defined(__cpp_lib_is_aggregate) |
503 | # if (__cplusplus >= 201703L) && (defined(_GLIBCXX_HAVE_BUILTIN_IS_AGGREGATE)) | |
504 | # define __glibcxx_is_aggregate 201703L | |
505 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_is_aggregate) | |
506 | # define __cpp_lib_is_aggregate 201703L | |
507 | # endif | |
508 | # endif | |
509 | #endif /* !defined(__cpp_lib_is_aggregate) && defined(__glibcxx_want_is_aggregate) */ | |
510 | #undef __glibcxx_want_is_aggregate | |
511 | ||
8fa1430b | 512 | // from version.def line 432 |
b7b801b2 AA |
513 | #if !defined(__cpp_lib_is_invocable) |
514 | # if (__cplusplus >= 201703L) | |
515 | # define __glibcxx_is_invocable 201703L | |
516 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_is_invocable) | |
517 | # define __cpp_lib_is_invocable 201703L | |
518 | # endif | |
519 | # endif | |
520 | #endif /* !defined(__cpp_lib_is_invocable) && defined(__glibcxx_want_is_invocable) */ | |
521 | #undef __glibcxx_want_is_invocable | |
522 | ||
8fa1430b | 523 | // from version.def line 440 |
b7b801b2 AA |
524 | #if !defined(__cpp_lib_launder) |
525 | # if (__cplusplus >= 201703L) && (defined(_GLIBCXX_HAVE_BUILTIN_LAUNDER)) | |
526 | # define __glibcxx_launder 201606L | |
527 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_launder) | |
528 | # define __cpp_lib_launder 201606L | |
529 | # endif | |
530 | # endif | |
531 | #endif /* !defined(__cpp_lib_launder) && defined(__glibcxx_want_launder) */ | |
532 | #undef __glibcxx_want_launder | |
533 | ||
8fa1430b | 534 | // from version.def line 449 |
b7b801b2 AA |
535 | #if !defined(__cpp_lib_logical_traits) |
536 | # if (__cplusplus >= 201703L) | |
537 | # define __glibcxx_logical_traits 201510L | |
538 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_logical_traits) | |
539 | # define __cpp_lib_logical_traits 201510L | |
540 | # endif | |
541 | # endif | |
542 | #endif /* !defined(__cpp_lib_logical_traits) && defined(__glibcxx_want_logical_traits) */ | |
543 | #undef __glibcxx_want_logical_traits | |
544 | ||
8fa1430b | 545 | // from version.def line 457 |
b7b801b2 AA |
546 | #if !defined(__cpp_lib_make_from_tuple) |
547 | # if (__cplusplus >= 201703L) | |
548 | # define __glibcxx_make_from_tuple 201606L | |
549 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_make_from_tuple) | |
550 | # define __cpp_lib_make_from_tuple 201606L | |
551 | # endif | |
552 | # endif | |
553 | #endif /* !defined(__cpp_lib_make_from_tuple) && defined(__glibcxx_want_make_from_tuple) */ | |
554 | #undef __glibcxx_want_make_from_tuple | |
555 | ||
8fa1430b | 556 | // from version.def line 465 |
b7b801b2 AA |
557 | #if !defined(__cpp_lib_not_fn) |
558 | # if (__cplusplus >= 201703L) | |
559 | # define __glibcxx_not_fn 201603L | |
560 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_not_fn) | |
561 | # define __cpp_lib_not_fn 201603L | |
562 | # endif | |
563 | # endif | |
564 | #endif /* !defined(__cpp_lib_not_fn) && defined(__glibcxx_want_not_fn) */ | |
565 | #undef __glibcxx_want_not_fn | |
566 | ||
8fa1430b | 567 | // from version.def line 473 |
b7b801b2 AA |
568 | #if !defined(__cpp_lib_type_trait_variable_templates) |
569 | # if (__cplusplus >= 201703L) | |
570 | # define __glibcxx_type_trait_variable_templates 201510L | |
571 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_type_trait_variable_templates) | |
572 | # define __cpp_lib_type_trait_variable_templates 201510L | |
573 | # endif | |
574 | # endif | |
575 | #endif /* !defined(__cpp_lib_type_trait_variable_templates) && defined(__glibcxx_want_type_trait_variable_templates) */ | |
576 | #undef __glibcxx_want_type_trait_variable_templates | |
577 | ||
8fa1430b | 578 | // from version.def line 481 |
b7b801b2 AA |
579 | #if !defined(__cpp_lib_variant) |
580 | # if (__cplusplus >= 202002L) && (__cpp_concepts >= 202002L && __cpp_constexpr >= 201811L) | |
581 | # define __glibcxx_variant 202106L | |
582 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_variant) | |
583 | # define __cpp_lib_variant 202106L | |
584 | # endif | |
585 | # elif (__cplusplus >= 201703L) | |
586 | # define __glibcxx_variant 202102L | |
587 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_variant) | |
588 | # define __cpp_lib_variant 202102L | |
589 | # endif | |
590 | # endif | |
591 | #endif /* !defined(__cpp_lib_variant) && defined(__glibcxx_want_variant) */ | |
592 | #undef __glibcxx_want_variant | |
593 | ||
8fa1430b | 594 | // from version.def line 495 |
b7b801b2 AA |
595 | #if !defined(__cpp_lib_lcm) |
596 | # if (__cplusplus >= 201703L) | |
597 | # define __glibcxx_lcm 201606L | |
598 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_lcm) | |
599 | # define __cpp_lib_lcm 201606L | |
600 | # endif | |
601 | # endif | |
602 | #endif /* !defined(__cpp_lib_lcm) && defined(__glibcxx_want_lcm) */ | |
603 | #undef __glibcxx_want_lcm | |
604 | ||
8fa1430b | 605 | // from version.def line 504 |
b7b801b2 AA |
606 | #if !defined(__cpp_lib_gcd) |
607 | # if (__cplusplus >= 201703L) | |
608 | # define __glibcxx_gcd 201606L | |
609 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_gcd) | |
610 | # define __cpp_lib_gcd 201606L | |
611 | # endif | |
612 | # endif | |
613 | #endif /* !defined(__cpp_lib_gcd) && defined(__glibcxx_want_gcd) */ | |
614 | #undef __glibcxx_want_gcd | |
615 | ||
8fa1430b | 616 | // from version.def line 512 |
b7b801b2 AA |
617 | #if !defined(__cpp_lib_gcd_lcm) |
618 | # if (__cplusplus >= 201703L) | |
619 | # define __glibcxx_gcd_lcm 201606L | |
620 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_gcd_lcm) | |
621 | # define __cpp_lib_gcd_lcm 201606L | |
622 | # endif | |
623 | # endif | |
624 | #endif /* !defined(__cpp_lib_gcd_lcm) && defined(__glibcxx_want_gcd_lcm) */ | |
625 | #undef __glibcxx_want_gcd_lcm | |
626 | ||
8fa1430b | 627 | // from version.def line 520 |
b7b801b2 AA |
628 | #if !defined(__cpp_lib_raw_memory_algorithms) |
629 | # if (__cplusplus >= 201703L) | |
630 | # define __glibcxx_raw_memory_algorithms 201606L | |
631 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_raw_memory_algorithms) | |
632 | # define __cpp_lib_raw_memory_algorithms 201606L | |
633 | # endif | |
634 | # endif | |
635 | #endif /* !defined(__cpp_lib_raw_memory_algorithms) && defined(__glibcxx_want_raw_memory_algorithms) */ | |
636 | #undef __glibcxx_want_raw_memory_algorithms | |
637 | ||
8fa1430b | 638 | // from version.def line 528 |
b7b801b2 AA |
639 | #if !defined(__cpp_lib_array_constexpr) |
640 | # if (__cplusplus >= 202002L) | |
641 | # define __glibcxx_array_constexpr 201811L | |
642 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_array_constexpr) | |
643 | # define __cpp_lib_array_constexpr 201811L | |
644 | # endif | |
645 | # elif (__cplusplus >= 201703L) | |
646 | # define __glibcxx_array_constexpr 201803L | |
647 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_array_constexpr) | |
648 | # define __cpp_lib_array_constexpr 201803L | |
649 | # endif | |
650 | # endif | |
651 | #endif /* !defined(__cpp_lib_array_constexpr) && defined(__glibcxx_want_array_constexpr) */ | |
652 | #undef __glibcxx_want_array_constexpr | |
653 | ||
8fa1430b | 654 | // from version.def line 540 |
b7b801b2 AA |
655 | #if !defined(__cpp_lib_nonmember_container_access) |
656 | # if (__cplusplus >= 201703L) | |
657 | # define __glibcxx_nonmember_container_access 201411L | |
658 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_nonmember_container_access) | |
659 | # define __cpp_lib_nonmember_container_access 201411L | |
660 | # endif | |
661 | # endif | |
662 | #endif /* !defined(__cpp_lib_nonmember_container_access) && defined(__glibcxx_want_nonmember_container_access) */ | |
663 | #undef __glibcxx_want_nonmember_container_access | |
664 | ||
8fa1430b | 665 | // from version.def line 548 |
b7b801b2 AA |
666 | #if !defined(__cpp_lib_clamp) |
667 | # if (__cplusplus >= 201703L) | |
668 | # define __glibcxx_clamp 201603L | |
669 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_clamp) | |
670 | # define __cpp_lib_clamp 201603L | |
671 | # endif | |
672 | # endif | |
673 | #endif /* !defined(__cpp_lib_clamp) && defined(__glibcxx_want_clamp) */ | |
674 | #undef __glibcxx_want_clamp | |
675 | ||
8fa1430b | 676 | // from version.def line 556 |
b7b801b2 AA |
677 | #if !defined(__cpp_lib_sample) |
678 | # if (__cplusplus >= 201703L) | |
679 | # define __glibcxx_sample 201603L | |
680 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_sample) | |
681 | # define __cpp_lib_sample 201603L | |
682 | # endif | |
683 | # endif | |
684 | #endif /* !defined(__cpp_lib_sample) && defined(__glibcxx_want_sample) */ | |
685 | #undef __glibcxx_want_sample | |
686 | ||
8fa1430b | 687 | // from version.def line 564 |
b7b801b2 AA |
688 | #if !defined(__cpp_lib_boyer_moore_searcher) |
689 | # if (__cplusplus >= 201703L) && _GLIBCXX_HOSTED | |
690 | # define __glibcxx_boyer_moore_searcher 201603L | |
691 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_boyer_moore_searcher) | |
692 | # define __cpp_lib_boyer_moore_searcher 201603L | |
693 | # endif | |
694 | # endif | |
695 | #endif /* !defined(__cpp_lib_boyer_moore_searcher) && defined(__glibcxx_want_boyer_moore_searcher) */ | |
696 | #undef __glibcxx_want_boyer_moore_searcher | |
697 | ||
8fa1430b | 698 | // from version.def line 573 |
b7b801b2 AA |
699 | #if !defined(__cpp_lib_chrono) |
700 | # if (__cplusplus >= 202002L) && _GLIBCXX_HOSTED | |
701 | # define __glibcxx_chrono 201907L | |
702 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_chrono) | |
703 | # define __cpp_lib_chrono 201907L | |
704 | # endif | |
705 | # elif (__cplusplus >= 201703L) && _GLIBCXX_HOSTED | |
706 | # define __glibcxx_chrono 201611L | |
707 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_chrono) | |
708 | # define __cpp_lib_chrono 201611L | |
709 | # endif | |
710 | # endif | |
711 | #endif /* !defined(__cpp_lib_chrono) && defined(__glibcxx_want_chrono) */ | |
712 | #undef __glibcxx_want_chrono | |
713 | ||
8fa1430b | 714 | // from version.def line 587 |
b7b801b2 AA |
715 | #if !defined(__cpp_lib_execution) |
716 | # if (__cplusplus >= 201703L) && _GLIBCXX_HOSTED | |
717 | # define __glibcxx_execution 201902L | |
718 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_execution) | |
719 | # define __cpp_lib_execution 201902L | |
720 | # endif | |
721 | # endif | |
722 | #endif /* !defined(__cpp_lib_execution) && defined(__glibcxx_want_execution) */ | |
723 | #undef __glibcxx_want_execution | |
724 | ||
8fa1430b | 725 | // from version.def line 596 |
b7b801b2 AA |
726 | #if !defined(__cpp_lib_filesystem) |
727 | # if (__cplusplus >= 201703L) && _GLIBCXX_HOSTED | |
728 | # define __glibcxx_filesystem 201703L | |
729 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_filesystem) | |
730 | # define __cpp_lib_filesystem 201703L | |
731 | # endif | |
732 | # endif | |
733 | #endif /* !defined(__cpp_lib_filesystem) && defined(__glibcxx_want_filesystem) */ | |
734 | #undef __glibcxx_want_filesystem | |
735 | ||
8fa1430b | 736 | // from version.def line 605 |
b7b801b2 AA |
737 | #if !defined(__cpp_lib_hypot) |
738 | # if (__cplusplus >= 201703L) && _GLIBCXX_HOSTED | |
739 | # define __glibcxx_hypot 201603L | |
740 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_hypot) | |
741 | # define __cpp_lib_hypot 201603L | |
742 | # endif | |
743 | # endif | |
744 | #endif /* !defined(__cpp_lib_hypot) && defined(__glibcxx_want_hypot) */ | |
745 | #undef __glibcxx_want_hypot | |
746 | ||
8fa1430b | 747 | // from version.def line 614 |
b7b801b2 AA |
748 | #if !defined(__cpp_lib_map_try_emplace) |
749 | # if (__cplusplus >= 201703L) && _GLIBCXX_HOSTED | |
750 | # define __glibcxx_map_try_emplace 201411L | |
751 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_map_try_emplace) | |
752 | # define __cpp_lib_map_try_emplace 201411L | |
753 | # endif | |
754 | # endif | |
755 | #endif /* !defined(__cpp_lib_map_try_emplace) && defined(__glibcxx_want_map_try_emplace) */ | |
756 | #undef __glibcxx_want_map_try_emplace | |
757 | ||
8fa1430b | 758 | // from version.def line 623 |
b7b801b2 AA |
759 | #if !defined(__cpp_lib_math_special_functions) |
760 | # if (__cplusplus >= 201703L) && _GLIBCXX_HOSTED | |
761 | # define __glibcxx_math_special_functions 201603L | |
762 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_math_special_functions) | |
763 | # define __cpp_lib_math_special_functions 201603L | |
764 | # endif | |
765 | # endif | |
766 | #endif /* !defined(__cpp_lib_math_special_functions) && defined(__glibcxx_want_math_special_functions) */ | |
767 | #undef __glibcxx_want_math_special_functions | |
768 | ||
8fa1430b | 769 | // from version.def line 632 |
b7b801b2 AA |
770 | #if !defined(__cpp_lib_memory_resource) |
771 | # if (__cplusplus >= 201703L) && defined(_GLIBCXX_HAS_GTHREADS) && _GLIBCXX_HOSTED | |
772 | # define __glibcxx_memory_resource 201603L | |
773 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_memory_resource) | |
774 | # define __cpp_lib_memory_resource 201603L | |
775 | # endif | |
776 | # elif (__cplusplus >= 201703L) && !defined(_GLIBCXX_HAS_GTHREADS) && _GLIBCXX_HOSTED | |
777 | # define __glibcxx_memory_resource 1L | |
778 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_memory_resource) | |
779 | # define __cpp_lib_memory_resource 1L | |
780 | # endif | |
781 | # endif | |
782 | #endif /* !defined(__cpp_lib_memory_resource) && defined(__glibcxx_want_memory_resource) */ | |
783 | #undef __glibcxx_want_memory_resource | |
784 | ||
8fa1430b | 785 | // from version.def line 649 |
b7b801b2 AA |
786 | #if !defined(__cpp_lib_node_extract) |
787 | # if (__cplusplus >= 201703L) && _GLIBCXX_HOSTED | |
788 | # define __glibcxx_node_extract 201606L | |
789 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_node_extract) | |
790 | # define __cpp_lib_node_extract 201606L | |
791 | # endif | |
792 | # endif | |
793 | #endif /* !defined(__cpp_lib_node_extract) && defined(__glibcxx_want_node_extract) */ | |
794 | #undef __glibcxx_want_node_extract | |
795 | ||
8fa1430b | 796 | // from version.def line 658 |
b7b801b2 AA |
797 | #if !defined(__cpp_lib_parallel_algorithm) |
798 | # if (__cplusplus >= 201703L) && _GLIBCXX_HOSTED | |
799 | # define __glibcxx_parallel_algorithm 201603L | |
800 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_parallel_algorithm) | |
801 | # define __cpp_lib_parallel_algorithm 201603L | |
802 | # endif | |
803 | # endif | |
804 | #endif /* !defined(__cpp_lib_parallel_algorithm) && defined(__glibcxx_want_parallel_algorithm) */ | |
805 | #undef __glibcxx_want_parallel_algorithm | |
806 | ||
8fa1430b | 807 | // from version.def line 667 |
b7b801b2 AA |
808 | #if !defined(__cpp_lib_scoped_lock) |
809 | # if (__cplusplus >= 201703L) && defined(_GLIBCXX_HAS_GTHREADS) && _GLIBCXX_HOSTED | |
810 | # define __glibcxx_scoped_lock 201703L | |
811 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_scoped_lock) | |
812 | # define __cpp_lib_scoped_lock 201703L | |
813 | # endif | |
814 | # endif | |
815 | #endif /* !defined(__cpp_lib_scoped_lock) && defined(__glibcxx_want_scoped_lock) */ | |
816 | #undef __glibcxx_want_scoped_lock | |
817 | ||
8fa1430b | 818 | // from version.def line 677 |
b7b801b2 AA |
819 | #if !defined(__cpp_lib_shared_mutex) |
820 | # if (__cplusplus >= 201703L) && defined(_GLIBCXX_HAS_GTHREADS) && _GLIBCXX_HOSTED | |
821 | # define __glibcxx_shared_mutex 201505L | |
822 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_shared_mutex) | |
823 | # define __cpp_lib_shared_mutex 201505L | |
824 | # endif | |
825 | # endif | |
826 | #endif /* !defined(__cpp_lib_shared_mutex) && defined(__glibcxx_want_shared_mutex) */ | |
827 | #undef __glibcxx_want_shared_mutex | |
828 | ||
8fa1430b | 829 | // from version.def line 687 |
b7b801b2 AA |
830 | #if !defined(__cpp_lib_shared_ptr_weak_type) |
831 | # if (__cplusplus >= 201703L) && _GLIBCXX_HOSTED | |
832 | # define __glibcxx_shared_ptr_weak_type 201606L | |
833 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_shared_ptr_weak_type) | |
834 | # define __cpp_lib_shared_ptr_weak_type 201606L | |
835 | # endif | |
836 | # endif | |
837 | #endif /* !defined(__cpp_lib_shared_ptr_weak_type) && defined(__glibcxx_want_shared_ptr_weak_type) */ | |
838 | #undef __glibcxx_want_shared_ptr_weak_type | |
839 | ||
8fa1430b | 840 | // from version.def line 696 |
b7b801b2 AA |
841 | #if !defined(__cpp_lib_string_view) |
842 | # if (__cplusplus >= 201703L) && _GLIBCXX_HOSTED | |
843 | # define __glibcxx_string_view 201803L | |
844 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_string_view) | |
845 | # define __cpp_lib_string_view 201803L | |
846 | # endif | |
847 | # endif | |
848 | #endif /* !defined(__cpp_lib_string_view) && defined(__glibcxx_want_string_view) */ | |
849 | #undef __glibcxx_want_string_view | |
850 | ||
8fa1430b | 851 | // from version.def line 705 |
b7b801b2 AA |
852 | #if !defined(__cpp_lib_unordered_map_try_emplace) |
853 | # if (__cplusplus >= 201703L) && _GLIBCXX_HOSTED | |
854 | # define __glibcxx_unordered_map_try_emplace 201411L | |
855 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_unordered_map_try_emplace) | |
856 | # define __cpp_lib_unordered_map_try_emplace 201411L | |
857 | # endif | |
858 | # endif | |
859 | #endif /* !defined(__cpp_lib_unordered_map_try_emplace) && defined(__glibcxx_want_unordered_map_try_emplace) */ | |
860 | #undef __glibcxx_want_unordered_map_try_emplace | |
861 | ||
8fa1430b | 862 | // from version.def line 714 |
b7b801b2 AA |
863 | #if !defined(__cpp_lib_assume_aligned) |
864 | # if (__cplusplus >= 202002L) | |
865 | # define __glibcxx_assume_aligned 201811L | |
866 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_assume_aligned) | |
867 | # define __cpp_lib_assume_aligned 201811L | |
868 | # endif | |
869 | # endif | |
870 | #endif /* !defined(__cpp_lib_assume_aligned) && defined(__glibcxx_want_assume_aligned) */ | |
871 | #undef __glibcxx_want_assume_aligned | |
872 | ||
8fa1430b | 873 | // from version.def line 722 |
b7b801b2 AA |
874 | #if !defined(__cpp_lib_atomic_flag_test) |
875 | # if (__cplusplus >= 202002L) | |
876 | # define __glibcxx_atomic_flag_test 201907L | |
877 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_atomic_flag_test) | |
878 | # define __cpp_lib_atomic_flag_test 201907L | |
879 | # endif | |
880 | # endif | |
881 | #endif /* !defined(__cpp_lib_atomic_flag_test) && defined(__glibcxx_want_atomic_flag_test) */ | |
882 | #undef __glibcxx_want_atomic_flag_test | |
883 | ||
8fa1430b | 884 | // from version.def line 730 |
b7b801b2 AA |
885 | #if !defined(__cpp_lib_atomic_float) |
886 | # if (__cplusplus >= 202002L) | |
887 | # define __glibcxx_atomic_float 201711L | |
888 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_atomic_float) | |
889 | # define __cpp_lib_atomic_float 201711L | |
890 | # endif | |
891 | # endif | |
892 | #endif /* !defined(__cpp_lib_atomic_float) && defined(__glibcxx_want_atomic_float) */ | |
893 | #undef __glibcxx_want_atomic_float | |
894 | ||
8fa1430b | 895 | // from version.def line 738 |
b7b801b2 AA |
896 | #if !defined(__cpp_lib_atomic_lock_free_type_aliases) |
897 | # if (__cplusplus >= 202002L) | |
898 | # define __glibcxx_atomic_lock_free_type_aliases 201907L | |
899 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_atomic_lock_free_type_aliases) | |
900 | # define __cpp_lib_atomic_lock_free_type_aliases 201907L | |
901 | # endif | |
902 | # endif | |
903 | #endif /* !defined(__cpp_lib_atomic_lock_free_type_aliases) && defined(__glibcxx_want_atomic_lock_free_type_aliases) */ | |
904 | #undef __glibcxx_want_atomic_lock_free_type_aliases | |
905 | ||
8fa1430b | 906 | // from version.def line 746 |
b7b801b2 AA |
907 | #if !defined(__cpp_lib_atomic_ref) |
908 | # if (__cplusplus >= 202002L) | |
909 | # define __glibcxx_atomic_ref 201806L | |
910 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_atomic_ref) | |
911 | # define __cpp_lib_atomic_ref 201806L | |
912 | # endif | |
913 | # endif | |
914 | #endif /* !defined(__cpp_lib_atomic_ref) && defined(__glibcxx_want_atomic_ref) */ | |
915 | #undef __glibcxx_want_atomic_ref | |
916 | ||
8fa1430b | 917 | // from version.def line 754 |
b7b801b2 AA |
918 | #if !defined(__cpp_lib_atomic_value_initialization) |
919 | # if (__cplusplus >= 202002L) | |
920 | # define __glibcxx_atomic_value_initialization 201911L | |
921 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_atomic_value_initialization) | |
922 | # define __cpp_lib_atomic_value_initialization 201911L | |
923 | # endif | |
924 | # endif | |
925 | #endif /* !defined(__cpp_lib_atomic_value_initialization) && defined(__glibcxx_want_atomic_value_initialization) */ | |
926 | #undef __glibcxx_want_atomic_value_initialization | |
927 | ||
8fa1430b | 928 | // from version.def line 762 |
b7b801b2 AA |
929 | #if !defined(__cpp_lib_bind_front) |
930 | # if (__cplusplus >= 202002L) | |
931 | # define __glibcxx_bind_front 201907L | |
932 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_bind_front) | |
933 | # define __cpp_lib_bind_front 201907L | |
934 | # endif | |
935 | # endif | |
936 | #endif /* !defined(__cpp_lib_bind_front) && defined(__glibcxx_want_bind_front) */ | |
937 | #undef __glibcxx_want_bind_front | |
938 | ||
8fa1430b | 939 | // from version.def line 770 |
b7b801b2 AA |
940 | #if !defined(__cpp_lib_starts_ends_with) |
941 | # if (__cplusplus >= 202002L) | |
942 | # define __glibcxx_starts_ends_with 201711L | |
943 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_starts_ends_with) | |
944 | # define __cpp_lib_starts_ends_with 201711L | |
945 | # endif | |
946 | # endif | |
947 | #endif /* !defined(__cpp_lib_starts_ends_with) && defined(__glibcxx_want_starts_ends_with) */ | |
948 | #undef __glibcxx_want_starts_ends_with | |
949 | ||
8fa1430b | 950 | // from version.def line 778 |
b7b801b2 AA |
951 | #if !defined(__cpp_lib_bit_cast) |
952 | # if (__cplusplus >= 202002L) && (__has_builtin(__builtin_bit_cast)) | |
953 | # define __glibcxx_bit_cast 201806L | |
954 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_bit_cast) | |
955 | # define __cpp_lib_bit_cast 201806L | |
956 | # endif | |
957 | # endif | |
958 | #endif /* !defined(__cpp_lib_bit_cast) && defined(__glibcxx_want_bit_cast) */ | |
959 | #undef __glibcxx_want_bit_cast | |
960 | ||
8fa1430b | 961 | // from version.def line 787 |
b7b801b2 AA |
962 | #if !defined(__cpp_lib_bitops) |
963 | # if (__cplusplus >= 202002L) | |
964 | # define __glibcxx_bitops 201907L | |
965 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_bitops) | |
966 | # define __cpp_lib_bitops 201907L | |
967 | # endif | |
968 | # endif | |
969 | #endif /* !defined(__cpp_lib_bitops) && defined(__glibcxx_want_bitops) */ | |
970 | #undef __glibcxx_want_bitops | |
971 | ||
8fa1430b | 972 | // from version.def line 795 |
b7b801b2 AA |
973 | #if !defined(__cpp_lib_bounded_array_traits) |
974 | # if (__cplusplus >= 202002L) | |
975 | # define __glibcxx_bounded_array_traits 201902L | |
976 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_bounded_array_traits) | |
977 | # define __cpp_lib_bounded_array_traits 201902L | |
978 | # endif | |
979 | # endif | |
980 | #endif /* !defined(__cpp_lib_bounded_array_traits) && defined(__glibcxx_want_bounded_array_traits) */ | |
981 | #undef __glibcxx_want_bounded_array_traits | |
982 | ||
8fa1430b | 983 | // from version.def line 803 |
b7b801b2 AA |
984 | #if !defined(__cpp_lib_concepts) |
985 | # if (__cplusplus >= 202002L) && (__cpp_concepts >= 201907L) | |
986 | # define __glibcxx_concepts 202002L | |
987 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_concepts) | |
988 | # define __cpp_lib_concepts 202002L | |
989 | # endif | |
990 | # endif | |
991 | #endif /* !defined(__cpp_lib_concepts) && defined(__glibcxx_want_concepts) */ | |
992 | #undef __glibcxx_want_concepts | |
993 | ||
8fa1430b | 994 | // from version.def line 813 |
b7b801b2 | 995 | #if !defined(__cpp_lib_optional) |
e469f900 | 996 | # if (__cplusplus >= 202100L) && (__glibcxx_concepts) |
b7b801b2 AA |
997 | # define __glibcxx_optional 202110L |
998 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_optional) | |
999 | # define __cpp_lib_optional 202110L | |
1000 | # endif | |
1001 | # elif (__cplusplus >= 202002L) | |
1002 | # define __glibcxx_optional 202106L | |
1003 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_optional) | |
1004 | # define __cpp_lib_optional 202106L | |
1005 | # endif | |
1006 | # elif (__cplusplus >= 201703L) | |
1007 | # define __glibcxx_optional 201606L | |
1008 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_optional) | |
1009 | # define __cpp_lib_optional 201606L | |
1010 | # endif | |
1011 | # endif | |
1012 | #endif /* !defined(__cpp_lib_optional) && defined(__glibcxx_want_optional) */ | |
1013 | #undef __glibcxx_want_optional | |
1014 | ||
8fa1430b | 1015 | // from version.def line 830 |
b7b801b2 AA |
1016 | #if !defined(__cpp_lib_destroying_delete) |
1017 | # if (__cplusplus >= 202002L) && (__cpp_impl_destroying_delete) | |
1018 | # define __glibcxx_destroying_delete 201806L | |
1019 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_destroying_delete) | |
1020 | # define __cpp_lib_destroying_delete 201806L | |
1021 | # endif | |
1022 | # endif | |
1023 | #endif /* !defined(__cpp_lib_destroying_delete) && defined(__glibcxx_want_destroying_delete) */ | |
1024 | #undef __glibcxx_want_destroying_delete | |
1025 | ||
8fa1430b | 1026 | // from version.def line 839 |
b7b801b2 AA |
1027 | #if !defined(__cpp_lib_constexpr_string_view) |
1028 | # if (__cplusplus >= 202002L) | |
1029 | # define __glibcxx_constexpr_string_view 201811L | |
1030 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_string_view) | |
1031 | # define __cpp_lib_constexpr_string_view 201811L | |
1032 | # endif | |
1033 | # endif | |
1034 | #endif /* !defined(__cpp_lib_constexpr_string_view) && defined(__glibcxx_want_constexpr_string_view) */ | |
1035 | #undef __glibcxx_want_constexpr_string_view | |
1036 | ||
8fa1430b | 1037 | // from version.def line 847 |
b7b801b2 AA |
1038 | #if !defined(__cpp_lib_endian) |
1039 | # if (__cplusplus >= 202002L) | |
1040 | # define __glibcxx_endian 201907L | |
1041 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_endian) | |
1042 | # define __cpp_lib_endian 201907L | |
1043 | # endif | |
1044 | # endif | |
1045 | #endif /* !defined(__cpp_lib_endian) && defined(__glibcxx_want_endian) */ | |
1046 | #undef __glibcxx_want_endian | |
1047 | ||
8fa1430b | 1048 | // from version.def line 855 |
b7b801b2 AA |
1049 | #if !defined(__cpp_lib_int_pow2) |
1050 | # if (__cplusplus >= 202002L) | |
1051 | # define __glibcxx_int_pow2 202002L | |
1052 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_int_pow2) | |
1053 | # define __cpp_lib_int_pow2 202002L | |
1054 | # endif | |
1055 | # endif | |
1056 | #endif /* !defined(__cpp_lib_int_pow2) && defined(__glibcxx_want_int_pow2) */ | |
1057 | #undef __glibcxx_want_int_pow2 | |
1058 | ||
8fa1430b | 1059 | // from version.def line 863 |
b7b801b2 AA |
1060 | #if !defined(__cpp_lib_integer_comparison_functions) |
1061 | # if (__cplusplus >= 202002L) | |
1062 | # define __glibcxx_integer_comparison_functions 202002L | |
1063 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_integer_comparison_functions) | |
1064 | # define __cpp_lib_integer_comparison_functions 202002L | |
1065 | # endif | |
1066 | # endif | |
1067 | #endif /* !defined(__cpp_lib_integer_comparison_functions) && defined(__glibcxx_want_integer_comparison_functions) */ | |
1068 | #undef __glibcxx_want_integer_comparison_functions | |
1069 | ||
8fa1430b | 1070 | // from version.def line 871 |
b7b801b2 AA |
1071 | #if !defined(__cpp_lib_is_constant_evaluated) |
1072 | # if (__cplusplus >= 202002L) && (defined(_GLIBCXX_HAVE_IS_CONSTANT_EVALUATED)) | |
1073 | # define __glibcxx_is_constant_evaluated 201811L | |
1074 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_is_constant_evaluated) | |
1075 | # define __cpp_lib_is_constant_evaluated 201811L | |
1076 | # endif | |
1077 | # endif | |
1078 | #endif /* !defined(__cpp_lib_is_constant_evaluated) && defined(__glibcxx_want_is_constant_evaluated) */ | |
1079 | #undef __glibcxx_want_is_constant_evaluated | |
1080 | ||
8fa1430b | 1081 | // from version.def line 881 |
b7b801b2 AA |
1082 | #if !defined(__cpp_lib_constexpr_char_traits) |
1083 | # if (__cplusplus >= 202002L) && (defined(__glibcxx_is_constant_evaluated)) | |
1084 | # define __glibcxx_constexpr_char_traits 201811L | |
1085 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_char_traits) | |
1086 | # define __cpp_lib_constexpr_char_traits 201811L | |
1087 | # endif | |
1088 | # elif (__cplusplus >= 201703L) && (_GLIBCXX_HAVE_IS_CONSTANT_EVALUATED) | |
1089 | # define __glibcxx_constexpr_char_traits 201611L | |
1090 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_char_traits) | |
1091 | # define __cpp_lib_constexpr_char_traits 201611L | |
1092 | # endif | |
1093 | # endif | |
1094 | #endif /* !defined(__cpp_lib_constexpr_char_traits) && defined(__glibcxx_want_constexpr_char_traits) */ | |
1095 | #undef __glibcxx_want_constexpr_char_traits | |
1096 | ||
8fa1430b | 1097 | // from version.def line 897 |
b7b801b2 AA |
1098 | #if !defined(__cpp_lib_is_layout_compatible) |
1099 | # if (__cplusplus >= 202002L) && (__has_builtin(__is_layout_compatible) && __has_builtin(__builtin_is_corresponding_member)) | |
1100 | # define __glibcxx_is_layout_compatible 201907L | |
1101 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_is_layout_compatible) | |
1102 | # define __cpp_lib_is_layout_compatible 201907L | |
1103 | # endif | |
1104 | # endif | |
1105 | #endif /* !defined(__cpp_lib_is_layout_compatible) && defined(__glibcxx_want_is_layout_compatible) */ | |
1106 | #undef __glibcxx_want_is_layout_compatible | |
1107 | ||
8fa1430b | 1108 | // from version.def line 907 |
b7b801b2 AA |
1109 | #if !defined(__cpp_lib_is_nothrow_convertible) |
1110 | # if (__cplusplus >= 202002L) | |
1111 | # define __glibcxx_is_nothrow_convertible 201806L | |
1112 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_is_nothrow_convertible) | |
1113 | # define __cpp_lib_is_nothrow_convertible 201806L | |
1114 | # endif | |
1115 | # endif | |
1116 | #endif /* !defined(__cpp_lib_is_nothrow_convertible) && defined(__glibcxx_want_is_nothrow_convertible) */ | |
1117 | #undef __glibcxx_want_is_nothrow_convertible | |
1118 | ||
8fa1430b | 1119 | // from version.def line 915 |
b7b801b2 AA |
1120 | #if !defined(__cpp_lib_is_pointer_interconvertible) |
1121 | # if (__cplusplus >= 202002L) && (__has_builtin(__is_pointer_interconvertible_base_of) && __has_builtin(__builtin_is_pointer_interconvertible_with_class)) | |
1122 | # define __glibcxx_is_pointer_interconvertible 201907L | |
1123 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_is_pointer_interconvertible) | |
1124 | # define __cpp_lib_is_pointer_interconvertible 201907L | |
1125 | # endif | |
1126 | # endif | |
1127 | #endif /* !defined(__cpp_lib_is_pointer_interconvertible) && defined(__glibcxx_want_is_pointer_interconvertible) */ | |
1128 | #undef __glibcxx_want_is_pointer_interconvertible | |
1129 | ||
8fa1430b | 1130 | // from version.def line 926 |
b7b801b2 AA |
1131 | #if !defined(__cpp_lib_math_constants) |
1132 | # if (__cplusplus >= 202002L) | |
1133 | # define __glibcxx_math_constants 201907L | |
1134 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_math_constants) | |
1135 | # define __cpp_lib_math_constants 201907L | |
1136 | # endif | |
1137 | # endif | |
1138 | #endif /* !defined(__cpp_lib_math_constants) && defined(__glibcxx_want_math_constants) */ | |
1139 | #undef __glibcxx_want_math_constants | |
1140 | ||
8fa1430b | 1141 | // from version.def line 934 |
b7b801b2 AA |
1142 | #if !defined(__cpp_lib_make_obj_using_allocator) |
1143 | # if (__cplusplus >= 202002L) && (__cpp_concepts) | |
1144 | # define __glibcxx_make_obj_using_allocator 201811L | |
1145 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_make_obj_using_allocator) | |
1146 | # define __cpp_lib_make_obj_using_allocator 201811L | |
1147 | # endif | |
1148 | # endif | |
1149 | #endif /* !defined(__cpp_lib_make_obj_using_allocator) && defined(__glibcxx_want_make_obj_using_allocator) */ | |
1150 | #undef __glibcxx_want_make_obj_using_allocator | |
1151 | ||
8fa1430b | 1152 | // from version.def line 944 |
b7b801b2 AA |
1153 | #if !defined(__cpp_lib_remove_cvref) |
1154 | # if (__cplusplus >= 202002L) | |
1155 | # define __glibcxx_remove_cvref 201711L | |
1156 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_remove_cvref) | |
1157 | # define __cpp_lib_remove_cvref 201711L | |
1158 | # endif | |
1159 | # endif | |
1160 | #endif /* !defined(__cpp_lib_remove_cvref) && defined(__glibcxx_want_remove_cvref) */ | |
1161 | #undef __glibcxx_want_remove_cvref | |
1162 | ||
8fa1430b | 1163 | // from version.def line 952 |
b7b801b2 AA |
1164 | #if !defined(__cpp_lib_source_location) |
1165 | # if (__cplusplus >= 202002L) && (__has_builtin(__builtin_source_location)) | |
1166 | # define __glibcxx_source_location 201907L | |
1167 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_source_location) | |
1168 | # define __cpp_lib_source_location 201907L | |
1169 | # endif | |
1170 | # endif | |
1171 | #endif /* !defined(__cpp_lib_source_location) && defined(__glibcxx_want_source_location) */ | |
1172 | #undef __glibcxx_want_source_location | |
1173 | ||
8fa1430b | 1174 | // from version.def line 961 |
b7b801b2 | 1175 | #if !defined(__cpp_lib_span) |
1fa85dcf JW |
1176 | # if (__cplusplus > 202302L) && (__glibcxx_concepts) |
1177 | # define __glibcxx_span 202311L | |
1178 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_span) | |
1179 | # define __cpp_lib_span 202311L | |
1180 | # endif | |
1181 | # elif (__cplusplus >= 202002L) && (__glibcxx_concepts) | |
b7b801b2 AA |
1182 | # define __glibcxx_span 202002L |
1183 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_span) | |
1184 | # define __cpp_lib_span 202002L | |
1185 | # endif | |
1186 | # endif | |
1187 | #endif /* !defined(__cpp_lib_span) && defined(__glibcxx_want_span) */ | |
1188 | #undef __glibcxx_want_span | |
1189 | ||
1fa85dcf | 1190 | // from version.def line 975 |
b7b801b2 AA |
1191 | #if !defined(__cpp_lib_ssize) |
1192 | # if (__cplusplus >= 202002L) | |
1193 | # define __glibcxx_ssize 201902L | |
1194 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_ssize) | |
1195 | # define __cpp_lib_ssize 201902L | |
1196 | # endif | |
1197 | # endif | |
1198 | #endif /* !defined(__cpp_lib_ssize) && defined(__glibcxx_want_ssize) */ | |
1199 | #undef __glibcxx_want_ssize | |
1200 | ||
1fa85dcf | 1201 | // from version.def line 983 |
b7b801b2 AA |
1202 | #if !defined(__cpp_lib_three_way_comparison) |
1203 | # if (__cplusplus >= 202002L) && (__cpp_impl_three_way_comparison >= 201907L && __glibcxx_concepts) | |
1204 | # define __glibcxx_three_way_comparison 201907L | |
1205 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_three_way_comparison) | |
1206 | # define __cpp_lib_three_way_comparison 201907L | |
1207 | # endif | |
1208 | # endif | |
1209 | #endif /* !defined(__cpp_lib_three_way_comparison) && defined(__glibcxx_want_three_way_comparison) */ | |
1210 | #undef __glibcxx_want_three_way_comparison | |
1211 | ||
1fa85dcf | 1212 | // from version.def line 993 |
b7b801b2 AA |
1213 | #if !defined(__cpp_lib_to_address) |
1214 | # if (__cplusplus >= 202002L) | |
1215 | # define __glibcxx_to_address 201711L | |
1216 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_to_address) | |
1217 | # define __cpp_lib_to_address 201711L | |
1218 | # endif | |
1219 | # endif | |
1220 | #endif /* !defined(__cpp_lib_to_address) && defined(__glibcxx_want_to_address) */ | |
1221 | #undef __glibcxx_want_to_address | |
1222 | ||
1fa85dcf | 1223 | // from version.def line 1001 |
b7b801b2 AA |
1224 | #if !defined(__cpp_lib_to_array) |
1225 | # if (__cplusplus >= 202002L) && (__cpp_generic_lambdas >= 201707L) | |
1226 | # define __glibcxx_to_array 201907L | |
1227 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_to_array) | |
1228 | # define __cpp_lib_to_array 201907L | |
1229 | # endif | |
1230 | # endif | |
1231 | #endif /* !defined(__cpp_lib_to_array) && defined(__glibcxx_want_to_array) */ | |
1232 | #undef __glibcxx_want_to_array | |
1233 | ||
1fa85dcf | 1234 | // from version.def line 1010 |
b7b801b2 AA |
1235 | #if !defined(__cpp_lib_type_identity) |
1236 | # if (__cplusplus >= 202002L) | |
1237 | # define __glibcxx_type_identity 201806L | |
1238 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_type_identity) | |
1239 | # define __cpp_lib_type_identity 201806L | |
1240 | # endif | |
1241 | # endif | |
1242 | #endif /* !defined(__cpp_lib_type_identity) && defined(__glibcxx_want_type_identity) */ | |
1243 | #undef __glibcxx_want_type_identity | |
1244 | ||
1fa85dcf | 1245 | // from version.def line 1018 |
b7b801b2 AA |
1246 | #if !defined(__cpp_lib_unwrap_ref) |
1247 | # if (__cplusplus >= 202002L) | |
1248 | # define __glibcxx_unwrap_ref 201811L | |
1249 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_unwrap_ref) | |
1250 | # define __cpp_lib_unwrap_ref 201811L | |
1251 | # endif | |
1252 | # endif | |
1253 | #endif /* !defined(__cpp_lib_unwrap_ref) && defined(__glibcxx_want_unwrap_ref) */ | |
1254 | #undef __glibcxx_want_unwrap_ref | |
1255 | ||
1fa85dcf | 1256 | // from version.def line 1026 |
b7b801b2 AA |
1257 | #if !defined(__cpp_lib_constexpr_iterator) |
1258 | # if (__cplusplus >= 202002L) | |
1259 | # define __glibcxx_constexpr_iterator 201811L | |
1260 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_iterator) | |
1261 | # define __cpp_lib_constexpr_iterator 201811L | |
1262 | # endif | |
1263 | # endif | |
1264 | #endif /* !defined(__cpp_lib_constexpr_iterator) && defined(__glibcxx_want_constexpr_iterator) */ | |
1265 | #undef __glibcxx_want_constexpr_iterator | |
1266 | ||
1fa85dcf | 1267 | // from version.def line 1034 |
b7b801b2 AA |
1268 | #if !defined(__cpp_lib_interpolate) |
1269 | # if (__cplusplus >= 202002L) | |
1270 | # define __glibcxx_interpolate 201902L | |
1271 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_interpolate) | |
1272 | # define __cpp_lib_interpolate 201902L | |
1273 | # endif | |
1274 | # endif | |
1275 | #endif /* !defined(__cpp_lib_interpolate) && defined(__glibcxx_want_interpolate) */ | |
1276 | #undef __glibcxx_want_interpolate | |
1277 | ||
1fa85dcf | 1278 | // from version.def line 1042 |
b7b801b2 AA |
1279 | #if !defined(__cpp_lib_constexpr_utility) |
1280 | # if (__cplusplus >= 202002L) | |
1281 | # define __glibcxx_constexpr_utility 201811L | |
1282 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_utility) | |
1283 | # define __cpp_lib_constexpr_utility 201811L | |
1284 | # endif | |
1285 | # endif | |
1286 | #endif /* !defined(__cpp_lib_constexpr_utility) && defined(__glibcxx_want_constexpr_utility) */ | |
1287 | #undef __glibcxx_want_constexpr_utility | |
1288 | ||
1fa85dcf | 1289 | // from version.def line 1050 |
b7b801b2 AA |
1290 | #if !defined(__cpp_lib_shift) |
1291 | # if (__cplusplus >= 202002L) | |
1292 | # define __glibcxx_shift 201806L | |
1293 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_shift) | |
1294 | # define __cpp_lib_shift 201806L | |
1295 | # endif | |
1296 | # endif | |
1297 | #endif /* !defined(__cpp_lib_shift) && defined(__glibcxx_want_shift) */ | |
1298 | #undef __glibcxx_want_shift | |
1299 | ||
1fa85dcf | 1300 | // from version.def line 1058 |
b7b801b2 | 1301 | #if !defined(__cpp_lib_ranges) |
e469f900 | 1302 | # if (__cplusplus >= 202100L) && (__glibcxx_concepts) |
6854e3ac | 1303 | # define __glibcxx_ranges 202211L |
b7b801b2 | 1304 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges) |
6854e3ac | 1305 | # define __cpp_lib_ranges 202211L |
b7b801b2 AA |
1306 | # endif |
1307 | # elif (__cplusplus >= 202002L) && (__glibcxx_concepts) | |
1308 | # define __glibcxx_ranges 202110L | |
1309 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges) | |
1310 | # define __cpp_lib_ranges 202110L | |
1311 | # endif | |
1312 | # endif | |
1313 | #endif /* !defined(__cpp_lib_ranges) && defined(__glibcxx_want_ranges) */ | |
1314 | #undef __glibcxx_want_ranges | |
1315 | ||
1fa85dcf | 1316 | // from version.def line 1072 |
b7b801b2 AA |
1317 | #if !defined(__cpp_lib_constexpr_numeric) |
1318 | # if (__cplusplus >= 202002L) | |
1319 | # define __glibcxx_constexpr_numeric 201911L | |
1320 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_numeric) | |
1321 | # define __cpp_lib_constexpr_numeric 201911L | |
1322 | # endif | |
1323 | # endif | |
1324 | #endif /* !defined(__cpp_lib_constexpr_numeric) && defined(__glibcxx_want_constexpr_numeric) */ | |
1325 | #undef __glibcxx_want_constexpr_numeric | |
1326 | ||
1fa85dcf | 1327 | // from version.def line 1080 |
b7b801b2 AA |
1328 | #if !defined(__cpp_lib_constexpr_functional) |
1329 | # if (__cplusplus >= 202002L) | |
1330 | # define __glibcxx_constexpr_functional 201907L | |
1331 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_functional) | |
1332 | # define __cpp_lib_constexpr_functional 201907L | |
1333 | # endif | |
1334 | # endif | |
1335 | #endif /* !defined(__cpp_lib_constexpr_functional) && defined(__glibcxx_want_constexpr_functional) */ | |
1336 | #undef __glibcxx_want_constexpr_functional | |
1337 | ||
1fa85dcf | 1338 | // from version.def line 1088 |
b7b801b2 AA |
1339 | #if !defined(__cpp_lib_constexpr_algorithms) |
1340 | # if (__cplusplus >= 202002L) | |
1341 | # define __glibcxx_constexpr_algorithms 201806L | |
1342 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_algorithms) | |
1343 | # define __cpp_lib_constexpr_algorithms 201806L | |
1344 | # endif | |
1345 | # endif | |
1346 | #endif /* !defined(__cpp_lib_constexpr_algorithms) && defined(__glibcxx_want_constexpr_algorithms) */ | |
1347 | #undef __glibcxx_want_constexpr_algorithms | |
1348 | ||
1fa85dcf | 1349 | // from version.def line 1096 |
b7b801b2 AA |
1350 | #if !defined(__cpp_lib_constexpr_tuple) |
1351 | # if (__cplusplus >= 202002L) | |
1352 | # define __glibcxx_constexpr_tuple 201811L | |
1353 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_tuple) | |
1354 | # define __cpp_lib_constexpr_tuple 201811L | |
1355 | # endif | |
1356 | # endif | |
1357 | #endif /* !defined(__cpp_lib_constexpr_tuple) && defined(__glibcxx_want_constexpr_tuple) */ | |
1358 | #undef __glibcxx_want_constexpr_tuple | |
1359 | ||
1fa85dcf | 1360 | // from version.def line 1104 |
b7b801b2 | 1361 | #if !defined(__cpp_lib_constexpr_memory) |
e469f900 | 1362 | # if (__cplusplus >= 202100L) && (__cpp_constexpr_dynamic_alloc) |
b7b801b2 AA |
1363 | # define __glibcxx_constexpr_memory 202202L |
1364 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_memory) | |
1365 | # define __cpp_lib_constexpr_memory 202202L | |
1366 | # endif | |
1367 | # elif (__cplusplus >= 202002L) | |
1368 | # define __glibcxx_constexpr_memory 201811L | |
1369 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_memory) | |
1370 | # define __cpp_lib_constexpr_memory 201811L | |
1371 | # endif | |
1372 | # endif | |
1373 | #endif /* !defined(__cpp_lib_constexpr_memory) && defined(__glibcxx_want_constexpr_memory) */ | |
1374 | #undef __glibcxx_want_constexpr_memory | |
1375 | ||
1fa85dcf | 1376 | // from version.def line 1117 |
b7b801b2 AA |
1377 | #if !defined(__cpp_lib_atomic_shared_ptr) |
1378 | # if (__cplusplus >= 202002L) && _GLIBCXX_HOSTED | |
1379 | # define __glibcxx_atomic_shared_ptr 201711L | |
1380 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_atomic_shared_ptr) | |
1381 | # define __cpp_lib_atomic_shared_ptr 201711L | |
1382 | # endif | |
1383 | # endif | |
1384 | #endif /* !defined(__cpp_lib_atomic_shared_ptr) && defined(__glibcxx_want_atomic_shared_ptr) */ | |
1385 | #undef __glibcxx_want_atomic_shared_ptr | |
1386 | ||
1fa85dcf | 1387 | // from version.def line 1126 |
b7b801b2 AA |
1388 | #if !defined(__cpp_lib_atomic_wait) |
1389 | # if (__cplusplus >= 202002L) && defined(_GLIBCXX_HAS_GTHREADS) && _GLIBCXX_HOSTED | |
1390 | # define __glibcxx_atomic_wait 201907L | |
1391 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_atomic_wait) | |
1392 | # define __cpp_lib_atomic_wait 201907L | |
1393 | # endif | |
1394 | # elif (__cplusplus >= 202002L) && !defined(_GLIBCXX_HAS_GTHREADS) && _GLIBCXX_HOSTED && (defined(_GLIBCXX_HAVE_LINUX_FUTEX)) | |
1395 | # define __glibcxx_atomic_wait 201907L | |
1396 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_atomic_wait) | |
1397 | # define __cpp_lib_atomic_wait 201907L | |
1398 | # endif | |
1399 | # endif | |
1400 | #endif /* !defined(__cpp_lib_atomic_wait) && defined(__glibcxx_want_atomic_wait) */ | |
1401 | #undef __glibcxx_want_atomic_wait | |
1402 | ||
1fa85dcf | 1403 | // from version.def line 1144 |
b7b801b2 AA |
1404 | #if !defined(__cpp_lib_barrier) |
1405 | # if (__cplusplus >= 202002L) && (__cpp_aligned_new && __glibcxx_atomic_wait) | |
1406 | # define __glibcxx_barrier 201907L | |
1407 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_barrier) | |
1408 | # define __cpp_lib_barrier 201907L | |
1409 | # endif | |
1410 | # endif | |
1411 | #endif /* !defined(__cpp_lib_barrier) && defined(__glibcxx_want_barrier) */ | |
1412 | #undef __glibcxx_want_barrier | |
1413 | ||
1fa85dcf | 1414 | // from version.def line 1161 |
b7b801b2 AA |
1415 | #if !defined(__cpp_lib_format) |
1416 | # if (__cplusplus >= 202002L) && _GLIBCXX_HOSTED | |
cdf45e00 | 1417 | # define __glibcxx_format 202110L |
b7b801b2 | 1418 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_format) |
cdf45e00 | 1419 | # define __cpp_lib_format 202110L |
b7b801b2 AA |
1420 | # endif |
1421 | # endif | |
1422 | #endif /* !defined(__cpp_lib_format) && defined(__glibcxx_want_format) */ | |
1423 | #undef __glibcxx_want_format | |
1424 | ||
cdf45e00 | 1425 | // from version.def line 1172 |
b7b801b2 AA |
1426 | #if !defined(__cpp_lib_constexpr_complex) |
1427 | # if (__cplusplus >= 202002L) && _GLIBCXX_HOSTED | |
1428 | # define __glibcxx_constexpr_complex 201711L | |
1429 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_complex) | |
1430 | # define __cpp_lib_constexpr_complex 201711L | |
1431 | # endif | |
1432 | # endif | |
1433 | #endif /* !defined(__cpp_lib_constexpr_complex) && defined(__glibcxx_want_constexpr_complex) */ | |
1434 | #undef __glibcxx_want_constexpr_complex | |
1435 | ||
cdf45e00 | 1436 | // from version.def line 1181 |
b7b801b2 AA |
1437 | #if !defined(__cpp_lib_constexpr_dynamic_alloc) |
1438 | # if (__cplusplus >= 202002L) && _GLIBCXX_HOSTED | |
1439 | # define __glibcxx_constexpr_dynamic_alloc 201907L | |
1440 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_dynamic_alloc) | |
1441 | # define __cpp_lib_constexpr_dynamic_alloc 201907L | |
1442 | # endif | |
1443 | # endif | |
1444 | #endif /* !defined(__cpp_lib_constexpr_dynamic_alloc) && defined(__glibcxx_want_constexpr_dynamic_alloc) */ | |
1445 | #undef __glibcxx_want_constexpr_dynamic_alloc | |
1446 | ||
cdf45e00 | 1447 | // from version.def line 1190 |
b7b801b2 AA |
1448 | #if !defined(__cpp_lib_constexpr_string) |
1449 | # if (__cplusplus >= 202002L) && _GLIBCXX_USE_CXX11_ABI && _GLIBCXX_HOSTED && (defined(__glibcxx_is_constant_evaluated)) | |
1450 | # define __glibcxx_constexpr_string 201907L | |
1451 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_string) | |
1452 | # define __cpp_lib_constexpr_string 201907L | |
1453 | # endif | |
1454 | # elif (__cplusplus >= 202002L) && !_GLIBCXX_USE_CXX11_ABI && _GLIBCXX_HOSTED && (defined(__glibcxx_is_constant_evaluated)) | |
1455 | # define __glibcxx_constexpr_string 201811L | |
1456 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_string) | |
1457 | # define __cpp_lib_constexpr_string 201811L | |
1458 | # endif | |
1459 | # elif (__cplusplus >= 201703L) && _GLIBCXX_HOSTED && (_GLIBCXX_HAVE_IS_CONSTANT_EVALUATED) | |
1460 | # define __glibcxx_constexpr_string 201611L | |
1461 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_string) | |
1462 | # define __cpp_lib_constexpr_string 201611L | |
1463 | # endif | |
1464 | # endif | |
1465 | #endif /* !defined(__cpp_lib_constexpr_string) && defined(__glibcxx_want_constexpr_string) */ | |
1466 | #undef __glibcxx_want_constexpr_string | |
1467 | ||
cdf45e00 | 1468 | // from version.def line 1214 |
b7b801b2 AA |
1469 | #if !defined(__cpp_lib_constexpr_vector) |
1470 | # if (__cplusplus >= 202002L) && _GLIBCXX_HOSTED | |
1471 | # define __glibcxx_constexpr_vector 201907L | |
1472 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_vector) | |
1473 | # define __cpp_lib_constexpr_vector 201907L | |
1474 | # endif | |
1475 | # endif | |
1476 | #endif /* !defined(__cpp_lib_constexpr_vector) && defined(__glibcxx_want_constexpr_vector) */ | |
1477 | #undef __glibcxx_want_constexpr_vector | |
1478 | ||
cdf45e00 | 1479 | // from version.def line 1223 |
b7b801b2 AA |
1480 | #if !defined(__cpp_lib_erase_if) |
1481 | # if (__cplusplus >= 202002L) && _GLIBCXX_HOSTED | |
1482 | # define __glibcxx_erase_if 202002L | |
1483 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_erase_if) | |
1484 | # define __cpp_lib_erase_if 202002L | |
1485 | # endif | |
1486 | # endif | |
1487 | #endif /* !defined(__cpp_lib_erase_if) && defined(__glibcxx_want_erase_if) */ | |
1488 | #undef __glibcxx_want_erase_if | |
1489 | ||
cdf45e00 | 1490 | // from version.def line 1232 |
b7b801b2 AA |
1491 | #if !defined(__cpp_lib_generic_unordered_lookup) |
1492 | # if (__cplusplus >= 202002L) && _GLIBCXX_HOSTED | |
1493 | # define __glibcxx_generic_unordered_lookup 201811L | |
1494 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_generic_unordered_lookup) | |
1495 | # define __cpp_lib_generic_unordered_lookup 201811L | |
1496 | # endif | |
1497 | # endif | |
1498 | #endif /* !defined(__cpp_lib_generic_unordered_lookup) && defined(__glibcxx_want_generic_unordered_lookup) */ | |
1499 | #undef __glibcxx_want_generic_unordered_lookup | |
1500 | ||
cdf45e00 | 1501 | // from version.def line 1241 |
b7b801b2 AA |
1502 | #if !defined(__cpp_lib_jthread) |
1503 | # if (__cplusplus >= 202002L) && defined(_GLIBCXX_HAS_GTHREADS) && _GLIBCXX_HOSTED | |
1504 | # define __glibcxx_jthread 201911L | |
1505 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_jthread) | |
1506 | # define __cpp_lib_jthread 201911L | |
1507 | # endif | |
1508 | # endif | |
1509 | #endif /* !defined(__cpp_lib_jthread) && defined(__glibcxx_want_jthread) */ | |
1510 | #undef __glibcxx_want_jthread | |
1511 | ||
cdf45e00 | 1512 | // from version.def line 1251 |
b7b801b2 AA |
1513 | #if !defined(__cpp_lib_latch) |
1514 | # if (__cplusplus >= 202002L) && (__glibcxx_atomic_wait) | |
1515 | # define __glibcxx_latch 201907L | |
1516 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_latch) | |
1517 | # define __cpp_lib_latch 201907L | |
1518 | # endif | |
1519 | # endif | |
1520 | #endif /* !defined(__cpp_lib_latch) && defined(__glibcxx_want_latch) */ | |
1521 | #undef __glibcxx_want_latch | |
1522 | ||
cdf45e00 | 1523 | // from version.def line 1260 |
b7b801b2 AA |
1524 | #if !defined(__cpp_lib_list_remove_return_type) |
1525 | # if (__cplusplus >= 202002L) && _GLIBCXX_HOSTED | |
1526 | # define __glibcxx_list_remove_return_type 201806L | |
1527 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_list_remove_return_type) | |
1528 | # define __cpp_lib_list_remove_return_type 201806L | |
1529 | # endif | |
1530 | # endif | |
1531 | #endif /* !defined(__cpp_lib_list_remove_return_type) && defined(__glibcxx_want_list_remove_return_type) */ | |
1532 | #undef __glibcxx_want_list_remove_return_type | |
1533 | ||
cdf45e00 | 1534 | // from version.def line 1269 |
b7b801b2 AA |
1535 | #if !defined(__cpp_lib_polymorphic_allocator) |
1536 | # if (__cplusplus >= 202002L) && _GLIBCXX_HOSTED | |
1537 | # define __glibcxx_polymorphic_allocator 201902L | |
1538 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_polymorphic_allocator) | |
1539 | # define __cpp_lib_polymorphic_allocator 201902L | |
1540 | # endif | |
1541 | # endif | |
1542 | #endif /* !defined(__cpp_lib_polymorphic_allocator) && defined(__glibcxx_want_polymorphic_allocator) */ | |
1543 | #undef __glibcxx_want_polymorphic_allocator | |
1544 | ||
cdf45e00 | 1545 | // from version.def line 1278 |
b7b801b2 AA |
1546 | #if !defined(__cpp_lib_move_iterator_concept) |
1547 | # if (__cplusplus >= 202002L) && (__glibcxx_concepts) | |
1548 | # define __glibcxx_move_iterator_concept 202207L | |
1549 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_move_iterator_concept) | |
1550 | # define __cpp_lib_move_iterator_concept 202207L | |
1551 | # endif | |
1552 | # endif | |
1553 | #endif /* !defined(__cpp_lib_move_iterator_concept) && defined(__glibcxx_want_move_iterator_concept) */ | |
1554 | #undef __glibcxx_want_move_iterator_concept | |
1555 | ||
cdf45e00 | 1556 | // from version.def line 1288 |
b7b801b2 AA |
1557 | #if !defined(__cpp_lib_semaphore) |
1558 | # if (__cplusplus >= 202002L) && _GLIBCXX_HOSTED && (__glibcxx_atomic_wait || _GLIBCXX_HAVE_POSIX_SEMAPHORE) | |
1559 | # define __glibcxx_semaphore 201907L | |
1560 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_semaphore) | |
1561 | # define __cpp_lib_semaphore 201907L | |
1562 | # endif | |
1563 | # endif | |
1564 | #endif /* !defined(__cpp_lib_semaphore) && defined(__glibcxx_want_semaphore) */ | |
1565 | #undef __glibcxx_want_semaphore | |
1566 | ||
cdf45e00 | 1567 | // from version.def line 1298 |
b7b801b2 AA |
1568 | #if !defined(__cpp_lib_smart_ptr_for_overwrite) |
1569 | # if (__cplusplus >= 202002L) && _GLIBCXX_HOSTED | |
1570 | # define __glibcxx_smart_ptr_for_overwrite 202002L | |
1571 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_smart_ptr_for_overwrite) | |
1572 | # define __cpp_lib_smart_ptr_for_overwrite 202002L | |
1573 | # endif | |
1574 | # endif | |
1575 | #endif /* !defined(__cpp_lib_smart_ptr_for_overwrite) && defined(__glibcxx_want_smart_ptr_for_overwrite) */ | |
1576 | #undef __glibcxx_want_smart_ptr_for_overwrite | |
1577 | ||
cdf45e00 | 1578 | // from version.def line 1307 |
b7b801b2 AA |
1579 | #if !defined(__cpp_lib_syncbuf) |
1580 | # if (__cplusplus >= 202002L) && _GLIBCXX_USE_CXX11_ABI && _GLIBCXX_HOSTED | |
1581 | # define __glibcxx_syncbuf 201803L | |
1582 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_syncbuf) | |
1583 | # define __cpp_lib_syncbuf 201803L | |
1584 | # endif | |
1585 | # endif | |
1586 | #endif /* !defined(__cpp_lib_syncbuf) && defined(__glibcxx_want_syncbuf) */ | |
1587 | #undef __glibcxx_want_syncbuf | |
1588 | ||
cdf45e00 | 1589 | // from version.def line 1317 |
b7b801b2 | 1590 | #if !defined(__cpp_lib_byteswap) |
e469f900 | 1591 | # if (__cplusplus >= 202100L) |
b7b801b2 AA |
1592 | # define __glibcxx_byteswap 202110L |
1593 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_byteswap) | |
1594 | # define __cpp_lib_byteswap 202110L | |
1595 | # endif | |
1596 | # endif | |
1597 | #endif /* !defined(__cpp_lib_byteswap) && defined(__glibcxx_want_byteswap) */ | |
1598 | #undef __glibcxx_want_byteswap | |
1599 | ||
cdf45e00 | 1600 | // from version.def line 1325 |
b7b801b2 | 1601 | #if !defined(__cpp_lib_constexpr_charconv) |
e469f900 | 1602 | # if (__cplusplus >= 202100L) |
b7b801b2 AA |
1603 | # define __glibcxx_constexpr_charconv 202207L |
1604 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_charconv) | |
1605 | # define __cpp_lib_constexpr_charconv 202207L | |
1606 | # endif | |
1607 | # endif | |
1608 | #endif /* !defined(__cpp_lib_constexpr_charconv) && defined(__glibcxx_want_constexpr_charconv) */ | |
1609 | #undef __glibcxx_want_constexpr_charconv | |
1610 | ||
cdf45e00 | 1611 | // from version.def line 1333 |
b7b801b2 | 1612 | #if !defined(__cpp_lib_constexpr_typeinfo) |
e469f900 | 1613 | # if (__cplusplus >= 202100L) |
b7b801b2 AA |
1614 | # define __glibcxx_constexpr_typeinfo 202106L |
1615 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_typeinfo) | |
1616 | # define __cpp_lib_constexpr_typeinfo 202106L | |
1617 | # endif | |
1618 | # endif | |
1619 | #endif /* !defined(__cpp_lib_constexpr_typeinfo) && defined(__glibcxx_want_constexpr_typeinfo) */ | |
1620 | #undef __glibcxx_want_constexpr_typeinfo | |
1621 | ||
cdf45e00 | 1622 | // from version.def line 1341 |
b7b801b2 | 1623 | #if !defined(__cpp_lib_expected) |
e469f900 | 1624 | # if (__cplusplus >= 202100L) && (__cpp_concepts >= 202002L) |
b7b801b2 AA |
1625 | # define __glibcxx_expected 202211L |
1626 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_expected) | |
1627 | # define __cpp_lib_expected 202211L | |
1628 | # endif | |
1629 | # endif | |
1630 | #endif /* !defined(__cpp_lib_expected) && defined(__glibcxx_want_expected) */ | |
1631 | #undef __glibcxx_want_expected | |
1632 | ||
cdf45e00 | 1633 | // from version.def line 1350 |
43626143 JW |
1634 | #if !defined(__cpp_lib_freestanding_algorithm) |
1635 | # if (__cplusplus >= 202100L) | |
1636 | # define __glibcxx_freestanding_algorithm 202311L | |
1637 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_freestanding_algorithm) | |
1638 | # define __cpp_lib_freestanding_algorithm 202311L | |
1639 | # endif | |
1640 | # endif | |
1641 | #endif /* !defined(__cpp_lib_freestanding_algorithm) && defined(__glibcxx_want_freestanding_algorithm) */ | |
1642 | #undef __glibcxx_want_freestanding_algorithm | |
1643 | ||
cdf45e00 | 1644 | // from version.def line 1359 |
43626143 JW |
1645 | #if !defined(__cpp_lib_freestanding_array) |
1646 | # if (__cplusplus >= 202100L) | |
1647 | # define __glibcxx_freestanding_array 202311L | |
1648 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_freestanding_array) | |
1649 | # define __cpp_lib_freestanding_array 202311L | |
1650 | # endif | |
1651 | # endif | |
1652 | #endif /* !defined(__cpp_lib_freestanding_array) && defined(__glibcxx_want_freestanding_array) */ | |
1653 | #undef __glibcxx_want_freestanding_array | |
1654 | ||
cdf45e00 | 1655 | // from version.def line 1368 |
7adb7c6e JW |
1656 | #if !defined(__cpp_lib_freestanding_cstring) |
1657 | # if (__cplusplus >= 202100L) | |
1658 | # define __glibcxx_freestanding_cstring 202311L | |
1659 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_freestanding_cstring) | |
1660 | # define __cpp_lib_freestanding_cstring 202311L | |
1661 | # endif | |
1662 | # endif | |
1663 | #endif /* !defined(__cpp_lib_freestanding_cstring) && defined(__glibcxx_want_freestanding_cstring) */ | |
1664 | #undef __glibcxx_want_freestanding_cstring | |
1665 | ||
cdf45e00 | 1666 | // from version.def line 1377 |
1fa85dcf JW |
1667 | #if !defined(__cpp_lib_freestanding_expected) |
1668 | # if (__cplusplus >= 202100L) && (__cpp_lib_expected) | |
1669 | # define __glibcxx_freestanding_expected 202311L | |
1670 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_freestanding_expected) | |
1671 | # define __cpp_lib_freestanding_expected 202311L | |
1672 | # endif | |
1673 | # endif | |
1674 | #endif /* !defined(__cpp_lib_freestanding_expected) && defined(__glibcxx_want_freestanding_expected) */ | |
1675 | #undef __glibcxx_want_freestanding_expected | |
1676 | ||
cdf45e00 | 1677 | // from version.def line 1387 |
43626143 JW |
1678 | #if !defined(__cpp_lib_freestanding_optional) |
1679 | # if (__cplusplus >= 202100L) | |
1680 | # define __glibcxx_freestanding_optional 202311L | |
1681 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_freestanding_optional) | |
1682 | # define __cpp_lib_freestanding_optional 202311L | |
1683 | # endif | |
1684 | # endif | |
1685 | #endif /* !defined(__cpp_lib_freestanding_optional) && defined(__glibcxx_want_freestanding_optional) */ | |
1686 | #undef __glibcxx_want_freestanding_optional | |
1687 | ||
cdf45e00 | 1688 | // from version.def line 1396 |
43626143 JW |
1689 | #if !defined(__cpp_lib_freestanding_string_view) |
1690 | # if (__cplusplus >= 202100L) | |
1691 | # define __glibcxx_freestanding_string_view 202311L | |
1692 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_freestanding_string_view) | |
1693 | # define __cpp_lib_freestanding_string_view 202311L | |
1694 | # endif | |
1695 | # endif | |
1696 | #endif /* !defined(__cpp_lib_freestanding_string_view) && defined(__glibcxx_want_freestanding_string_view) */ | |
1697 | #undef __glibcxx_want_freestanding_string_view | |
1698 | ||
cdf45e00 | 1699 | // from version.def line 1405 |
43626143 JW |
1700 | #if !defined(__cpp_lib_freestanding_variant) |
1701 | # if (__cplusplus >= 202100L) | |
1702 | # define __glibcxx_freestanding_variant 202311L | |
1703 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_freestanding_variant) | |
1704 | # define __cpp_lib_freestanding_variant 202311L | |
1705 | # endif | |
1706 | # endif | |
1707 | #endif /* !defined(__cpp_lib_freestanding_variant) && defined(__glibcxx_want_freestanding_variant) */ | |
1708 | #undef __glibcxx_want_freestanding_variant | |
1709 | ||
cdf45e00 | 1710 | // from version.def line 1414 |
b7b801b2 | 1711 | #if !defined(__cpp_lib_invoke_r) |
e469f900 | 1712 | # if (__cplusplus >= 202100L) |
b7b801b2 AA |
1713 | # define __glibcxx_invoke_r 202106L |
1714 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_invoke_r) | |
1715 | # define __cpp_lib_invoke_r 202106L | |
1716 | # endif | |
1717 | # endif | |
1718 | #endif /* !defined(__cpp_lib_invoke_r) && defined(__glibcxx_want_invoke_r) */ | |
1719 | #undef __glibcxx_want_invoke_r | |
1720 | ||
cdf45e00 | 1721 | // from version.def line 1422 |
b7b801b2 | 1722 | #if !defined(__cpp_lib_is_scoped_enum) |
e469f900 | 1723 | # if (__cplusplus >= 202100L) |
b7b801b2 AA |
1724 | # define __glibcxx_is_scoped_enum 202011L |
1725 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_is_scoped_enum) | |
1726 | # define __cpp_lib_is_scoped_enum 202011L | |
1727 | # endif | |
1728 | # endif | |
1729 | #endif /* !defined(__cpp_lib_is_scoped_enum) && defined(__glibcxx_want_is_scoped_enum) */ | |
1730 | #undef __glibcxx_want_is_scoped_enum | |
1731 | ||
cdf45e00 | 1732 | // from version.def line 1430 |
b7b801b2 | 1733 | #if !defined(__cpp_lib_reference_from_temporary) |
e469f900 | 1734 | # if (__cplusplus >= 202100L) && (__has_builtin(__reference_constructs_from_temporary) && __has_builtin(__reference_converts_from_temporary)) |
b7b801b2 AA |
1735 | # define __glibcxx_reference_from_temporary 202202L |
1736 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_reference_from_temporary) | |
1737 | # define __cpp_lib_reference_from_temporary 202202L | |
1738 | # endif | |
1739 | # endif | |
1740 | #endif /* !defined(__cpp_lib_reference_from_temporary) && defined(__glibcxx_want_reference_from_temporary) */ | |
1741 | #undef __glibcxx_want_reference_from_temporary | |
1742 | ||
cdf45e00 | 1743 | // from version.def line 1450 |
7a6a29c4 JW |
1744 | #if !defined(__cpp_lib_ranges_to_container) |
1745 | # if (__cplusplus >= 202100L) && _GLIBCXX_HOSTED | |
1746 | # define __glibcxx_ranges_to_container 202202L | |
1747 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_to_container) | |
1748 | # define __cpp_lib_ranges_to_container 202202L | |
b7b801b2 AA |
1749 | # endif |
1750 | # endif | |
7a6a29c4 JW |
1751 | #endif /* !defined(__cpp_lib_ranges_to_container) && defined(__glibcxx_want_ranges_to_container) */ |
1752 | #undef __glibcxx_want_ranges_to_container | |
b7b801b2 | 1753 | |
cdf45e00 | 1754 | // from version.def line 1459 |
b7b801b2 | 1755 | #if !defined(__cpp_lib_ranges_zip) |
e469f900 | 1756 | # if (__cplusplus >= 202100L) |
b7b801b2 AA |
1757 | # define __glibcxx_ranges_zip 202110L |
1758 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_zip) | |
1759 | # define __cpp_lib_ranges_zip 202110L | |
1760 | # endif | |
1761 | # endif | |
1762 | #endif /* !defined(__cpp_lib_ranges_zip) && defined(__glibcxx_want_ranges_zip) */ | |
1763 | #undef __glibcxx_want_ranges_zip | |
1764 | ||
cdf45e00 | 1765 | // from version.def line 1467 |
b7b801b2 | 1766 | #if !defined(__cpp_lib_ranges_chunk) |
e469f900 | 1767 | # if (__cplusplus >= 202100L) |
b7b801b2 AA |
1768 | # define __glibcxx_ranges_chunk 202202L |
1769 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_chunk) | |
1770 | # define __cpp_lib_ranges_chunk 202202L | |
1771 | # endif | |
1772 | # endif | |
1773 | #endif /* !defined(__cpp_lib_ranges_chunk) && defined(__glibcxx_want_ranges_chunk) */ | |
1774 | #undef __glibcxx_want_ranges_chunk | |
1775 | ||
cdf45e00 | 1776 | // from version.def line 1475 |
b7b801b2 | 1777 | #if !defined(__cpp_lib_ranges_slide) |
e469f900 | 1778 | # if (__cplusplus >= 202100L) |
b7b801b2 AA |
1779 | # define __glibcxx_ranges_slide 202202L |
1780 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_slide) | |
1781 | # define __cpp_lib_ranges_slide 202202L | |
1782 | # endif | |
1783 | # endif | |
1784 | #endif /* !defined(__cpp_lib_ranges_slide) && defined(__glibcxx_want_ranges_slide) */ | |
1785 | #undef __glibcxx_want_ranges_slide | |
1786 | ||
cdf45e00 | 1787 | // from version.def line 1483 |
b7b801b2 | 1788 | #if !defined(__cpp_lib_ranges_chunk_by) |
e469f900 | 1789 | # if (__cplusplus >= 202100L) |
b7b801b2 AA |
1790 | # define __glibcxx_ranges_chunk_by 202202L |
1791 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_chunk_by) | |
1792 | # define __cpp_lib_ranges_chunk_by 202202L | |
1793 | # endif | |
1794 | # endif | |
1795 | #endif /* !defined(__cpp_lib_ranges_chunk_by) && defined(__glibcxx_want_ranges_chunk_by) */ | |
1796 | #undef __glibcxx_want_ranges_chunk_by | |
1797 | ||
cdf45e00 | 1798 | // from version.def line 1491 |
b7b801b2 | 1799 | #if !defined(__cpp_lib_ranges_join_with) |
e469f900 | 1800 | # if (__cplusplus >= 202100L) |
b7b801b2 AA |
1801 | # define __glibcxx_ranges_join_with 202202L |
1802 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_join_with) | |
1803 | # define __cpp_lib_ranges_join_with 202202L | |
1804 | # endif | |
1805 | # endif | |
1806 | #endif /* !defined(__cpp_lib_ranges_join_with) && defined(__glibcxx_want_ranges_join_with) */ | |
1807 | #undef __glibcxx_want_ranges_join_with | |
1808 | ||
cdf45e00 | 1809 | // from version.def line 1499 |
b7b801b2 | 1810 | #if !defined(__cpp_lib_ranges_repeat) |
e469f900 | 1811 | # if (__cplusplus >= 202100L) |
b7b801b2 AA |
1812 | # define __glibcxx_ranges_repeat 202207L |
1813 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_repeat) | |
1814 | # define __cpp_lib_ranges_repeat 202207L | |
1815 | # endif | |
1816 | # endif | |
1817 | #endif /* !defined(__cpp_lib_ranges_repeat) && defined(__glibcxx_want_ranges_repeat) */ | |
1818 | #undef __glibcxx_want_ranges_repeat | |
1819 | ||
cdf45e00 | 1820 | // from version.def line 1507 |
b7b801b2 | 1821 | #if !defined(__cpp_lib_ranges_stride) |
e469f900 | 1822 | # if (__cplusplus >= 202100L) |
b7b801b2 AA |
1823 | # define __glibcxx_ranges_stride 202207L |
1824 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_stride) | |
1825 | # define __cpp_lib_ranges_stride 202207L | |
1826 | # endif | |
1827 | # endif | |
1828 | #endif /* !defined(__cpp_lib_ranges_stride) && defined(__glibcxx_want_ranges_stride) */ | |
1829 | #undef __glibcxx_want_ranges_stride | |
1830 | ||
cdf45e00 | 1831 | // from version.def line 1515 |
b7b801b2 | 1832 | #if !defined(__cpp_lib_ranges_cartesian_product) |
e469f900 | 1833 | # if (__cplusplus >= 202100L) |
b7b801b2 AA |
1834 | # define __glibcxx_ranges_cartesian_product 202207L |
1835 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_cartesian_product) | |
1836 | # define __cpp_lib_ranges_cartesian_product 202207L | |
1837 | # endif | |
1838 | # endif | |
1839 | #endif /* !defined(__cpp_lib_ranges_cartesian_product) && defined(__glibcxx_want_ranges_cartesian_product) */ | |
1840 | #undef __glibcxx_want_ranges_cartesian_product | |
1841 | ||
cdf45e00 | 1842 | // from version.def line 1523 |
b7b801b2 | 1843 | #if !defined(__cpp_lib_ranges_as_rvalue) |
e469f900 | 1844 | # if (__cplusplus >= 202100L) |
b7b801b2 AA |
1845 | # define __glibcxx_ranges_as_rvalue 202207L |
1846 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_as_rvalue) | |
1847 | # define __cpp_lib_ranges_as_rvalue 202207L | |
1848 | # endif | |
1849 | # endif | |
1850 | #endif /* !defined(__cpp_lib_ranges_as_rvalue) && defined(__glibcxx_want_ranges_as_rvalue) */ | |
1851 | #undef __glibcxx_want_ranges_as_rvalue | |
1852 | ||
cdf45e00 | 1853 | // from version.def line 1531 |
b7b801b2 | 1854 | #if !defined(__cpp_lib_ranges_as_const) |
e469f900 | 1855 | # if (__cplusplus >= 202100L) |
b7b801b2 AA |
1856 | # define __glibcxx_ranges_as_const 202207L |
1857 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_as_const) | |
1858 | # define __cpp_lib_ranges_as_const 202207L | |
1859 | # endif | |
1860 | # endif | |
1861 | #endif /* !defined(__cpp_lib_ranges_as_const) && defined(__glibcxx_want_ranges_as_const) */ | |
1862 | #undef __glibcxx_want_ranges_as_const | |
1863 | ||
cdf45e00 | 1864 | // from version.def line 1539 |
b7b801b2 | 1865 | #if !defined(__cpp_lib_ranges_enumerate) |
e469f900 | 1866 | # if (__cplusplus >= 202100L) |
b7b801b2 AA |
1867 | # define __glibcxx_ranges_enumerate 202302L |
1868 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_enumerate) | |
1869 | # define __cpp_lib_ranges_enumerate 202302L | |
1870 | # endif | |
1871 | # endif | |
1872 | #endif /* !defined(__cpp_lib_ranges_enumerate) && defined(__glibcxx_want_ranges_enumerate) */ | |
1873 | #undef __glibcxx_want_ranges_enumerate | |
1874 | ||
cdf45e00 | 1875 | // from version.def line 1547 |
b7b801b2 | 1876 | #if !defined(__cpp_lib_ranges_fold) |
e469f900 | 1877 | # if (__cplusplus >= 202100L) |
b7b801b2 AA |
1878 | # define __glibcxx_ranges_fold 202207L |
1879 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_fold) | |
1880 | # define __cpp_lib_ranges_fold 202207L | |
1881 | # endif | |
1882 | # endif | |
1883 | #endif /* !defined(__cpp_lib_ranges_fold) && defined(__glibcxx_want_ranges_fold) */ | |
1884 | #undef __glibcxx_want_ranges_fold | |
1885 | ||
cdf45e00 | 1886 | // from version.def line 1555 |
b7b801b2 | 1887 | #if !defined(__cpp_lib_ranges_contains) |
e469f900 | 1888 | # if (__cplusplus >= 202100L) |
b7b801b2 AA |
1889 | # define __glibcxx_ranges_contains 202207L |
1890 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_contains) | |
1891 | # define __cpp_lib_ranges_contains 202207L | |
1892 | # endif | |
1893 | # endif | |
1894 | #endif /* !defined(__cpp_lib_ranges_contains) && defined(__glibcxx_want_ranges_contains) */ | |
1895 | #undef __glibcxx_want_ranges_contains | |
1896 | ||
cdf45e00 | 1897 | // from version.def line 1563 |
b7b801b2 | 1898 | #if !defined(__cpp_lib_ranges_iota) |
e469f900 | 1899 | # if (__cplusplus >= 202100L) |
b7b801b2 AA |
1900 | # define __glibcxx_ranges_iota 202202L |
1901 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_iota) | |
1902 | # define __cpp_lib_ranges_iota 202202L | |
1903 | # endif | |
1904 | # endif | |
1905 | #endif /* !defined(__cpp_lib_ranges_iota) && defined(__glibcxx_want_ranges_iota) */ | |
1906 | #undef __glibcxx_want_ranges_iota | |
1907 | ||
cdf45e00 | 1908 | // from version.def line 1571 |
b7b801b2 | 1909 | #if !defined(__cpp_lib_ranges_find_last) |
e469f900 | 1910 | # if (__cplusplus >= 202100L) |
b7b801b2 AA |
1911 | # define __glibcxx_ranges_find_last 202207L |
1912 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_ranges_find_last) | |
1913 | # define __cpp_lib_ranges_find_last 202207L | |
1914 | # endif | |
1915 | # endif | |
1916 | #endif /* !defined(__cpp_lib_ranges_find_last) && defined(__glibcxx_want_ranges_find_last) */ | |
1917 | #undef __glibcxx_want_ranges_find_last | |
1918 | ||
cdf45e00 | 1919 | // from version.def line 1579 |
b7b801b2 | 1920 | #if !defined(__cpp_lib_constexpr_bitset) |
e469f900 | 1921 | # if (__cplusplus >= 202100L) && _GLIBCXX_HOSTED && (__cpp_constexpr_dynamic_alloc) |
b7b801b2 AA |
1922 | # define __glibcxx_constexpr_bitset 202202L |
1923 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_constexpr_bitset) | |
1924 | # define __cpp_lib_constexpr_bitset 202202L | |
1925 | # endif | |
1926 | # endif | |
1927 | #endif /* !defined(__cpp_lib_constexpr_bitset) && defined(__glibcxx_want_constexpr_bitset) */ | |
1928 | #undef __glibcxx_want_constexpr_bitset | |
1929 | ||
cdf45e00 | 1930 | // from version.def line 1589 |
b7b801b2 | 1931 | #if !defined(__cpp_lib_stdatomic_h) |
e469f900 | 1932 | # if (__cplusplus >= 202100L) |
b7b801b2 AA |
1933 | # define __glibcxx_stdatomic_h 202011L |
1934 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_stdatomic_h) | |
1935 | # define __cpp_lib_stdatomic_h 202011L | |
1936 | # endif | |
1937 | # endif | |
1938 | #endif /* !defined(__cpp_lib_stdatomic_h) && defined(__glibcxx_want_stdatomic_h) */ | |
1939 | #undef __glibcxx_want_stdatomic_h | |
1940 | ||
cdf45e00 | 1941 | // from version.def line 1597 |
b7b801b2 | 1942 | #if !defined(__cpp_lib_adaptor_iterator_pair_constructor) |
e469f900 | 1943 | # if (__cplusplus >= 202100L) && _GLIBCXX_HOSTED |
b7b801b2 AA |
1944 | # define __glibcxx_adaptor_iterator_pair_constructor 202106L |
1945 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_adaptor_iterator_pair_constructor) | |
1946 | # define __cpp_lib_adaptor_iterator_pair_constructor 202106L | |
1947 | # endif | |
1948 | # endif | |
1949 | #endif /* !defined(__cpp_lib_adaptor_iterator_pair_constructor) && defined(__glibcxx_want_adaptor_iterator_pair_constructor) */ | |
1950 | #undef __glibcxx_want_adaptor_iterator_pair_constructor | |
1951 | ||
cdf45e00 | 1952 | // from version.def line 1606 |
f1dd83b7 | 1953 | #if !defined(__cpp_lib_formatters) |
e469f900 | 1954 | # if (__cplusplus >= 202100L) && _GLIBCXX_HOSTED |
f1dd83b7 JW |
1955 | # define __glibcxx_formatters 202302L |
1956 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_formatters) | |
1957 | # define __cpp_lib_formatters 202302L | |
1958 | # endif | |
1959 | # endif | |
1960 | #endif /* !defined(__cpp_lib_formatters) && defined(__glibcxx_want_formatters) */ | |
1961 | #undef __glibcxx_want_formatters | |
1962 | ||
cdf45e00 | 1963 | // from version.def line 1615 |
55cf4f84 | 1964 | #if !defined(__cpp_lib_forward_like) |
e469f900 | 1965 | # if (__cplusplus >= 202100L) |
55cf4f84 JW |
1966 | # define __glibcxx_forward_like 202207L |
1967 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_forward_like) | |
1968 | # define __cpp_lib_forward_like 202207L | |
1969 | # endif | |
1970 | # endif | |
1971 | #endif /* !defined(__cpp_lib_forward_like) && defined(__glibcxx_want_forward_like) */ | |
1972 | #undef __glibcxx_want_forward_like | |
1973 | ||
cdf45e00 | 1974 | // from version.def line 1623 |
b7b801b2 | 1975 | #if !defined(__cpp_lib_ios_noreplace) |
e469f900 | 1976 | # if (__cplusplus >= 202100L) && _GLIBCXX_HOSTED |
b7b801b2 AA |
1977 | # define __glibcxx_ios_noreplace 202207L |
1978 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_ios_noreplace) | |
1979 | # define __cpp_lib_ios_noreplace 202207L | |
1980 | # endif | |
1981 | # endif | |
1982 | #endif /* !defined(__cpp_lib_ios_noreplace) && defined(__glibcxx_want_ios_noreplace) */ | |
1983 | #undef __glibcxx_want_ios_noreplace | |
1984 | ||
cdf45e00 | 1985 | // from version.def line 1632 |
b7b801b2 | 1986 | #if !defined(__cpp_lib_move_only_function) |
e469f900 | 1987 | # if (__cplusplus >= 202100L) && _GLIBCXX_HOSTED |
b7b801b2 AA |
1988 | # define __glibcxx_move_only_function 202110L |
1989 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_move_only_function) | |
1990 | # define __cpp_lib_move_only_function 202110L | |
1991 | # endif | |
1992 | # endif | |
1993 | #endif /* !defined(__cpp_lib_move_only_function) && defined(__glibcxx_want_move_only_function) */ | |
1994 | #undef __glibcxx_want_move_only_function | |
1995 | ||
cdf45e00 | 1996 | // from version.def line 1641 |
c7f6537d JW |
1997 | #if !defined(__cpp_lib_out_ptr) |
1998 | # if (__cplusplus >= 202100L) | |
1fa85dcf | 1999 | # define __glibcxx_out_ptr 202311L |
c7f6537d | 2000 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_out_ptr) |
1fa85dcf | 2001 | # define __cpp_lib_out_ptr 202311L |
c7f6537d JW |
2002 | # endif |
2003 | # endif | |
2004 | #endif /* !defined(__cpp_lib_out_ptr) && defined(__glibcxx_want_out_ptr) */ | |
2005 | #undef __glibcxx_want_out_ptr | |
2006 | ||
cdf45e00 | 2007 | // from version.def line 1649 |
fe54b577 JW |
2008 | #if !defined(__cpp_lib_print) |
2009 | # if (__cplusplus >= 202100L) && _GLIBCXX_HOSTED | |
2010 | # define __glibcxx_print 202211L | |
2011 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_print) | |
2012 | # define __cpp_lib_print 202211L | |
2013 | # endif | |
2014 | # endif | |
2015 | #endif /* !defined(__cpp_lib_print) && defined(__glibcxx_want_print) */ | |
2016 | #undef __glibcxx_want_print | |
2017 | ||
2018 | // from version.def line 1658 | |
b7b801b2 | 2019 | #if !defined(__cpp_lib_spanstream) |
e469f900 | 2020 | # if (__cplusplus >= 202100L) && _GLIBCXX_HOSTED && (__glibcxx_span) |
b7b801b2 AA |
2021 | # define __glibcxx_spanstream 202106L |
2022 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_spanstream) | |
2023 | # define __cpp_lib_spanstream 202106L | |
2024 | # endif | |
2025 | # endif | |
2026 | #endif /* !defined(__cpp_lib_spanstream) && defined(__glibcxx_want_spanstream) */ | |
2027 | #undef __glibcxx_want_spanstream | |
2028 | ||
fe54b577 | 2029 | // from version.def line 1668 |
b7b801b2 | 2030 | #if !defined(__cpp_lib_stacktrace) |
e469f900 | 2031 | # if (__cplusplus >= 202100L) && _GLIBCXX_HOSTED && (_GLIBCXX_HAVE_STACKTRACE) |
b7b801b2 AA |
2032 | # define __glibcxx_stacktrace 202011L |
2033 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_stacktrace) | |
2034 | # define __cpp_lib_stacktrace 202011L | |
2035 | # endif | |
2036 | # endif | |
2037 | #endif /* !defined(__cpp_lib_stacktrace) && defined(__glibcxx_want_stacktrace) */ | |
2038 | #undef __glibcxx_want_stacktrace | |
2039 | ||
fe54b577 | 2040 | // from version.def line 1678 |
b7b801b2 | 2041 | #if !defined(__cpp_lib_string_contains) |
e469f900 | 2042 | # if (__cplusplus >= 202100L) && _GLIBCXX_HOSTED |
b7b801b2 AA |
2043 | # define __glibcxx_string_contains 202011L |
2044 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_string_contains) | |
2045 | # define __cpp_lib_string_contains 202011L | |
2046 | # endif | |
2047 | # endif | |
2048 | #endif /* !defined(__cpp_lib_string_contains) && defined(__glibcxx_want_string_contains) */ | |
2049 | #undef __glibcxx_want_string_contains | |
2050 | ||
fe54b577 | 2051 | // from version.def line 1687 |
b7b801b2 | 2052 | #if !defined(__cpp_lib_string_resize_and_overwrite) |
e469f900 | 2053 | # if (__cplusplus >= 202100L) && _GLIBCXX_HOSTED |
b7b801b2 AA |
2054 | # define __glibcxx_string_resize_and_overwrite 202110L |
2055 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_string_resize_and_overwrite) | |
2056 | # define __cpp_lib_string_resize_and_overwrite 202110L | |
2057 | # endif | |
2058 | # endif | |
2059 | #endif /* !defined(__cpp_lib_string_resize_and_overwrite) && defined(__glibcxx_want_string_resize_and_overwrite) */ | |
2060 | #undef __glibcxx_want_string_resize_and_overwrite | |
2061 | ||
fe54b577 | 2062 | // from version.def line 1696 |
7a6a29c4 JW |
2063 | #if !defined(__cpp_lib_to_underlying) |
2064 | # if (__cplusplus >= 202100L) | |
2065 | # define __glibcxx_to_underlying 202102L | |
2066 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_to_underlying) | |
2067 | # define __cpp_lib_to_underlying 202102L | |
2068 | # endif | |
2069 | # endif | |
2070 | #endif /* !defined(__cpp_lib_to_underlying) && defined(__glibcxx_want_to_underlying) */ | |
2071 | #undef __glibcxx_want_to_underlying | |
2072 | ||
fe54b577 | 2073 | // from version.def line 1704 |
7a6a29c4 JW |
2074 | #if !defined(__cpp_lib_unreachable) |
2075 | # if (__cplusplus >= 202100L) | |
2076 | # define __glibcxx_unreachable 202202L | |
2077 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_unreachable) | |
2078 | # define __cpp_lib_unreachable 202202L | |
2079 | # endif | |
2080 | # endif | |
2081 | #endif /* !defined(__cpp_lib_unreachable) && defined(__glibcxx_want_unreachable) */ | |
2082 | #undef __glibcxx_want_unreachable | |
2083 | ||
fe54b577 | 2084 | // from version.def line 1712 |
c4baeaec JW |
2085 | #if !defined(__cpp_lib_fstream_native_handle) |
2086 | # if (__cplusplus > 202302L) && _GLIBCXX_HOSTED | |
2087 | # define __glibcxx_fstream_native_handle 202306L | |
2088 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_fstream_native_handle) | |
2089 | # define __cpp_lib_fstream_native_handle 202306L | |
2090 | # endif | |
2091 | # endif | |
2092 | #endif /* !defined(__cpp_lib_fstream_native_handle) && defined(__glibcxx_want_fstream_native_handle) */ | |
2093 | #undef __glibcxx_want_fstream_native_handle | |
2094 | ||
fe54b577 | 2095 | // from version.def line 1721 |
c47430bb JW |
2096 | #if !defined(__cpp_lib_ratio) |
2097 | # if (__cplusplus > 202302L) | |
2098 | # define __glibcxx_ratio 202306L | |
2099 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_ratio) | |
2100 | # define __cpp_lib_ratio 202306L | |
2101 | # endif | |
2102 | # endif | |
2103 | #endif /* !defined(__cpp_lib_ratio) && defined(__glibcxx_want_ratio) */ | |
2104 | #undef __glibcxx_want_ratio | |
2105 | ||
fe54b577 | 2106 | // from version.def line 1729 |
568eb2d2 JW |
2107 | #if !defined(__cpp_lib_saturation_arithmetic) |
2108 | # if (__cplusplus > 202302L) | |
2109 | # define __glibcxx_saturation_arithmetic 202311L | |
2110 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_saturation_arithmetic) | |
2111 | # define __cpp_lib_saturation_arithmetic 202311L | |
2112 | # endif | |
2113 | # endif | |
2114 | #endif /* !defined(__cpp_lib_saturation_arithmetic) && defined(__glibcxx_want_saturation_arithmetic) */ | |
2115 | #undef __glibcxx_want_saturation_arithmetic | |
2116 | ||
fe54b577 | 2117 | // from version.def line 1737 |
aeed687f JW |
2118 | #if !defined(__cpp_lib_to_string) |
2119 | # if (__cplusplus > 202302L) && _GLIBCXX_HOSTED && (__glibcxx_to_chars) | |
2120 | # define __glibcxx_to_string 202306L | |
2121 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_to_string) | |
2122 | # define __cpp_lib_to_string 202306L | |
2123 | # endif | |
2124 | # endif | |
2125 | #endif /* !defined(__cpp_lib_to_string) && defined(__glibcxx_want_to_string) */ | |
2126 | #undef __glibcxx_want_to_string | |
2127 | ||
ec2ec24a AA |
2128 | // from version.def line 1637 |
2129 | #if !defined(__cpp_lib_generator) | |
2130 | # if (__cplusplus >= 202302L) && (__glibcxx_coroutine) | |
2131 | # define __glibcxx_generator 202207L | |
2132 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_generator) | |
2133 | # define __cpp_lib_generator 202207L | |
2134 | # endif | |
2135 | # endif | |
2136 | #endif /* !defined(__cpp_lib_generator) && defined(__glibcxx_want_generator) */ | |
2137 | #undef __glibcxx_want_generator | |
2138 | ||
b7b801b2 | 2139 | #undef __glibcxx_want_all |