]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/cp/std-name-hint.gperf
Update copyright years.
[thirdparty/gcc.git] / gcc / cp / std-name-hint.gperf
CommitLineData
0c92f895
UD
1%language=C++
2%define class-name std_name_hint_lookup
3%struct-type
4%{
a2e28389 5/* This file is auto-generated by gen-cxxapi-file.py. */
a945c346 6/* Copyright (C) 2022-2024 Free Software Foundation, Inc.
0c92f895
UD
7
8This file is part of GCC.
9
10GCC is free software; you can redistribute it and/or modify it under
11the terms of the GNU General Public License as published by the Free
12Software Foundation; either version 3, or (at your option) any later
13version.
14
15GCC is distributed in the hope that it will be useful, but WITHOUT ANY
16WARRANTY; without even the implied warranty of MERCHANTABILITY or
17FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
18for more details.
19
20You should have received a copy of the GNU General Public License
21along with GCC; see the file COPYING3. If not see
22<http://www.gnu.org/licenses/>. */
23%}
24struct std_name_hint
25{
26 /* A name within "std::". */
27 const char *name;
28
29 /* The header name defining it within the C++ Standard Library
30 (with '<' and '>'). */
31 const char* header;
32
33 /* The dialect of C++ in which this was added. */
34 enum cxx_dialect min_dialect;
35};
36%%
37# The standard-defined types, functions, and options in the std:: namespace
38# as defined in the C++ language specification. The result is used in the
39# get_std_name_hint functions.
40# throws an exception.
41#
42# <any>
43any, "<any>", cxx17
44any_cast, "<any>", cxx17
45make_any, "<any>", cxx17
46# <array>
47array, "<array>", cxx11
48to_array, "<array>", cxx20
49# <atomic>
50atomic, "<atomic>", cxx11
0c92f895 51atomic_ref, "<atomic>", cxx20
a2e28389
UD
52atomic_signed_lock_free, "<atomic>", cxx11
53atomic_uintmax_t, "<atomic>", cxx20
54atomic_unsigned_lock_free, "<atomic>", cxx11
0c92f895
UD
55# <bitset>
56bitset, "<bitset>", cxx11
57# <compare>
0c92f895 58partial_ordering, "<compare>", cxx20
a2e28389 59strong_equality, "<compare>", cxx20
0c92f895 60strong_ordering, "<compare>", cxx20
a2e28389
UD
61weak_equality, "<compare>", cxx20
62weak_ordering, "<compare>", cxx20
0c92f895
UD
63# <complex>
64complex, "<complex>", cxx98
65complex_literals, "<complex>", cxx14
a2e28389 66# <condition_variable>
0c92f895
UD
67condition_variable, "<condition_variable>", cxx11
68condition_variable_any, "<condition_variable>", cxx11
69# <cstddef>
70byte, "<cstddef>", cxx17
a2e28389
UD
71# <cstdint>
72uint_fast16_t, "<cstdint>", cxx11
73uint_fast32_t, "<cstdint>", cxx11
74uint_fast64_t, "<cstdint>", cxx11
75uint_fast8_t, "<cstdint>", cxx11
76uint_least16_t, "<cstdint>", cxx11
77uint_least32_t, "<cstdint>", cxx11
78uint_least64_t, "<cstdint>", cxx11
79uint_least8_t, "<cstdint>", cxx11
80uintmax_t, "<cstdint>", cxx11
81uintptr_t, "<cstdint>", cxx11
0c92f895
UD
82# <deque>
83deque, "<deque>", cxx98
a2e28389
UD
84# <exception>
85current_exception, "<exception>", cxx11
86exception, "<exception>", cxx98
87exception_ptr, "<exception>", cxx11
88make_exception_ptr, "<exception>", cxx11
89terminate, "<exception>", cxx98
90uncaught_exceptions, "<exception>", cxx17
91# <expected>
92expected, "<expected>", cxx23
0c92f895
UD
93# <forward_list>
94forward_list, "<forward_list>", cxx11
95# <fstream>
96basic_filebuf, "<fstream>", cxx98
a2e28389 97basic_fstream, "<fstream>", cxx98
0c92f895
UD
98basic_ifstream, "<fstream>", cxx98
99basic_ofstream, "<fstream>", cxx98
0c92f895
UD
100fstream, "<fstream>", cxx98
101ifstream, "<fstream>", cxx98
102ofstream, "<fstream>", cxx98
103# <functional>
104bind, "<functional>", cxx11
105bind_front, "<functional>", cxx20
106function, "<functional>", cxx11
107hash, "<functional>", cxx11
108invoke, "<functional>", cxx17
a2e28389 109invoke_r, "<functional>", cxx23
0c92f895
UD
110mem_fn, "<functional>", cxx11
111not_fn, "<functional>", cxx17
112reference_wrapper, "<functional>", cxx11
0c92f895
UD
113unwrap_ref_decay, "<functional>", cxx20
114unwrap_ref_decay_t, "<functional>", cxx20
a2e28389
UD
115unwrap_reference, "<functional>", cxx20
116unwrap_reference_t, "<functional>", cxx20
117# <future>
0c92f895
UD
118async, "<future>", cxx11
119future, "<future>", cxx11
120packaged_task, "<future>", cxx11
121promise, "<future>", cxx11
122# <iomanip>
a2e28389
UD
123get_money, "<iomanip>", cxx11
124get_time, "<iomanip>", cxx11
125put_money, "<iomanip>", cxx11
126put_time, "<iomanip>", cxx11
127quoted, "<iomanip>", cxx14
0c92f895 128resetiosflags, "<iomanip>", cxx98
0c92f895
UD
129setbase, "<iomanip>", cxx98
130setfill, "<iomanip>", cxx98
a2e28389 131setiosflags, "<iomanip>", cxx98
0c92f895
UD
132setprecision, "<iomanip>", cxx98
133setw, "<iomanip>", cxx98
0c92f895
UD
134# <ios>
135boolalpha, "<ios>", cxx98
a2e28389
UD
136dec, "<ios>", cxx98
137defaultfloat, "<ios>", cxx11
138fixed, "<ios>", cxx98
139hex, "<ios>", cxx98
140hexfloat, "<ios>", cxx11
141internal, "<ios>", cxx98
142left, "<ios>", cxx98
0c92f895 143noboolalpha, "<ios>", cxx98
0c92f895 144noshowbase, "<ios>", cxx98
0c92f895 145noshowpoint, "<ios>", cxx98
0c92f895 146noshowpos, "<ios>", cxx98
0c92f895 147noskipws, "<ios>", cxx98
0c92f895 148nounitbuf, "<ios>", cxx98
a2e28389 149nouppercase, "<ios>", cxx98
0c92f895 150oct, "<ios>", cxx98
a2e28389 151right, "<ios>", cxx98
0c92f895 152scientific, "<ios>", cxx98
a2e28389
UD
153showbase, "<ios>", cxx98
154showpoint, "<ios>", cxx98
155showpos, "<ios>", cxx98
156skipws, "<ios>", cxx98
157unitbuf, "<ios>", cxx98
158uppercase, "<ios>", cxx98
0c92f895 159# <iostream>
0c92f895 160cerr, "<iostream>", cxx98
a2e28389 161cin, "<iostream>", cxx98
0c92f895 162clog, "<iostream>", cxx98
a2e28389
UD
163cout, "<iostream>", cxx98
164wcerr, "<iostream>", cxx98
0c92f895 165wcin, "<iostream>", cxx98
0c92f895 166wclog, "<iostream>", cxx98
a2e28389 167wcout, "<iostream>", cxx98
0c92f895
UD
168# <istream>
169istream, "<istream>", cxx98
170ws, "<istream>", cxx98
171# <iterator>
172advance, "<iterator>", cxx98
173back_inserter, "<iterator>", cxx98
174begin, "<iterator>", cxx11
175distance, "<iterator>", cxx98
176end, "<iterator>", cxx11
177front_inserter, "<iterator>", cxx98
178inserter, "<iterator>", cxx98
179istream_iterator, "<iterator>", cxx98
180istreambuf_iterator, "<iterator>", cxx98
181iterator_traits, "<iterator>", cxx98
182move_iterator, "<iterator>", cxx11
183next, "<iterator>", cxx11
184ostream_iterator, "<iterator>", cxx98
185ostreambuf_iterator, "<iterator>", cxx98
186prev, "<iterator>", cxx11
187reverse_iterator, "<iterator>", cxx98
0c92f895
UD
188# <list>
189list, "<list>", cxx98
190# <map>
191map, "<map>", cxx98
192multimap, "<map>", cxx98
193# <memory>
a2e28389
UD
194addressof, "<memory>", cxx11
195align, "<memory>", cxx11
0c92f895 196allocate_shared, "<memory>", cxx11
a2e28389 197allocate_shared_for_overwrite, "<memory>", cxx20
0c92f895 198allocator, "<memory>", cxx98
a2e28389
UD
199allocator_arg, "<memory>", cxx11
200allocator_arg_t, "<memory>", cxx11
0c92f895 201allocator_traits, "<memory>", cxx11
a2e28389
UD
202assume_aligned, "<memory>", cxx20
203bad_weak_ptr, "<memory>", cxx11
204const_pointer_cast, "<memory>", cxx11
205construct_at, "<memory>", cxx20
206default_delete, "<memory>", cxx11
207destroy, "<memory>", cxx20
208destroy_at, "<memory>", cxx20
209destroy_n, "<memory>", cxx20
210dynamic_pointer_cast, "<memory>", cxx11
211enable_shared_from_this, "<memory>", cxx11
212get_deleter, "<memory>", cxx11
213make_obj_using_allocator, "<memory>", cxx20
0c92f895 214make_shared, "<memory>", cxx11
a2e28389 215make_shared_for_overwrite, "<memory>", cxx20
0c92f895 216make_unique, "<memory>", cxx14
a2e28389
UD
217make_unique_for_overwrite, "<memory>", cxx20
218owner_less, "<memory>", cxx11
219pointer_traits, "<memory>", cxx11
220reinterpret_pointer_cast, "<memory>", cxx17
0c92f895 221shared_ptr, "<memory>", cxx11
a2e28389
UD
222static_pointer_cast, "<memory>", cxx11
223to_address, "<memory>", cxx11
224uninitialized_construct_using_allocator, "<memory>", cxx20
0c92f895 225unique_ptr, "<memory>", cxx11
a2e28389
UD
226uses_allocator, "<memory>", cxx11
227uses_allocator_construction_args, "<memory>", cxx20
228uses_allocator_v, "<memory>", cxx17
0c92f895
UD
229weak_ptr, "<memory>", cxx11
230# <memory_resource>
231pmr, "<memory_resource>", cxx17
a2e28389
UD
232pmr::get_default_resource, "<memory_resource>", cxx17
233pmr::memory_resource, "<memory_resource>", cxx17
234pmr::monotonic_buffer_resource, "<memory_resource>", cxx17
235pmr::new_delete_resource, "<memory_resource>", cxx17
236pmr::polymorphic_allocator, "<memory_resource>", cxx17
237pmr::pool_options, "<memory_resource>", cxx17
238pmr::set_default_resource, "<memory_resource>", cxx17
239pmr::synchronized_pool_resource, "<memory_resource>", cxx17
240pmr::unsynchronized_pool_resource, "<memory_resource>", cxx17
0c92f895 241# <mutex>
a2e28389
UD
242call_once, "<mutex>", cxx11
243lock, "<mutex>", cxx11
244lock_guard, "<mutex>", cxx11
0c92f895 245mutex, "<mutex>", cxx11
a2e28389 246once_flag, "<mutex>", cxx11
0c92f895
UD
247recursive_mutex, "<mutex>", cxx11
248recursive_timed_mutex, "<mutex>", cxx11
0c92f895 249scoped_lock, "<mutex>", cxx17
a2e28389 250timed_mutex, "<mutex>", cxx11
0c92f895 251try_lock, "<mutex>", cxx11
0c92f895 252unique_lock, "<mutex>", cxx11
a2e28389
UD
253# <new>
254bad_alloc, "<new>", cxx98
255hardware_constructive_interference_size, "<new>", cxx17
256hardware_destructive_interference_size, "<new>", cxx17
257launder, "<new>", cxx17
258nothrow, "<new>", cxx98
259nothrow_t, "<new>", cxx98
260# <numbers>
261numbers::e_v, "<numbers>", cxx20
262numbers::egamma_v, "<numbers>", cxx20
263numbers::inv_pi_v, "<numbers>", cxx20
264numbers::inv_sqrt3_v, "<numbers>", cxx20
265numbers::inv_sqrtpi_v, "<numbers>", cxx20
266numbers::ln10_v, "<numbers>", cxx20
267numbers::ln2_v, "<numbers>", cxx20
268numbers::log10e_v, "<numbers>", cxx20
269numbers::log2e_v, "<numbers>", cxx20
270numbers::phi_v, "<numbers>", cxx20
271numbers::pi_v, "<numbers>", cxx20
272numbers::sqrt2_v, "<numbers>", cxx20
273numbers::sqrt3_v, "<numbers>", cxx20
274# <optional>
0c92f895 275make_optional, "<optional>", cxx17
a2e28389
UD
276nullopt, "<optional>", cxx17
277optional, "<optional>", cxx17
0c92f895 278# <ostream>
a2e28389
UD
279emit_on_flush, "<ostream>", cxx20
280endl, "<ostream>", cxx98
0c92f895
UD
281ends, "<ostream>", cxx98
282flush, "<ostream>", cxx98
a2e28389
UD
283flush_emit, "<ostream>", cxx20
284noemit_on_flush, "<ostream>", cxx20
285ostream, "<ostream>", cxx98
286wostream, "<ostream>", cxx98
0c92f895 287# <queue>
0c92f895 288priority_queue, "<queue>", cxx98
a2e28389
UD
289queue, "<queue>", cxx98
290# <ranges>
291ranges::enable_borrowed_range, "<ranges>", cxx20
292ranges::enable_view, "<ranges>", cxx20
293# <scoped_allocator>
294scoped_allocator_adaptor, "<scoped_allocator>", cxx11
295# <semaphore>
296binary_semaphore, "<semaphore>", cxx20
297counting_semaphore, "<semaphore>", cxx20
0c92f895 298# <set>
0c92f895 299multiset, "<set>", cxx98
a2e28389 300set, "<set>", cxx98
0c92f895
UD
301# <shared_mutex>
302shared_lock, "<shared_mutex>", cxx14
303shared_mutex, "<shared_mutex>", cxx17
304shared_timed_mutex, "<shared_mutex>", cxx14
305# <source_location>
306source_location, "<source_location>", cxx20
a2e28389
UD
307# <span>
308span, "<span>", cxx20
309# <spanstream>
310basic_ispanstream, "<spanstream>", cxx23
311basic_ospanstream, "<spanstream>", cxx23
312basic_spanbuf, "<spanstream>", cxx23
313basic_spanstream, "<spanstream>", cxx23
314ispanstream, "<spanstream>", cxx23
315ispanstream, "<spanstream>", cxx23
316ospanstream, "<spanstream>", cxx23
317spanbuf, "<spanstream>", cxx23
318spanstream, "<spanstream>", cxx23
319wispanstream, "<spanstream>", cxx23
320wospanstream, "<spanstream>", cxx23
321wspanbuf, "<spanstream>", cxx23
0c92f895 322# <sstream>
0c92f895
UD
323basic_istringstream, "<sstream>", cxx98
324basic_ostringstream, "<sstream>", cxx98
a2e28389 325basic_stringbuf, "<sstream>", cxx98
0c92f895
UD
326basic_stringstream, "<sstream>", cxx98
327istringstream, "<sstream>", cxx98
a2e28389 328istringstream, "<sstream>", cxx98
0c92f895 329ostringstream, "<sstream>", cxx98
a2e28389 330stringbuf, "<sstream>", cxx98
0c92f895 331stringstream, "<sstream>", cxx98
a2e28389
UD
332wistringstream, "<sstream>", cxx98
333wostringstream, "<sstream>", cxx98
334wstringbuf, "<sstream>", cxx98
0c92f895
UD
335# <stack>
336stack, "<stack>", cxx98
a2e28389
UD
337# <stacktrace>
338stacktrace, "<stacktrace>", cxx23
339# <stdexcept>
340domain_error, "<stdexcept>", cxx98
341invalid_argument, "<stdexcept>", cxx98
342length_error, "<stdexcept>", cxx98
343logic_error, "<stdexcept>", cxx98
344out_of_range, "<stdexcept>", cxx98
345overflow_error, "<stdexcept>", cxx98
346range_error, "<stdexcept>", cxx98
347runtime_error, "<stdexcept>", cxx98
348underflow_error, "<stdexcept>", cxx98
349# <stop_token>
350stop_callback, "<stop_token>", cxx20
351stop_source, "<stop_token>", cxx20
352stop_token, "<stop_token>", cxx20
353# <streambuf>
354basic_streambuf, "<streambuf>", cxx98
355streambuf, "<streambuf>", cxx98
356wstreambuf, "<streambuf>", cxx98
0c92f895
UD
357# <string>
358basic_string, "<string>", cxx98
a2e28389
UD
359char_traits, "<string>", cxx98
360stod, "<string>", cxx11
361stof, "<string>", cxx11
362stoi, "<string>", cxx11
363stol, "<string>", cxx11
364stold, "<string>", cxx11
365stoll, "<string>", cxx11
366stoul, "<string>", cxx11
367stoull, "<string>", cxx11
0c92f895 368string, "<string>", cxx98
a2e28389
UD
369to_string, "<string>", cxx17
370to_wstring, "<string>", cxx17
0c92f895
UD
371u16string, "<string>", cxx11
372u32string, "<string>", cxx11
a2e28389
UD
373u8string, "<string>", cxx20
374wstring, "<string>", cxx98
0c92f895
UD
375# <string_view>
376basic_string_view, "<string_view>", cxx17
377string_view, "<string_view>", cxx17
a2e28389
UD
378# <system_error>
379errc, "<system_error>", cxx11
380error_category, "<system_error>", cxx11
381error_code, "<system_error>", cxx11
382error_condition, "<system_error>", cxx11
383generic_category, "<system_error>", cxx11
384is_error_code_enum, "<system_error>", cxx11
385is_error_code_enum_v, "<system_error>", cxx17
386is_error_condition_enum, "<system_error>", cxx11
387is_error_condition_enum_v, "<system_error>", cxx17
388make_error_code, "<system_error>", cxx11
389make_error_condition, "<system_error>", cxx11
390system_category, "<system_error>", cxx11
0c92f895 391# <thread>
a2e28389 392jthread, "<thread>", cxx20
0c92f895 393this_thread, "<thread>", cxx11
a2e28389 394thread, "<thread>", cxx11
0c92f895
UD
395# <tuple>
396apply, "<tuple>", cxx17
397forward_as_tuple, "<tuple>", cxx11
398make_from_tuple, "<tuple>", cxx17
399make_tuple, "<tuple>", cxx11
400tie, "<tuple>", cxx11
401tuple, "<tuple>", cxx11
402tuple_cat, "<tuple>", cxx11
403tuple_element, "<tuple>", cxx11
404tuple_element_t, "<tuple>", cxx14
405tuple_size, "<tuple>", cxx11
406tuple_size_v, "<tuple>", cxx17
407# <type_traits>
a2e28389
UD
408conjunction, "<type_traits>", cxx17
409conjunction_v, "<type_traits>", cxx17
410disjunction, "<type_traits>", cxx17
411disjunction_v, "<type_traits>", cxx17
0c92f895
UD
412enable_if, "<type_traits>", cxx11
413enable_if_t, "<type_traits>", cxx14
414invoke_result, "<type_traits>", cxx17
415invoke_result_t, "<type_traits>", cxx17
a2e28389
UD
416negation, "<type_traits>", cxx17
417negation_v, "<type_traits>", cxx17
0c92f895
UD
418remove_cvref, "<type_traits>", cxx20
419remove_cvref_t, "<type_traits>", cxx20
420type_identity, "<type_traits>", cxx20
421type_identity_t, "<type_traits>", cxx20
422void_t, "<type_traits>", cxx17
a2e28389
UD
423# <typeindex>
424type_index, "<typeindex>", cxx11
425# <typeinfo>
426bad_cast, "<typeinfo>", cxx98
427bad_typeid, "<typeinfo>", cxx98
0c92f895
UD
428# <unordered_map>
429unordered_map, "<unordered_map>", cxx11
430unordered_multimap, "<unordered_map>", cxx11
431# <unordered_set>
0c92f895 432unordered_multiset, "<unordered_set>", cxx11
a2e28389 433unordered_set, "<unordered_set>", cxx11
0c92f895 434# <utility>
a2e28389
UD
435as_const, "<utility>", cxx17
436cmp_equal, "<utility>", cxx20
437cmp_greater, "<utility>", cxx20
438cmp_greater_equal, "<utility>", cxx20
439cmp_less, "<utility>", cxx20
440cmp_less_equal, "<utility>", cxx20
441cmp_not_equal, "<utility>", cxx20
0c92f895 442declval, "<utility>", cxx11
a2e28389 443exchange, "<utility>", cxx14
0c92f895 444forward, "<utility>", cxx11
a2e28389
UD
445in_place, "<utility>", cxx17
446in_place_index, "<utility>", cxx17
447in_place_index_t, "<utility>", cxx17
448in_place_t, "<utility>", cxx17
449in_place_type, "<utility>", cxx17
450in_place_type_t, "<utility>", cxx17
451in_range, "<utility>", cxx20
452index_sequence, "<utility>", cxx14
453index_sequence_for, "<utility>", cxx14
454integer_sequence, "<utility>", cxx14
455make_index_sequence, "<utility>", cxx14
456make_integer_sequence, "<utility>", cxx14
0c92f895
UD
457make_pair, "<utility>", cxx98
458move, "<utility>", cxx11
a2e28389 459move_if_noexcept, "<utility>", cxx11
0c92f895 460pair, "<utility>", cxx98
a2e28389
UD
461piecewise_construct, "<utility>", cxx11
462piecewise_construct_t, "<utility>", cxx11
463to_underlying, "<utility>", cxx23
464unreachable, "<utility>", cxx23
0c92f895 465# <variant>
a2e28389
UD
466bad_variant_access, "<variant>", cxx17
467holds_alternative, "<variant>", cxx17
468monostate, "<variant>", cxx17
0c92f895 469variant, "<variant>", cxx17
a2e28389
UD
470variant_alternative, "<variant>", cxx17
471variant_alternative_t, "<variant>", cxx17
472variant_npos, "<variant>", cxx17
473variant_size, "<variant>", cxx17
474variant_size_v, "<variant>", cxx17
0c92f895
UD
475visit, "<variant>", cxx17
476# <vector>
477vector, "<vector>", cxx98