xref: /freebsd/lib/libc++/module.modulemap (revision 00bee6fcd77f7812e967f85d1cacbc349ff312b3)
1770cf0a5SDimitry Andric// This module contains headers related to the configuration of the library. These headers
2770cf0a5SDimitry Andric// are free of any dependency on the rest of libc++.
3770cf0a5SDimitry Andricmodule std_config [system] {
4770cf0a5SDimitry Andric   // generated via CMake
5770cf0a5SDimitry Andric  textual header "__config"
6770cf0a5SDimitry Andric  textual header "__configuration/abi.h"
7770cf0a5SDimitry Andric  textual header "__configuration/availability.h"
8770cf0a5SDimitry Andric  textual header "__configuration/compiler.h"
9770cf0a5SDimitry Andric  textual header "__configuration/language.h"
10770cf0a5SDimitry Andric  textual header "__configuration/platform.h"
11770cf0a5SDimitry Andric  textual header "version"
12770cf0a5SDimitry Andric}
13770cf0a5SDimitry Andric
14770cf0a5SDimitry Andricmodule std_core [system] {
15770cf0a5SDimitry Andric  module cstddef {
16770cf0a5SDimitry Andric    module byte         { header "__cstddef/byte.h" }
17770cf0a5SDimitry Andric    module max_align_t  {
18770cf0a5SDimitry Andric      header "__cstddef/max_align_t.h"
19770cf0a5SDimitry Andric      export *
20770cf0a5SDimitry Andric    }
21770cf0a5SDimitry Andric    module nullptr_t    { header "__cstddef/nullptr_t.h" }
22770cf0a5SDimitry Andric    module ptrdiff_t    { header "__cstddef/ptrdiff_t.h" }
23770cf0a5SDimitry Andric    module size_t       { header "__cstddef/size_t.h" }
24770cf0a5SDimitry Andric  }
25770cf0a5SDimitry Andric
26770cf0a5SDimitry Andric  module cstdint {
27770cf0a5SDimitry Andric    header "cstdint"
28770cf0a5SDimitry Andric    export *
29770cf0a5SDimitry Andric  }
30770cf0a5SDimitry Andric
31770cf0a5SDimitry Andric  module fwd {
32770cf0a5SDimitry Andric    module byte         { header "__fwd/byte.h" }
33770cf0a5SDimitry Andric    module functional   { header "__fwd/functional.h" }
34770cf0a5SDimitry Andric    module pair         { header "__fwd/pair.h" }
35770cf0a5SDimitry Andric    module tuple        { header "__fwd/tuple.h" }
36770cf0a5SDimitry Andric  }
37770cf0a5SDimitry Andric
38770cf0a5SDimitry Andric  module limits {
39770cf0a5SDimitry Andric    header "limits"
40770cf0a5SDimitry Andric    export *
41770cf0a5SDimitry Andric  }
42770cf0a5SDimitry Andric
43770cf0a5SDimitry Andric  module math {
44770cf0a5SDimitry Andric    module abs                              { header "__math/abs.h" }
45770cf0a5SDimitry Andric    module copysign                         { header "__math/copysign.h" }
46770cf0a5SDimitry Andric    module error_functions                  { header "__math/error_functions.h" }
47770cf0a5SDimitry Andric    module exponential_functions            { header "__math/exponential_functions.h" }
48770cf0a5SDimitry Andric    module fdim                             { header "__math/fdim.h" }
49770cf0a5SDimitry Andric    module fma                              { header "__math/fma.h" }
50770cf0a5SDimitry Andric    module gamma                            { header "__math/gamma.h" }
51770cf0a5SDimitry Andric    module hyperbolic_functions             { header "__math/hyperbolic_functions.h" }
52770cf0a5SDimitry Andric    module hypot                            { header "__math/hypot.h" }
53770cf0a5SDimitry Andric    module inverse_hyperbolic_functions     { header "__math/inverse_hyperbolic_functions.h" }
54770cf0a5SDimitry Andric    module inverse_trigonometric_functions  { header "__math/inverse_trigonometric_functions.h" }
55770cf0a5SDimitry Andric    module logarithms                       { header "__math/logarithms.h" }
56770cf0a5SDimitry Andric    module min_max                          { header "__math/min_max.h" }
57770cf0a5SDimitry Andric    module modulo                           { header "__math/modulo.h" }
58770cf0a5SDimitry Andric    module remainder                        { header "__math/remainder.h" }
59770cf0a5SDimitry Andric    module roots                            { header "__math/roots.h" }
60770cf0a5SDimitry Andric    module rounding_functions               { header "__math/rounding_functions.h" }
61770cf0a5SDimitry Andric    module special_functions                { header "__math/special_functions.h" }
62770cf0a5SDimitry Andric    module traits                           { header "__math/traits.h" }
63770cf0a5SDimitry Andric    module trigonometric_functions          { header "__math/trigonometric_functions.h" }
64770cf0a5SDimitry Andric  }
65770cf0a5SDimitry Andric
66770cf0a5SDimitry Andric  module type_traits {
67770cf0a5SDimitry Andric    module add_cv_quals                               { header "__type_traits/add_cv_quals.h" }
68770cf0a5SDimitry Andric    module add_pointer                                { header "__type_traits/add_pointer.h" }
69770cf0a5SDimitry Andric    module add_reference                              { header "__type_traits/add_reference.h" }
70770cf0a5SDimitry Andric    module aligned_storage                            { header "__type_traits/aligned_storage.h" }
71770cf0a5SDimitry Andric    module aligned_union                              { header "__type_traits/aligned_union.h" }
72770cf0a5SDimitry Andric    module alignment_of                               { header "__type_traits/alignment_of.h" }
73770cf0a5SDimitry Andric    module can_extract_key                            { header "__type_traits/can_extract_key.h" }
74770cf0a5SDimitry Andric    module common_reference                           { header "__type_traits/common_reference.h" }
75770cf0a5SDimitry Andric    module common_type {
76770cf0a5SDimitry Andric      header "__type_traits/common_type.h"
77770cf0a5SDimitry Andric      // We need to export those because common_type inherits from either of those based on __builtin_common_type.
78770cf0a5SDimitry Andric      export std_core.type_traits.type_identity
79770cf0a5SDimitry Andric      export std_core.utility_core.empty
80770cf0a5SDimitry Andric    }
81770cf0a5SDimitry Andric    module conditional                                { header "__type_traits/conditional.h" }
82770cf0a5SDimitry Andric    module conjunction                                { header "__type_traits/conjunction.h" }
83770cf0a5SDimitry Andric    module container_traits                           { header "__type_traits/container_traits.h" }
84770cf0a5SDimitry Andric    module copy_cv                                    { header "__type_traits/copy_cv.h" }
85770cf0a5SDimitry Andric    module copy_cvref                                 { header "__type_traits/copy_cvref.h" }
86770cf0a5SDimitry Andric    module datasizeof                                 { header "__type_traits/datasizeof.h" }
87770cf0a5SDimitry Andric    module decay                                      { header "__type_traits/decay.h" }
88770cf0a5SDimitry Andric    module dependent_type                             { header "__type_traits/dependent_type.h" }
89770cf0a5SDimitry Andric    module desugars_to                                { header "__type_traits/desugars_to.h" }
90770cf0a5SDimitry Andric    module detected_or                                { header "__type_traits/detected_or.h" }
91770cf0a5SDimitry Andric    module disjunction                                { header "__type_traits/disjunction.h" }
92770cf0a5SDimitry Andric    module enable_if                                  { header "__type_traits/enable_if.h" }
93770cf0a5SDimitry Andric    module extent                                     { header "__type_traits/extent.h" }
94770cf0a5SDimitry Andric    module has_unique_object_representation           { header "__type_traits/has_unique_object_representation.h" }
95770cf0a5SDimitry Andric    module has_virtual_destructor                     { header "__type_traits/has_virtual_destructor.h" }
96770cf0a5SDimitry Andric    module integer_traits                             { header "__type_traits/integer_traits.h" }
97770cf0a5SDimitry Andric    module integral_constant                          { header "__type_traits/integral_constant.h" }
98770cf0a5SDimitry Andric    module invoke                                     { header "__type_traits/invoke.h" }
99770cf0a5SDimitry Andric    module is_abstract {
100770cf0a5SDimitry Andric      header "__type_traits/is_abstract.h"
101770cf0a5SDimitry Andric      export std_core.type_traits.integral_constant
102770cf0a5SDimitry Andric    }
103770cf0a5SDimitry Andric    module is_aggregate {
104770cf0a5SDimitry Andric      header "__type_traits/is_aggregate.h"
105770cf0a5SDimitry Andric      export std_core.type_traits.integral_constant
106770cf0a5SDimitry Andric    }
107770cf0a5SDimitry Andric    module is_allocator {
108770cf0a5SDimitry Andric      header "__type_traits/is_allocator.h"
109770cf0a5SDimitry Andric      export std_core.type_traits.integral_constant
110770cf0a5SDimitry Andric    }
111770cf0a5SDimitry Andric    module is_always_bitcastable {
112770cf0a5SDimitry Andric      header "__type_traits/is_always_bitcastable.h"
113770cf0a5SDimitry Andric      export std_core.type_traits.integral_constant
114770cf0a5SDimitry Andric    }
115770cf0a5SDimitry Andric    module is_arithmetic {
116770cf0a5SDimitry Andric      header "__type_traits/is_arithmetic.h"
117770cf0a5SDimitry Andric      export std_core.type_traits.integral_constant
118770cf0a5SDimitry Andric    }
119770cf0a5SDimitry Andric    module is_array {
120770cf0a5SDimitry Andric      header "__type_traits/is_array.h"
121770cf0a5SDimitry Andric      export std_core.type_traits.integral_constant
122770cf0a5SDimitry Andric    }
123770cf0a5SDimitry Andric    module is_assignable {
124770cf0a5SDimitry Andric      header "__type_traits/is_assignable.h"
125770cf0a5SDimitry Andric      export std_core.type_traits.integral_constant
126770cf0a5SDimitry Andric    }
127770cf0a5SDimitry Andric    module is_base_of {
128770cf0a5SDimitry Andric      header "__type_traits/is_base_of.h"
129770cf0a5SDimitry Andric      export std_core.type_traits.integral_constant
130770cf0a5SDimitry Andric    }
131770cf0a5SDimitry Andric    module is_bounded_array {
132770cf0a5SDimitry Andric      header "__type_traits/is_bounded_array.h"
133770cf0a5SDimitry Andric      export std_core.type_traits.integral_constant
134770cf0a5SDimitry Andric    }
135770cf0a5SDimitry Andric    module is_callable {
136770cf0a5SDimitry Andric      header "__type_traits/is_callable.h"
137770cf0a5SDimitry Andric      export std_core.type_traits.integral_constant
138770cf0a5SDimitry Andric    }
139770cf0a5SDimitry Andric    module is_char_like_type {
140770cf0a5SDimitry Andric      header "__type_traits/is_char_like_type.h"
141770cf0a5SDimitry Andric      export std_core.type_traits.integral_constant
142770cf0a5SDimitry Andric    }
143770cf0a5SDimitry Andric    module is_class {
144770cf0a5SDimitry Andric      header "__type_traits/is_class.h"
145770cf0a5SDimitry Andric      export std_core.type_traits.integral_constant
146770cf0a5SDimitry Andric    }
147770cf0a5SDimitry Andric    module is_compound {
148770cf0a5SDimitry Andric      header "__type_traits/is_compound.h"
149770cf0a5SDimitry Andric      export std_core.type_traits.integral_constant
150770cf0a5SDimitry Andric    }
151770cf0a5SDimitry Andric    module is_const {
152770cf0a5SDimitry Andric      header "__type_traits/is_const.h"
153770cf0a5SDimitry Andric      export std_core.type_traits.integral_constant
154770cf0a5SDimitry Andric    }
155770cf0a5SDimitry Andric    module is_constant_evaluated {
156770cf0a5SDimitry Andric      header "__type_traits/is_constant_evaluated.h"
157770cf0a5SDimitry Andric      export std_core.type_traits.integral_constant
158770cf0a5SDimitry Andric    }
159770cf0a5SDimitry Andric    module is_constructible {
160770cf0a5SDimitry Andric      header "__type_traits/is_constructible.h"
161770cf0a5SDimitry Andric      export std_core.type_traits.integral_constant
162770cf0a5SDimitry Andric    }
163770cf0a5SDimitry Andric    module is_convertible {
164770cf0a5SDimitry Andric      header "__type_traits/is_convertible.h"
165770cf0a5SDimitry Andric      export std_core.type_traits.integral_constant
166770cf0a5SDimitry Andric    }
167770cf0a5SDimitry Andric    module is_core_convertible {
168770cf0a5SDimitry Andric      header "__type_traits/is_core_convertible.h"
169770cf0a5SDimitry Andric      export std_core.type_traits.integral_constant
170770cf0a5SDimitry Andric    }
171770cf0a5SDimitry Andric    module is_destructible {
172770cf0a5SDimitry Andric      header "__type_traits/is_destructible.h"
173770cf0a5SDimitry Andric      export std_core.type_traits.integral_constant
174770cf0a5SDimitry Andric    }
175770cf0a5SDimitry Andric    module is_empty {
176770cf0a5SDimitry Andric      header "__type_traits/is_empty.h"
177770cf0a5SDimitry Andric      export std_core.type_traits.integral_constant
178770cf0a5SDimitry Andric    }
179770cf0a5SDimitry Andric    module is_enum {
180770cf0a5SDimitry Andric      header "__type_traits/is_enum.h"
181770cf0a5SDimitry Andric      export std_core.type_traits.integral_constant
182770cf0a5SDimitry Andric    }
183770cf0a5SDimitry Andric    module is_equality_comparable {
184770cf0a5SDimitry Andric      header "__type_traits/is_equality_comparable.h"
185770cf0a5SDimitry Andric      export std_core.type_traits.integral_constant
186770cf0a5SDimitry Andric    }
187770cf0a5SDimitry Andric    module is_execution_policy {
188770cf0a5SDimitry Andric      header "__type_traits/is_execution_policy.h"
189770cf0a5SDimitry Andric      export std_core.type_traits.integral_constant
190770cf0a5SDimitry Andric    }
191770cf0a5SDimitry Andric    module is_final {
192770cf0a5SDimitry Andric      header "__type_traits/is_final.h"
193770cf0a5SDimitry Andric      export std_core.type_traits.integral_constant
194770cf0a5SDimitry Andric    }
195770cf0a5SDimitry Andric    module is_floating_point {
196770cf0a5SDimitry Andric      header "__type_traits/is_floating_point.h"
197770cf0a5SDimitry Andric      export std_core.type_traits.integral_constant
198770cf0a5SDimitry Andric    }
199770cf0a5SDimitry Andric    module is_function {
200770cf0a5SDimitry Andric      header "__type_traits/is_function.h"
201770cf0a5SDimitry Andric      export std_core.type_traits.integral_constant
202770cf0a5SDimitry Andric    }
203770cf0a5SDimitry Andric    module is_fundamental {
204770cf0a5SDimitry Andric      header "__type_traits/is_fundamental.h"
205770cf0a5SDimitry Andric      export std_core.type_traits.integral_constant
206770cf0a5SDimitry Andric    }
207770cf0a5SDimitry Andric    module is_implicit_lifetime {
208770cf0a5SDimitry Andric      header "__type_traits/is_implicit_lifetime.h"
209770cf0a5SDimitry Andric      export std_core.type_traits.integral_constant
210770cf0a5SDimitry Andric    }
211770cf0a5SDimitry Andric    module is_implicitly_default_constructible {
212770cf0a5SDimitry Andric      header "__type_traits/is_implicitly_default_constructible.h"
213770cf0a5SDimitry Andric      export std_core.type_traits.integral_constant
214770cf0a5SDimitry Andric    }
215770cf0a5SDimitry Andric    module is_integral {
216770cf0a5SDimitry Andric      header "__type_traits/is_integral.h"
217770cf0a5SDimitry Andric      export std_core.type_traits.integral_constant
218770cf0a5SDimitry Andric    }
219770cf0a5SDimitry Andric    module is_literal_type {
220770cf0a5SDimitry Andric      header "__type_traits/is_literal_type.h"
221770cf0a5SDimitry Andric      export std_core.type_traits.integral_constant
222770cf0a5SDimitry Andric    }
223770cf0a5SDimitry Andric    module is_member_pointer {
224770cf0a5SDimitry Andric      header "__type_traits/is_member_pointer.h"
225770cf0a5SDimitry Andric      export std_core.type_traits.integral_constant
226770cf0a5SDimitry Andric    }
227770cf0a5SDimitry Andric    module is_nothrow_assignable {
228770cf0a5SDimitry Andric      header "__type_traits/is_nothrow_assignable.h"
229770cf0a5SDimitry Andric      export std_core.type_traits.integral_constant
230770cf0a5SDimitry Andric    }
231770cf0a5SDimitry Andric    module is_nothrow_constructible {
232770cf0a5SDimitry Andric      header "__type_traits/is_nothrow_constructible.h"
233770cf0a5SDimitry Andric      export std_core.type_traits.integral_constant
234770cf0a5SDimitry Andric    }
235770cf0a5SDimitry Andric    module is_nothrow_destructible {
236770cf0a5SDimitry Andric      header "__type_traits/is_nothrow_destructible.h"
237770cf0a5SDimitry Andric      export std_core.type_traits.integral_constant
238770cf0a5SDimitry Andric    }
239770cf0a5SDimitry Andric    module is_null_pointer {
240770cf0a5SDimitry Andric      header "__type_traits/is_null_pointer.h"
241770cf0a5SDimitry Andric      export std_core.type_traits.integral_constant
242770cf0a5SDimitry Andric    }
243770cf0a5SDimitry Andric    module is_object {
244770cf0a5SDimitry Andric      header "__type_traits/is_object.h"
245770cf0a5SDimitry Andric      export std_core.type_traits.integral_constant
246770cf0a5SDimitry Andric    }
247770cf0a5SDimitry Andric    module is_pod {
248770cf0a5SDimitry Andric      header "__type_traits/is_pod.h"
249770cf0a5SDimitry Andric      export std_core.type_traits.integral_constant
250770cf0a5SDimitry Andric    }
251770cf0a5SDimitry Andric    module is_pointer {
252770cf0a5SDimitry Andric      header "__type_traits/is_pointer.h"
253770cf0a5SDimitry Andric      export std_core.type_traits.integral_constant
254770cf0a5SDimitry Andric    }
255770cf0a5SDimitry Andric    module is_polymorphic {
256770cf0a5SDimitry Andric      header "__type_traits/is_polymorphic.h"
257770cf0a5SDimitry Andric      export std_core.type_traits.integral_constant
258770cf0a5SDimitry Andric    }
259770cf0a5SDimitry Andric    module is_primary_template {
260770cf0a5SDimitry Andric      header "__type_traits/is_primary_template.h"
261770cf0a5SDimitry Andric      export std_core.type_traits.integral_constant
262770cf0a5SDimitry Andric    }
263770cf0a5SDimitry Andric    module is_reference_wrapper {
264770cf0a5SDimitry Andric      header "__type_traits/is_reference_wrapper.h"
265770cf0a5SDimitry Andric      export std_core.type_traits.integral_constant
266770cf0a5SDimitry Andric    }
267770cf0a5SDimitry Andric    module is_reference {
268770cf0a5SDimitry Andric      header "__type_traits/is_reference.h"
269770cf0a5SDimitry Andric      export std_core.type_traits.integral_constant
270770cf0a5SDimitry Andric    }
271770cf0a5SDimitry Andric    module is_referenceable {
272770cf0a5SDimitry Andric      header "__type_traits/is_referenceable.h"
273770cf0a5SDimitry Andric      export std_core.type_traits.integral_constant
274770cf0a5SDimitry Andric    }
275770cf0a5SDimitry Andric    module is_replaceable {
276770cf0a5SDimitry Andric      header "__type_traits/is_replaceable.h"
277770cf0a5SDimitry Andric      export std_core.type_traits.integral_constant
278770cf0a5SDimitry Andric    }
279770cf0a5SDimitry Andric    module is_same {
280770cf0a5SDimitry Andric      header "__type_traits/is_same.h"
281770cf0a5SDimitry Andric      export std_core.type_traits.integral_constant
282770cf0a5SDimitry Andric    }
283770cf0a5SDimitry Andric    module is_scalar {
284770cf0a5SDimitry Andric      header "__type_traits/is_scalar.h"
285770cf0a5SDimitry Andric      export std_core.type_traits.integral_constant
286770cf0a5SDimitry Andric    }
287770cf0a5SDimitry Andric    module is_signed {
288770cf0a5SDimitry Andric      header "__type_traits/is_signed.h"
289770cf0a5SDimitry Andric      export std_core.type_traits.integral_constant
290770cf0a5SDimitry Andric    }
291770cf0a5SDimitry Andric    module is_specialization {
292770cf0a5SDimitry Andric      header "__type_traits/is_specialization.h"
293770cf0a5SDimitry Andric      export std_core.type_traits.integral_constant
294770cf0a5SDimitry Andric    }
295770cf0a5SDimitry Andric    module is_standard_layout {
296770cf0a5SDimitry Andric      header "__type_traits/is_standard_layout.h"
297770cf0a5SDimitry Andric      export std_core.type_traits.integral_constant
298770cf0a5SDimitry Andric    }
299770cf0a5SDimitry Andric    module is_swappable {
300770cf0a5SDimitry Andric      header "__type_traits/is_swappable.h"
301770cf0a5SDimitry Andric      export std_core.type_traits.integral_constant
302770cf0a5SDimitry Andric    }
303770cf0a5SDimitry Andric    module is_trivial {
304770cf0a5SDimitry Andric      header "__type_traits/is_trivial.h"
305770cf0a5SDimitry Andric      export std_core.type_traits.integral_constant
306770cf0a5SDimitry Andric    }
307770cf0a5SDimitry Andric    module is_trivially_assignable {
308770cf0a5SDimitry Andric      header "__type_traits/is_trivially_assignable.h"
309770cf0a5SDimitry Andric      export std_core.type_traits.integral_constant
310770cf0a5SDimitry Andric    }
311770cf0a5SDimitry Andric    module is_trivially_constructible {
312770cf0a5SDimitry Andric      header "__type_traits/is_trivially_constructible.h"
313770cf0a5SDimitry Andric      export std_core.type_traits.integral_constant
314770cf0a5SDimitry Andric    }
315770cf0a5SDimitry Andric    module is_trivially_copyable {
316770cf0a5SDimitry Andric      header "__type_traits/is_trivially_copyable.h"
317770cf0a5SDimitry Andric      export std_core.type_traits.integral_constant
318770cf0a5SDimitry Andric    }
319770cf0a5SDimitry Andric    module is_trivially_destructible {
320770cf0a5SDimitry Andric      header "__type_traits/is_trivially_destructible.h"
321770cf0a5SDimitry Andric      export std_core.type_traits.integral_constant
322770cf0a5SDimitry Andric    }
323770cf0a5SDimitry Andric    module is_trivially_lexicographically_comparable {
324770cf0a5SDimitry Andric      header "__type_traits/is_trivially_lexicographically_comparable.h"
325770cf0a5SDimitry Andric      export std_core.type_traits.integral_constant
326770cf0a5SDimitry Andric    }
327770cf0a5SDimitry Andric    module is_trivially_relocatable {
328770cf0a5SDimitry Andric      header "__type_traits/is_trivially_relocatable.h"
329770cf0a5SDimitry Andric      export std_core.type_traits.integral_constant
330770cf0a5SDimitry Andric    }
331770cf0a5SDimitry Andric    module is_unbounded_array {
332770cf0a5SDimitry Andric      header "__type_traits/is_unbounded_array.h"
333770cf0a5SDimitry Andric      export std_core.type_traits.integral_constant
334770cf0a5SDimitry Andric    }
335770cf0a5SDimitry Andric    module is_union {
336770cf0a5SDimitry Andric      header "__type_traits/is_union.h"
337770cf0a5SDimitry Andric      export std_core.type_traits.integral_constant
338770cf0a5SDimitry Andric    }
339e64bea71SDimitry Andric    module is_unqualified { header "__type_traits/is_unqualified.h" }
340770cf0a5SDimitry Andric    module is_unsigned {
341770cf0a5SDimitry Andric      header "__type_traits/is_unsigned.h"
342770cf0a5SDimitry Andric      export std_core.type_traits.integral_constant
343770cf0a5SDimitry Andric    }
344770cf0a5SDimitry Andric    module is_valid_expansion {
345770cf0a5SDimitry Andric      header "__type_traits/is_valid_expansion.h"
346770cf0a5SDimitry Andric      export std_core.type_traits.integral_constant
347770cf0a5SDimitry Andric    }
348770cf0a5SDimitry Andric    module is_void {
349770cf0a5SDimitry Andric      header "__type_traits/is_void.h"
350770cf0a5SDimitry Andric      export std_core.type_traits.integral_constant
351770cf0a5SDimitry Andric    }
352770cf0a5SDimitry Andric    module is_volatile {
353770cf0a5SDimitry Andric      header "__type_traits/is_volatile.h"
354770cf0a5SDimitry Andric      export std_core.type_traits.integral_constant
355770cf0a5SDimitry Andric    }
356770cf0a5SDimitry Andric    module lazy                                       { header "__type_traits/lazy.h" }
357770cf0a5SDimitry Andric    module make_32_64_or_128_bit                      { header "__type_traits/make_32_64_or_128_bit.h" }
358770cf0a5SDimitry Andric    module make_const_lvalue_ref                      { header "__type_traits/make_const_lvalue_ref.h" }
359770cf0a5SDimitry Andric    module make_signed                                { header "__type_traits/make_signed.h" }
360770cf0a5SDimitry Andric    module make_unsigned                              { header "__type_traits/make_unsigned.h" }
361770cf0a5SDimitry Andric    module maybe_const                                { header "__type_traits/maybe_const.h" }
362770cf0a5SDimitry Andric    module nat                                        { header "__type_traits/nat.h" }
363770cf0a5SDimitry Andric    module negation                                   { header "__type_traits/negation.h" }
364770cf0a5SDimitry Andric    module promote                                    { header "__type_traits/promote.h" }
365770cf0a5SDimitry Andric    module rank                                       { header "__type_traits/rank.h" }
366770cf0a5SDimitry Andric    module reference_constructs_from_temporary {
367770cf0a5SDimitry Andric      header "__type_traits/reference_constructs_from_temporary.h"
368770cf0a5SDimitry Andric      export std_core.type_traits.integral_constant
369770cf0a5SDimitry Andric    }
370770cf0a5SDimitry Andric    module reference_converts_from_temporary {
371770cf0a5SDimitry Andric      header "__type_traits/reference_converts_from_temporary.h"
372770cf0a5SDimitry Andric      export std_core.type_traits.integral_constant
373770cf0a5SDimitry Andric    }
374770cf0a5SDimitry Andric    module remove_all_extents                         { header "__type_traits/remove_all_extents.h" }
375770cf0a5SDimitry Andric    module remove_const_ref                           { header "__type_traits/remove_const_ref.h" }
376770cf0a5SDimitry Andric    module remove_const                               { header "__type_traits/remove_const.h" }
377770cf0a5SDimitry Andric    module remove_cv                                  { header "__type_traits/remove_cv.h" }
378770cf0a5SDimitry Andric    module remove_cvref                               { header "__type_traits/remove_cvref.h" }
379770cf0a5SDimitry Andric    module remove_extent                              { header "__type_traits/remove_extent.h" }
380770cf0a5SDimitry Andric    module remove_pointer                             { header "__type_traits/remove_pointer.h" }
381770cf0a5SDimitry Andric    module remove_reference                           { header "__type_traits/remove_reference.h" }
382770cf0a5SDimitry Andric    module remove_volatile                            { header "__type_traits/remove_volatile.h" }
383770cf0a5SDimitry Andric    module result_of                                  { header "__type_traits/result_of.h" }
384770cf0a5SDimitry Andric    module strip_signature                            { header "__type_traits/strip_signature.h" }
385770cf0a5SDimitry Andric    module type_identity                              { header "__type_traits/type_identity.h" }
386770cf0a5SDimitry Andric    module type_list                                  { header "__type_traits/type_list.h" }
387770cf0a5SDimitry Andric    module underlying_type                            { header "__type_traits/underlying_type.h" }
388770cf0a5SDimitry Andric    module unwrap_ref                                 { header "__type_traits/unwrap_ref.h" }
389770cf0a5SDimitry Andric    module void_t                                     { header "__type_traits/void_t.h" }
390770cf0a5SDimitry Andric
391770cf0a5SDimitry Andric    header "type_traits"
392770cf0a5SDimitry Andric    export *
393770cf0a5SDimitry Andric  } // module type_traits
394770cf0a5SDimitry Andric
395770cf0a5SDimitry Andric  // Only the truly dependency-free parts of __utility are here
396770cf0a5SDimitry Andric  module utility_core {
397770cf0a5SDimitry Andric    module declval  { header "__utility/declval.h" }
398770cf0a5SDimitry Andric    module empty    { header "__utility/empty.h" }
399770cf0a5SDimitry Andric    module forward  { header "__utility/forward.h" }
400770cf0a5SDimitry Andric  }
401770cf0a5SDimitry Andric} // module std_core
402770cf0a5SDimitry Andric
403770cf0a5SDimitry Andricmodule std [system] {
404770cf0a5SDimitry Andric  module algorithm {
405770cf0a5SDimitry Andric    module adjacent_find                          { header "__algorithm/adjacent_find.h" }
406770cf0a5SDimitry Andric    module all_of                                 { header "__algorithm/all_of.h" }
407770cf0a5SDimitry Andric    module any_of                                 { header "__algorithm/any_of.h" }
408770cf0a5SDimitry Andric    module binary_search                          { header "__algorithm/binary_search.h" }
409770cf0a5SDimitry Andric    module clamp                                  { header "__algorithm/clamp.h" }
410770cf0a5SDimitry Andric    module comp_ref_type                          { header "__algorithm/comp_ref_type.h" }
411770cf0a5SDimitry Andric    module comp                                   { header "__algorithm/comp.h" }
412770cf0a5SDimitry Andric    module copy_backward                          { header "__algorithm/copy_backward.h" }
413770cf0a5SDimitry Andric    module copy_if                                { header "__algorithm/copy_if.h" }
414770cf0a5SDimitry Andric    module copy_move_common                       { header "__algorithm/copy_move_common.h" }
415770cf0a5SDimitry Andric    module copy_n                                 {
416770cf0a5SDimitry Andric      header "__algorithm/copy_n.h"
417770cf0a5SDimitry Andric      export std.iterator_traits
418770cf0a5SDimitry Andric    }
419770cf0a5SDimitry Andric    module copy                                   { header "__algorithm/copy.h" }
420770cf0a5SDimitry Andric    module count_if                               { header "__algorithm/count_if.h" }
421770cf0a5SDimitry Andric    module count                                  { header "__algorithm/count.h" }
422770cf0a5SDimitry Andric    module equal_range                            { header "__algorithm/equal_range.h" }
423770cf0a5SDimitry Andric    module equal                                  { header "__algorithm/equal.h" }
424770cf0a5SDimitry Andric    module fill_n                                 { header "__algorithm/fill_n.h" }
425770cf0a5SDimitry Andric    module fill                                   { header "__algorithm/fill.h" }
426770cf0a5SDimitry Andric    module find_end                               { header "__algorithm/find_end.h" }
427770cf0a5SDimitry Andric    module find_first_of                          { header "__algorithm/find_first_of.h" }
428770cf0a5SDimitry Andric    module find_if_not                            { header "__algorithm/find_if_not.h" }
429770cf0a5SDimitry Andric    module find_if                                { header "__algorithm/find_if.h" }
430770cf0a5SDimitry Andric    module find_segment_if                        { header "__algorithm/find_segment_if.h" }
431770cf0a5SDimitry Andric    module find                                   { header "__algorithm/find.h" }
432770cf0a5SDimitry Andric    module for_each_n                             { header "__algorithm/for_each_n.h" }
433770cf0a5SDimitry Andric    module for_each_n_segment                     { header "__algorithm/for_each_n_segment.h" }
434770cf0a5SDimitry Andric    module for_each_segment                       { header "__algorithm/for_each_segment.h" }
435770cf0a5SDimitry Andric    module for_each                               { header "__algorithm/for_each.h" }
436770cf0a5SDimitry Andric    module generate_n                             { header "__algorithm/generate_n.h" }
437770cf0a5SDimitry Andric    module generate                               { header "__algorithm/generate.h" }
438770cf0a5SDimitry Andric    module half_positive                          { header "__algorithm/half_positive.h" }
439770cf0a5SDimitry Andric    module in_found_result                        { header "__algorithm/in_found_result.h" }
440770cf0a5SDimitry Andric    module in_fun_result                          { header "__algorithm/in_fun_result.h" }
441770cf0a5SDimitry Andric    module in_in_out_result                       { header "__algorithm/in_in_out_result.h" }
442770cf0a5SDimitry Andric    module in_in_result                           { header "__algorithm/in_in_result.h" }
443770cf0a5SDimitry Andric    module in_out_out_result                      { header "__algorithm/in_out_out_result.h" }
444770cf0a5SDimitry Andric    module in_out_result                          { header "__algorithm/in_out_result.h" }
445770cf0a5SDimitry Andric    module includes                               { header "__algorithm/includes.h" }
446770cf0a5SDimitry Andric    module inplace_merge                          { header "__algorithm/inplace_merge.h" }
447770cf0a5SDimitry Andric    module is_heap_until                          { header "__algorithm/is_heap_until.h" }
448770cf0a5SDimitry Andric    module is_heap                                { header "__algorithm/is_heap.h" }
449770cf0a5SDimitry Andric    module is_partitioned                         { header "__algorithm/is_partitioned.h" }
450770cf0a5SDimitry Andric    module is_permutation                         { header "__algorithm/is_permutation.h" }
451770cf0a5SDimitry Andric    module is_sorted_until                        { header "__algorithm/is_sorted_until.h" }
452770cf0a5SDimitry Andric    module is_sorted                              { header "__algorithm/is_sorted.h" }
453770cf0a5SDimitry Andric    module iter_swap                              { header "__algorithm/iter_swap.h" }
454770cf0a5SDimitry Andric    module iterator_operations {
455770cf0a5SDimitry Andric      header "__algorithm/iterator_operations.h"
456770cf0a5SDimitry Andric      export std.iterator.advance
457770cf0a5SDimitry Andric      export std.iterator.distance
458770cf0a5SDimitry Andric      export std.iterator.iter_move
459770cf0a5SDimitry Andric      export std.iterator.iter_swap
460770cf0a5SDimitry Andric      export std.iterator.next
461770cf0a5SDimitry Andric      export std.iterator.prev
462770cf0a5SDimitry Andric    }
463770cf0a5SDimitry Andric    module lexicographical_compare_three_way      { header "__algorithm/lexicographical_compare_three_way.h" }
464770cf0a5SDimitry Andric    module lexicographical_compare                { header "__algorithm/lexicographical_compare.h" }
465770cf0a5SDimitry Andric    module lower_bound                            { header "__algorithm/lower_bound.h" }
466770cf0a5SDimitry Andric    module make_heap                              { header "__algorithm/make_heap.h" }
467770cf0a5SDimitry Andric    module make_projected                         { header "__algorithm/make_projected.h" }
468770cf0a5SDimitry Andric    module max_element                            { header "__algorithm/max_element.h" }
469770cf0a5SDimitry Andric    module max                                    { header "__algorithm/max.h" }
470770cf0a5SDimitry Andric    module merge                                  { header "__algorithm/merge.h" }
471770cf0a5SDimitry Andric    module min_element                            { header "__algorithm/min_element.h" }
472770cf0a5SDimitry Andric    module min_max_result                         { header "__algorithm/min_max_result.h" }
473770cf0a5SDimitry Andric    module min                                    { header "__algorithm/min.h" }
474770cf0a5SDimitry Andric    module minmax_element                         { header "__algorithm/minmax_element.h" }
475770cf0a5SDimitry Andric    module minmax {
476770cf0a5SDimitry Andric      header "__algorithm/minmax.h"
477770cf0a5SDimitry Andric      export std.utility.pair // return type
478770cf0a5SDimitry Andric    }
479770cf0a5SDimitry Andric    module mismatch {
480770cf0a5SDimitry Andric      header "__algorithm/mismatch.h"
481770cf0a5SDimitry Andric      export std.utility.pair // return type
482770cf0a5SDimitry Andric    }
483770cf0a5SDimitry Andric    module move_backward                          { header "__algorithm/move_backward.h" }
484770cf0a5SDimitry Andric    module move                                   { header "__algorithm/move.h" }
485770cf0a5SDimitry Andric    module next_permutation                       { header "__algorithm/next_permutation.h" }
486770cf0a5SDimitry Andric    module none_of                                { header "__algorithm/none_of.h" }
487770cf0a5SDimitry Andric    module nth_element                            { header "__algorithm/nth_element.h" }
488770cf0a5SDimitry Andric    module out_value_result                       { header "__algorithm/out_value_result.h" }
489770cf0a5SDimitry Andric    module partial_sort_copy                      { header "__algorithm/partial_sort_copy.h" }
490770cf0a5SDimitry Andric    module partial_sort                           { header "__algorithm/partial_sort.h" }
491770cf0a5SDimitry Andric    module partition_copy                         { header "__algorithm/partition_copy.h" }
492770cf0a5SDimitry Andric    module partition_point                        { header "__algorithm/partition_point.h" }
493770cf0a5SDimitry Andric    module partition                              { header "__algorithm/partition.h" }
494770cf0a5SDimitry Andric    module pop_heap                               { header "__algorithm/pop_heap.h" }
495770cf0a5SDimitry Andric    module prev_permutation                       { header "__algorithm/prev_permutation.h" }
496770cf0a5SDimitry Andric    module pstl                                   { header "__algorithm/pstl.h" }
497770cf0a5SDimitry Andric    module push_heap                              { header "__algorithm/push_heap.h" }
498770cf0a5SDimitry Andric    module radix_sort                             { header "__algorithm/radix_sort.h" }
499770cf0a5SDimitry Andric    module ranges_adjacent_find                   { header "__algorithm/ranges_adjacent_find.h" }
500770cf0a5SDimitry Andric    module ranges_all_of                          { header "__algorithm/ranges_all_of.h" }
501770cf0a5SDimitry Andric    module ranges_any_of                          { header "__algorithm/ranges_any_of.h" }
502770cf0a5SDimitry Andric    module ranges_binary_search {
503770cf0a5SDimitry Andric      header "__algorithm/ranges_binary_search.h"
504770cf0a5SDimitry Andric      export std.functional.ranges_operations
505770cf0a5SDimitry Andric    }
506770cf0a5SDimitry Andric    module ranges_clamp {
507770cf0a5SDimitry Andric      header "__algorithm/ranges_clamp.h"
508770cf0a5SDimitry Andric      export std.functional.ranges_operations
509770cf0a5SDimitry Andric    }
510770cf0a5SDimitry Andric    module ranges_contains_subrange {
511770cf0a5SDimitry Andric      header "__algorithm/ranges_contains_subrange.h"
512770cf0a5SDimitry Andric    }
513770cf0a5SDimitry Andric    module ranges_contains {
514770cf0a5SDimitry Andric      header "__algorithm/ranges_contains.h"
515770cf0a5SDimitry Andric    }
516770cf0a5SDimitry Andric    module ranges_copy_backward {
517770cf0a5SDimitry Andric      header "__algorithm/ranges_copy_backward.h"
518770cf0a5SDimitry Andric      export std.algorithm.in_out_result
519770cf0a5SDimitry Andric    }
520770cf0a5SDimitry Andric    module ranges_copy_if {
521770cf0a5SDimitry Andric      header "__algorithm/ranges_copy_if.h"
522770cf0a5SDimitry Andric      export std.algorithm.in_out_result
523770cf0a5SDimitry Andric    }
524770cf0a5SDimitry Andric    module ranges_copy_n {
525770cf0a5SDimitry Andric      header "__algorithm/ranges_copy_n.h"
526770cf0a5SDimitry Andric      export std.algorithm.in_out_result
527770cf0a5SDimitry Andric    }
528770cf0a5SDimitry Andric    module ranges_copy {
529770cf0a5SDimitry Andric      header "__algorithm/ranges_copy.h"
530770cf0a5SDimitry Andric      export std.algorithm.in_out_result
531770cf0a5SDimitry Andric    }
532770cf0a5SDimitry Andric    module ranges_count_if                        { header "__algorithm/ranges_count_if.h" }
533770cf0a5SDimitry Andric    module ranges_count                           { header "__algorithm/ranges_count.h" }
534770cf0a5SDimitry Andric    module ranges_ends_with                       { header "__algorithm/ranges_ends_with.h" }
535770cf0a5SDimitry Andric    module ranges_equal_range {
536770cf0a5SDimitry Andric      header "__algorithm/ranges_equal_range.h"
537770cf0a5SDimitry Andric      export std.functional.ranges_operations
538770cf0a5SDimitry Andric    }
539770cf0a5SDimitry Andric    module ranges_equal {
540770cf0a5SDimitry Andric      header "__algorithm/ranges_equal.h"
541770cf0a5SDimitry Andric      export std.functional.identity
542770cf0a5SDimitry Andric    }
543770cf0a5SDimitry Andric    module ranges_fill_n                          { header "__algorithm/ranges_fill_n.h" }
544770cf0a5SDimitry Andric    module ranges_fill                            { header "__algorithm/ranges_fill.h" }
545770cf0a5SDimitry Andric    module ranges_find_end {
546770cf0a5SDimitry Andric      header "__algorithm/ranges_find_end.h"
547770cf0a5SDimitry Andric      export std.ranges.subrange // return type
548770cf0a5SDimitry Andric    }
549770cf0a5SDimitry Andric    module ranges_find_first_of                   { header "__algorithm/ranges_find_first_of.h" }
550770cf0a5SDimitry Andric    module ranges_find_if_not                     { header "__algorithm/ranges_find_if_not.h" }
551770cf0a5SDimitry Andric    module ranges_find_if                         { header "__algorithm/ranges_find_if.h" }
552770cf0a5SDimitry Andric    module ranges_find_last {
553770cf0a5SDimitry Andric      header "__algorithm/ranges_find_last.h"
554770cf0a5SDimitry Andric      export std.ranges.subrange // return type
555770cf0a5SDimitry Andric    }
556770cf0a5SDimitry Andric    module ranges_find                            { header "__algorithm/ranges_find.h" }
557770cf0a5SDimitry Andric    module ranges_fold                            { header "__algorithm/ranges_fold.h" }
558770cf0a5SDimitry Andric    module ranges_for_each_n {
559770cf0a5SDimitry Andric      header "__algorithm/ranges_for_each_n.h"
560770cf0a5SDimitry Andric      export std.algorithm.in_fun_result
561770cf0a5SDimitry Andric    }
562770cf0a5SDimitry Andric    module ranges_for_each {
563770cf0a5SDimitry Andric      header "__algorithm/ranges_for_each.h"
564770cf0a5SDimitry Andric      export std.algorithm.in_fun_result
565770cf0a5SDimitry Andric    }
566770cf0a5SDimitry Andric    module ranges_generate_n {
567770cf0a5SDimitry Andric      header "__algorithm/ranges_generate_n.h"
568770cf0a5SDimitry Andric    }
569770cf0a5SDimitry Andric    module ranges_generate {
570770cf0a5SDimitry Andric      header "__algorithm/ranges_generate.h"
571770cf0a5SDimitry Andric    }
572770cf0a5SDimitry Andric    module ranges_includes {
573770cf0a5SDimitry Andric      header "__algorithm/ranges_includes.h"
574770cf0a5SDimitry Andric      export std.functional.ranges_operations
575770cf0a5SDimitry Andric    }
576770cf0a5SDimitry Andric    module ranges_inplace_merge {
577770cf0a5SDimitry Andric      header "__algorithm/ranges_inplace_merge.h"
578770cf0a5SDimitry Andric      export std.functional.ranges_operations
579770cf0a5SDimitry Andric    }
580770cf0a5SDimitry Andric    module ranges_is_heap_until {
581770cf0a5SDimitry Andric      header "__algorithm/ranges_is_heap_until.h"
582770cf0a5SDimitry Andric      export std.functional.ranges_operations
583770cf0a5SDimitry Andric    }
584770cf0a5SDimitry Andric    module ranges_is_heap {
585770cf0a5SDimitry Andric      header "__algorithm/ranges_is_heap.h"
586770cf0a5SDimitry Andric      export std.functional.ranges_operations
587770cf0a5SDimitry Andric    }
588770cf0a5SDimitry Andric    module ranges_is_partitioned {
589770cf0a5SDimitry Andric      header "__algorithm/ranges_is_partitioned.h"
590770cf0a5SDimitry Andric    }
591770cf0a5SDimitry Andric    module ranges_is_permutation {
592770cf0a5SDimitry Andric      header "__algorithm/ranges_is_permutation.h"
593770cf0a5SDimitry Andric    }
594770cf0a5SDimitry Andric    module ranges_is_sorted_until {
595770cf0a5SDimitry Andric      header "__algorithm/ranges_is_sorted_until.h"
596770cf0a5SDimitry Andric      export std.functional.ranges_operations
597770cf0a5SDimitry Andric    }
598770cf0a5SDimitry Andric    module ranges_is_sorted {
599770cf0a5SDimitry Andric      header "__algorithm/ranges_is_sorted.h"
600770cf0a5SDimitry Andric      export std.functional.ranges_operations
601770cf0a5SDimitry Andric    }
602770cf0a5SDimitry Andric    module ranges_iterator_concept {
603770cf0a5SDimitry Andric      header "__algorithm/ranges_iterator_concept.h"
604770cf0a5SDimitry Andric    }
605770cf0a5SDimitry Andric    module ranges_lexicographical_compare {
606770cf0a5SDimitry Andric      header "__algorithm/ranges_lexicographical_compare.h"
607770cf0a5SDimitry Andric      export std.functional.ranges_operations
608770cf0a5SDimitry Andric    }
609770cf0a5SDimitry Andric    module ranges_lower_bound {
610770cf0a5SDimitry Andric      header "__algorithm/ranges_lower_bound.h"
611770cf0a5SDimitry Andric      export std.functional.ranges_operations
612770cf0a5SDimitry Andric    }
613770cf0a5SDimitry Andric    module ranges_make_heap {
614770cf0a5SDimitry Andric      header "__algorithm/ranges_make_heap.h"
615770cf0a5SDimitry Andric      export std.functional.ranges_operations
616770cf0a5SDimitry Andric    }
617770cf0a5SDimitry Andric    module ranges_max_element {
618770cf0a5SDimitry Andric      header "__algorithm/ranges_max_element.h"
619770cf0a5SDimitry Andric      export std.functional.ranges_operations
620770cf0a5SDimitry Andric    }
621770cf0a5SDimitry Andric    module ranges_max {
622770cf0a5SDimitry Andric      header "__algorithm/ranges_max.h"
623770cf0a5SDimitry Andric      export std.functional.ranges_operations
624770cf0a5SDimitry Andric    }
625770cf0a5SDimitry Andric    module ranges_merge {
626770cf0a5SDimitry Andric      header "__algorithm/ranges_merge.h"
627770cf0a5SDimitry Andric      export std.functional.ranges_operations
628770cf0a5SDimitry Andric      export std.algorithm.in_in_out_result
629770cf0a5SDimitry Andric    }
630770cf0a5SDimitry Andric    module ranges_min_element {
631770cf0a5SDimitry Andric      header "__algorithm/ranges_min_element.h"
632770cf0a5SDimitry Andric      export std.functional.ranges_operations
633770cf0a5SDimitry Andric    }
634770cf0a5SDimitry Andric    module ranges_min {
635770cf0a5SDimitry Andric      header "__algorithm/ranges_min.h"
636770cf0a5SDimitry Andric      export std.functional.ranges_operations
637770cf0a5SDimitry Andric    }
638770cf0a5SDimitry Andric    module ranges_minmax_element {
639770cf0a5SDimitry Andric      header "__algorithm/ranges_minmax_element.h"
640770cf0a5SDimitry Andric      export std.functional.ranges_operations
641770cf0a5SDimitry Andric      export std.algorithm.min_max_result
642770cf0a5SDimitry Andric    }
643770cf0a5SDimitry Andric    module ranges_minmax {
644770cf0a5SDimitry Andric      header "__algorithm/ranges_minmax.h"
645770cf0a5SDimitry Andric      export std.functional.ranges_operations
646770cf0a5SDimitry Andric      export std.algorithm.min_max_result
647770cf0a5SDimitry Andric    }
648770cf0a5SDimitry Andric    module ranges_mismatch {
649770cf0a5SDimitry Andric      header "__algorithm/ranges_mismatch.h"
650770cf0a5SDimitry Andric      export std.algorithm.in_in_result
651770cf0a5SDimitry Andric    }
652770cf0a5SDimitry Andric    module ranges_move_backward {
653770cf0a5SDimitry Andric      header "__algorithm/ranges_move_backward.h"
654770cf0a5SDimitry Andric      export std.algorithm.in_out_result
655770cf0a5SDimitry Andric    }
656770cf0a5SDimitry Andric    module ranges_move {
657770cf0a5SDimitry Andric      header "__algorithm/ranges_move.h"
658770cf0a5SDimitry Andric      export std.algorithm.in_out_result
659770cf0a5SDimitry Andric    }
660770cf0a5SDimitry Andric    module ranges_next_permutation {
661770cf0a5SDimitry Andric      header "__algorithm/ranges_next_permutation.h"
662770cf0a5SDimitry Andric      export std.functional.ranges_operations
663770cf0a5SDimitry Andric      export std.algorithm.in_found_result
664770cf0a5SDimitry Andric    }
665770cf0a5SDimitry Andric    module ranges_none_of {
666770cf0a5SDimitry Andric      header "__algorithm/ranges_none_of.h"
667770cf0a5SDimitry Andric    }
668770cf0a5SDimitry Andric    module ranges_nth_element {
669770cf0a5SDimitry Andric      header "__algorithm/ranges_nth_element.h"
670770cf0a5SDimitry Andric      export std.functional.ranges_operations
671770cf0a5SDimitry Andric    }
672770cf0a5SDimitry Andric    module ranges_partial_sort_copy {
673770cf0a5SDimitry Andric      header "__algorithm/ranges_partial_sort_copy.h"
674770cf0a5SDimitry Andric      export std.functional.ranges_operations
675770cf0a5SDimitry Andric    }
676770cf0a5SDimitry Andric    module ranges_partial_sort {
677770cf0a5SDimitry Andric      header "__algorithm/ranges_partial_sort.h"
678770cf0a5SDimitry Andric      export std.functional.ranges_operations
679770cf0a5SDimitry Andric    }
680770cf0a5SDimitry Andric    module ranges_partition_copy {
681770cf0a5SDimitry Andric      header "__algorithm/ranges_partition_copy.h"
682770cf0a5SDimitry Andric      export std.algorithm.in_out_out_result
683770cf0a5SDimitry Andric    }
684770cf0a5SDimitry Andric    module ranges_partition_point {
685770cf0a5SDimitry Andric      header "__algorithm/ranges_partition_point.h"
686770cf0a5SDimitry Andric    }
687770cf0a5SDimitry Andric    module ranges_partition {
688770cf0a5SDimitry Andric      header "__algorithm/ranges_partition.h"
689770cf0a5SDimitry Andric      export std.ranges.subrange // return type
690770cf0a5SDimitry Andric    }
691770cf0a5SDimitry Andric    module ranges_pop_heap {
692770cf0a5SDimitry Andric      header "__algorithm/ranges_pop_heap.h"
693770cf0a5SDimitry Andric      export std.functional.ranges_operations
694770cf0a5SDimitry Andric    }
695770cf0a5SDimitry Andric    module ranges_prev_permutation {
696770cf0a5SDimitry Andric      header "__algorithm/ranges_prev_permutation.h"
697770cf0a5SDimitry Andric      export std.functional.ranges_operations
698770cf0a5SDimitry Andric      export std.algorithm.in_found_result
699770cf0a5SDimitry Andric    }
700770cf0a5SDimitry Andric    module ranges_push_heap {
701770cf0a5SDimitry Andric      header "__algorithm/ranges_push_heap.h"
702770cf0a5SDimitry Andric      export std.functional.ranges_operations
703770cf0a5SDimitry Andric    }
704770cf0a5SDimitry Andric    module ranges_remove_copy_if {
705770cf0a5SDimitry Andric      header "__algorithm/ranges_remove_copy_if.h"
706770cf0a5SDimitry Andric      export std.algorithm.in_out_result
707770cf0a5SDimitry Andric    }
708770cf0a5SDimitry Andric    module ranges_remove_copy {
709770cf0a5SDimitry Andric      header "__algorithm/ranges_remove_copy.h"
710770cf0a5SDimitry Andric      export std.algorithm.in_out_result
711770cf0a5SDimitry Andric    }
712770cf0a5SDimitry Andric    module ranges_remove_if {
713770cf0a5SDimitry Andric      header "__algorithm/ranges_remove_if.h"
714770cf0a5SDimitry Andric    }
715770cf0a5SDimitry Andric    module ranges_remove {
716770cf0a5SDimitry Andric      header "__algorithm/ranges_remove.h"
717770cf0a5SDimitry Andric      export std.ranges.subrange // return type
718770cf0a5SDimitry Andric    }
719770cf0a5SDimitry Andric    module ranges_replace_copy_if {
720770cf0a5SDimitry Andric      header "__algorithm/ranges_replace_copy_if.h"
721770cf0a5SDimitry Andric      export std.algorithm.in_out_result
722770cf0a5SDimitry Andric    }
723770cf0a5SDimitry Andric    module ranges_replace_copy {
724770cf0a5SDimitry Andric      header "__algorithm/ranges_replace_copy.h"
725770cf0a5SDimitry Andric      export std.algorithm.in_out_result
726770cf0a5SDimitry Andric    }
727770cf0a5SDimitry Andric    module ranges_replace_if {
728770cf0a5SDimitry Andric      header "__algorithm/ranges_replace_if.h"
729770cf0a5SDimitry Andric    }
730770cf0a5SDimitry Andric    module ranges_replace {
731770cf0a5SDimitry Andric      header "__algorithm/ranges_replace.h"
732770cf0a5SDimitry Andric    }
733770cf0a5SDimitry Andric    module ranges_reverse_copy {
734770cf0a5SDimitry Andric      header "__algorithm/ranges_reverse_copy.h"
735770cf0a5SDimitry Andric      export std.algorithm.in_out_result
736770cf0a5SDimitry Andric    }
737770cf0a5SDimitry Andric    module ranges_reverse {
738770cf0a5SDimitry Andric      header "__algorithm/ranges_reverse.h"
739770cf0a5SDimitry Andric    }
740770cf0a5SDimitry Andric    module ranges_rotate_copy {
741770cf0a5SDimitry Andric      header "__algorithm/ranges_rotate_copy.h"
742770cf0a5SDimitry Andric      export std.ranges.subrange // return type
743770cf0a5SDimitry Andric    }
744770cf0a5SDimitry Andric    module ranges_rotate                          { header "__algorithm/ranges_rotate.h" }
745770cf0a5SDimitry Andric    module ranges_sample                          { header "__algorithm/ranges_sample.h" }
746770cf0a5SDimitry Andric    module ranges_search_n {
747770cf0a5SDimitry Andric      header "__algorithm/ranges_search_n.h"
748770cf0a5SDimitry Andric      export std.ranges.subrange // return type
749770cf0a5SDimitry Andric    }
750770cf0a5SDimitry Andric    module ranges_search {
751770cf0a5SDimitry Andric      header "__algorithm/ranges_search.h"
752770cf0a5SDimitry Andric      export std.ranges.subrange // return type
753770cf0a5SDimitry Andric    }
754770cf0a5SDimitry Andric    module ranges_set_difference {
755770cf0a5SDimitry Andric      header "__algorithm/ranges_set_difference.h"
756770cf0a5SDimitry Andric      export std.functional.ranges_operations
757770cf0a5SDimitry Andric      export std.algorithm.in_out_result
758770cf0a5SDimitry Andric    }
759770cf0a5SDimitry Andric    module ranges_set_intersection {
760770cf0a5SDimitry Andric      header "__algorithm/ranges_set_intersection.h"
761770cf0a5SDimitry Andric      export std.functional.ranges_operations
762770cf0a5SDimitry Andric      export std.algorithm.in_in_out_result
763770cf0a5SDimitry Andric    }
764770cf0a5SDimitry Andric    module ranges_set_symmetric_difference {
765770cf0a5SDimitry Andric      header "__algorithm/ranges_set_symmetric_difference.h"
766770cf0a5SDimitry Andric      export std.functional.ranges_operations
767770cf0a5SDimitry Andric      export std.algorithm.in_in_out_result
768770cf0a5SDimitry Andric    }
769770cf0a5SDimitry Andric    module ranges_set_union {
770770cf0a5SDimitry Andric      header "__algorithm/ranges_set_union.h"
771770cf0a5SDimitry Andric      export std.functional.ranges_operations
772770cf0a5SDimitry Andric      export std.algorithm.in_in_out_result
773770cf0a5SDimitry Andric    }
774770cf0a5SDimitry Andric    module ranges_shuffle {
775770cf0a5SDimitry Andric      header "__algorithm/ranges_shuffle.h"
776770cf0a5SDimitry Andric    }
777770cf0a5SDimitry Andric    module ranges_sort_heap {
778770cf0a5SDimitry Andric      header "__algorithm/ranges_sort_heap.h"
779770cf0a5SDimitry Andric      export std.functional.ranges_operations
780770cf0a5SDimitry Andric    }
781770cf0a5SDimitry Andric    module ranges_sort {
782770cf0a5SDimitry Andric      header "__algorithm/ranges_sort.h"
783770cf0a5SDimitry Andric      export std.functional.ranges_operations
784770cf0a5SDimitry Andric      export std.algorithm.sort
785770cf0a5SDimitry Andric      export std.algorithm.make_projected
786770cf0a5SDimitry Andric    }
787770cf0a5SDimitry Andric    module ranges_stable_partition {
788770cf0a5SDimitry Andric      header "__algorithm/ranges_stable_partition.h"
789770cf0a5SDimitry Andric      export std.ranges.subrange // return type
790770cf0a5SDimitry Andric    }
791770cf0a5SDimitry Andric    module ranges_stable_sort {
792770cf0a5SDimitry Andric      header "__algorithm/ranges_stable_sort.h"
793770cf0a5SDimitry Andric      export std.functional.ranges_operations
794770cf0a5SDimitry Andric    }
795770cf0a5SDimitry Andric    module ranges_starts_with {
796770cf0a5SDimitry Andric      header "__algorithm/ranges_starts_with.h"
797770cf0a5SDimitry Andric    }
798770cf0a5SDimitry Andric    module ranges_swap_ranges {
799770cf0a5SDimitry Andric      header "__algorithm/ranges_swap_ranges.h"
800770cf0a5SDimitry Andric      export std.algorithm.in_in_result
801770cf0a5SDimitry Andric    }
802770cf0a5SDimitry Andric    module ranges_transform {
803770cf0a5SDimitry Andric      header "__algorithm/ranges_transform.h"
804770cf0a5SDimitry Andric      export std.algorithm.in_out_result
805770cf0a5SDimitry Andric      export std.algorithm.in_in_out_result
806770cf0a5SDimitry Andric    }
807770cf0a5SDimitry Andric    module ranges_unique_copy {
808770cf0a5SDimitry Andric      header "__algorithm/ranges_unique_copy.h"
809770cf0a5SDimitry Andric    }
810770cf0a5SDimitry Andric    module ranges_unique {
811770cf0a5SDimitry Andric      header "__algorithm/ranges_unique.h"
812770cf0a5SDimitry Andric    }
813770cf0a5SDimitry Andric    module ranges_upper_bound {
814770cf0a5SDimitry Andric      header "__algorithm/ranges_upper_bound.h"
815770cf0a5SDimitry Andric      export std.functional.ranges_operations
816770cf0a5SDimitry Andric    }
817770cf0a5SDimitry Andric    module remove_copy_if                         { header "__algorithm/remove_copy_if.h" }
818770cf0a5SDimitry Andric    module remove_copy                            { header "__algorithm/remove_copy.h" }
819770cf0a5SDimitry Andric    module remove_if                              { header "__algorithm/remove_if.h" }
820770cf0a5SDimitry Andric    module remove                                 { header "__algorithm/remove.h" }
821770cf0a5SDimitry Andric    module replace_copy_if                        { header "__algorithm/replace_copy_if.h" }
822770cf0a5SDimitry Andric    module replace_copy                           { header "__algorithm/replace_copy.h" }
823770cf0a5SDimitry Andric    module replace_if                             { header "__algorithm/replace_if.h" }
824770cf0a5SDimitry Andric    module replace                                { header "__algorithm/replace.h" }
825770cf0a5SDimitry Andric    module reverse_copy                           { header "__algorithm/reverse_copy.h" }
826770cf0a5SDimitry Andric    module reverse                                { header "__algorithm/reverse.h" }
827770cf0a5SDimitry Andric    module rotate_copy                            { header "__algorithm/rotate_copy.h" }
828770cf0a5SDimitry Andric    module rotate                                 { header "__algorithm/rotate.h" }
829770cf0a5SDimitry Andric    module sample                                 { header "__algorithm/sample.h" }
830770cf0a5SDimitry Andric    module search_n                               { header "__algorithm/search_n.h" }
831770cf0a5SDimitry Andric    module search                                 { header "__algorithm/search.h" }
832770cf0a5SDimitry Andric    module set_difference                         { header "__algorithm/set_difference.h" }
833770cf0a5SDimitry Andric    module set_intersection                       { header "__algorithm/set_intersection.h" }
834770cf0a5SDimitry Andric    module set_symmetric_difference               { header "__algorithm/set_symmetric_difference.h" }
835770cf0a5SDimitry Andric    module set_union                              { header "__algorithm/set_union.h" }
836770cf0a5SDimitry Andric    module shift_left                             { header "__algorithm/shift_left.h" }
837770cf0a5SDimitry Andric    module shift_right                            { header "__algorithm/shift_right.h" }
838770cf0a5SDimitry Andric    module shuffle                                { header "__algorithm/shuffle.h" }
839770cf0a5SDimitry Andric    module sift_down                              { header "__algorithm/sift_down.h" }
840770cf0a5SDimitry Andric    module simd_utils                             { header "__algorithm/simd_utils.h" }
841770cf0a5SDimitry Andric    module sort_heap                              { header "__algorithm/sort_heap.h" }
842770cf0a5SDimitry Andric    module sort                                   { header "__algorithm/sort.h" }
843770cf0a5SDimitry Andric    module stable_partition                       { header "__algorithm/stable_partition.h" }
844770cf0a5SDimitry Andric    module stable_sort {
845770cf0a5SDimitry Andric      header "__algorithm/stable_sort.h"
846770cf0a5SDimitry Andric      export std.memory.unique_temporary_buffer // TODO: Workaround for https://github.com/llvm/llvm-project/issues/120108
847770cf0a5SDimitry Andric    }
848770cf0a5SDimitry Andric    module swap_ranges                            { header "__algorithm/swap_ranges.h" }
849770cf0a5SDimitry Andric    module three_way_comp_ref_type                { header "__algorithm/three_way_comp_ref_type.h" }
850770cf0a5SDimitry Andric    module transform                              { header "__algorithm/transform.h" }
851770cf0a5SDimitry Andric    module uniform_random_bit_generator_adaptor   { header "__algorithm/uniform_random_bit_generator_adaptor.h" }
852770cf0a5SDimitry Andric    module unique_copy                            { header "__algorithm/unique_copy.h" }
853770cf0a5SDimitry Andric    module unique                                 { header "__algorithm/unique.h" }
854770cf0a5SDimitry Andric    module unwrap_iter                            { header "__algorithm/unwrap_iter.h" }
855770cf0a5SDimitry Andric    module unwrap_range                           { header "__algorithm/unwrap_range.h" }
856770cf0a5SDimitry Andric    module upper_bound                            { header "__algorithm/upper_bound.h" }
857770cf0a5SDimitry Andric
858770cf0a5SDimitry Andric    header "algorithm"
859770cf0a5SDimitry Andric    export *
860770cf0a5SDimitry Andric  } // module algorithm
861770cf0a5SDimitry Andric
862770cf0a5SDimitry Andric  module any {
863770cf0a5SDimitry Andric    header "any"
864770cf0a5SDimitry Andric    export *
865770cf0a5SDimitry Andric  }
866770cf0a5SDimitry Andric
867770cf0a5SDimitry Andric  module array {
868770cf0a5SDimitry Andric    module fwd { header "__fwd/array.h" }
869770cf0a5SDimitry Andric
870770cf0a5SDimitry Andric    header "array"
871770cf0a5SDimitry Andric    export *
872770cf0a5SDimitry Andric    export std.iterator.reverse_iterator
873770cf0a5SDimitry Andric  }
874770cf0a5SDimitry Andric
875770cf0a5SDimitry Andric  module atomic {
876770cf0a5SDimitry Andric    module aliases                { header "__atomic/aliases.h" }
877770cf0a5SDimitry Andric    module atomic_flag            { header "__atomic/atomic_flag.h" }
878770cf0a5SDimitry Andric    module atomic_init            { header "__atomic/atomic_init.h" }
879770cf0a5SDimitry Andric    module atomic_lock_free       { header "__atomic/atomic_lock_free.h" }
880770cf0a5SDimitry Andric    module atomic_ref             { header "__atomic/atomic_ref.h" }
881770cf0a5SDimitry Andric    module atomic_sync            { header "__atomic/atomic_sync.h" }
882770cf0a5SDimitry Andric    module atomic {
883770cf0a5SDimitry Andric      header "__atomic/atomic.h"
884770cf0a5SDimitry Andric      export std.atomic.atomic_base // most of std::atomic methods are defined there
885770cf0a5SDimitry Andric    }
886770cf0a5SDimitry Andric    module check_memory_order     { header "__atomic/check_memory_order.h" }
887770cf0a5SDimitry Andric    module contention_t           { header "__atomic/contention_t.h" }
888770cf0a5SDimitry Andric    module fence                  { header "__atomic/fence.h" }
889770cf0a5SDimitry Andric    module is_always_lock_free    { header "__atomic/is_always_lock_free.h" }
890770cf0a5SDimitry Andric    module kill_dependency        { header "__atomic/kill_dependency.h" }
891770cf0a5SDimitry Andric    module memory_order           { header "__atomic/memory_order.h" }
892770cf0a5SDimitry Andric    module to_gcc_order           { header "__atomic/to_gcc_order.h" }
893770cf0a5SDimitry Andric
894770cf0a5SDimitry Andric    module support {
895770cf0a5SDimitry Andric      header "__atomic/support.h"
896770cf0a5SDimitry Andric      textual header "__atomic/support/c11.h"
897770cf0a5SDimitry Andric      textual header "__atomic/support/gcc.h"
898770cf0a5SDimitry Andric    }
899770cf0a5SDimitry Andric
900770cf0a5SDimitry Andric    header "atomic"
901770cf0a5SDimitry Andric    export *
902770cf0a5SDimitry Andric  }
903770cf0a5SDimitry Andric
904770cf0a5SDimitry Andric  module barrier {
905770cf0a5SDimitry Andric    header "barrier"
906770cf0a5SDimitry Andric    export *
907770cf0a5SDimitry Andric  }
908770cf0a5SDimitry Andric
909770cf0a5SDimitry Andric  module bit {
910770cf0a5SDimitry Andric    module bit_cast         { header "__bit/bit_cast.h" }
911770cf0a5SDimitry Andric    module bit_ceil         { header "__bit/bit_ceil.h" }
912770cf0a5SDimitry Andric    module bit_floor        { header "__bit/bit_floor.h" }
913770cf0a5SDimitry Andric    module bit_log2         { header "__bit/bit_log2.h" }
914770cf0a5SDimitry Andric    module bit_width        { header "__bit/bit_width.h" }
915770cf0a5SDimitry Andric    module blsr             { header "__bit/blsr.h" }
916770cf0a5SDimitry Andric    module byteswap         { header "__bit/byteswap.h" }
917770cf0a5SDimitry Andric    module countl           { header "__bit/countl.h" }
918770cf0a5SDimitry Andric    module countr           { header "__bit/countr.h" }
919770cf0a5SDimitry Andric    module endian           { header "__bit/endian.h" }
920770cf0a5SDimitry Andric    module has_single_bit   { header "__bit/has_single_bit.h" }
921770cf0a5SDimitry Andric    module invert_if        { header "__bit/invert_if.h" }
922770cf0a5SDimitry Andric    module popcount         { header "__bit/popcount.h" }
923770cf0a5SDimitry Andric    module rotate           { header "__bit/rotate.h" }
924770cf0a5SDimitry Andric
925770cf0a5SDimitry Andric    header "bit"
926770cf0a5SDimitry Andric    export *
927770cf0a5SDimitry Andric  }
928770cf0a5SDimitry Andric
929770cf0a5SDimitry Andric  module bitset {
930770cf0a5SDimitry Andric    header "bitset"
931770cf0a5SDimitry Andric    export *
932770cf0a5SDimitry Andric  }
933770cf0a5SDimitry Andric
934770cf0a5SDimitry Andric  module charconv {
935770cf0a5SDimitry Andric    module chars_format               { header "__charconv/chars_format.h" }
936770cf0a5SDimitry Andric    module from_chars_floating_point  { header "__charconv/from_chars_floating_point.h" }
937770cf0a5SDimitry Andric    module from_chars_integral        { header "__charconv/from_chars_integral.h" }
938770cf0a5SDimitry Andric    module from_chars_result          {
939770cf0a5SDimitry Andric      header "__charconv/from_chars_result.h"
940770cf0a5SDimitry Andric      export std.system_error.errc
941770cf0a5SDimitry Andric    }
942770cf0a5SDimitry Andric    module tables                     { header "__charconv/tables.h" }
943770cf0a5SDimitry Andric    module to_chars                   { header "__charconv/to_chars.h" }
944770cf0a5SDimitry Andric    module to_chars_base_10           { header "__charconv/to_chars_base_10.h" }
945770cf0a5SDimitry Andric    module to_chars_floating_point    { header "__charconv/to_chars_floating_point.h" }
946770cf0a5SDimitry Andric    module to_chars_integral          {
947770cf0a5SDimitry Andric      header "__charconv/to_chars_integral.h"
948770cf0a5SDimitry Andric      export std.charconv.to_chars_result
949770cf0a5SDimitry Andric    }
950770cf0a5SDimitry Andric    module to_chars_result            { header "__charconv/to_chars_result.h" }
951770cf0a5SDimitry Andric    module traits                     { header "__charconv/traits.h" }
952770cf0a5SDimitry Andric
953770cf0a5SDimitry Andric    header "charconv"
954770cf0a5SDimitry Andric    export *
955770cf0a5SDimitry Andric  }
956770cf0a5SDimitry Andric
957770cf0a5SDimitry Andric  module chrono {
958770cf0a5SDimitry Andric    module calendar                   { header "__chrono/calendar.h" }
959770cf0a5SDimitry Andric    module concepts                   { header "__chrono/concepts.h" }
960770cf0a5SDimitry Andric    module convert_to_timespec        { header "__chrono/convert_to_timespec.h" }
961770cf0a5SDimitry Andric    module convert_to_tm              { header "__chrono/convert_to_tm.h" }
962770cf0a5SDimitry Andric    module day                        { header "__chrono/day.h" }
963770cf0a5SDimitry Andric    module duration                   { header "__chrono/duration.h" }
964770cf0a5SDimitry Andric    module exception                  { header "__chrono/exception.h" }
965770cf0a5SDimitry Andric    module file_clock                 { header "__chrono/file_clock.h" }
966770cf0a5SDimitry Andric    module formatter                  { header "__chrono/formatter.h" }
967770cf0a5SDimitry Andric    module gps_clock {
968770cf0a5SDimitry Andric      header "__chrono/gps_clock.h"
969770cf0a5SDimitry Andric      export std.chrono.time_point
970770cf0a5SDimitry Andric    }
971770cf0a5SDimitry Andric    module hh_mm_ss                   { header "__chrono/hh_mm_ss.h" }
972770cf0a5SDimitry Andric    module high_resolution_clock {
973770cf0a5SDimitry Andric      header "__chrono/high_resolution_clock.h"
974770cf0a5SDimitry Andric      export *
975770cf0a5SDimitry Andric    }
976770cf0a5SDimitry Andric    module leap_second {
977770cf0a5SDimitry Andric      header "__chrono/leap_second.h"
978770cf0a5SDimitry Andric    }
979770cf0a5SDimitry Andric    module literals {
980770cf0a5SDimitry Andric      header "__chrono/literals.h"
981770cf0a5SDimitry Andric    }
982770cf0a5SDimitry Andric    module local_info {
983770cf0a5SDimitry Andric      header "__chrono/local_info.h"
984770cf0a5SDimitry Andric      export std.chrono.sys_info
985770cf0a5SDimitry Andric    }
986770cf0a5SDimitry Andric    module month_weekday              { header "__chrono/month_weekday.h" }
987770cf0a5SDimitry Andric    module month                      { header "__chrono/month.h" }
988770cf0a5SDimitry Andric    module monthday                   { header "__chrono/monthday.h" }
989770cf0a5SDimitry Andric    module ostream                    { header "__chrono/ostream.h" }
990770cf0a5SDimitry Andric    module parser_std_format_spec     { header "__chrono/parser_std_format_spec.h" }
991770cf0a5SDimitry Andric    module statically_widen           { header "__chrono/statically_widen.h" }
992770cf0a5SDimitry Andric    module steady_clock {
993770cf0a5SDimitry Andric      header "__chrono/steady_clock.h"
994770cf0a5SDimitry Andric      export std.chrono.time_point
995770cf0a5SDimitry Andric    }
996770cf0a5SDimitry Andric    module sys_info {
997770cf0a5SDimitry Andric      header "__chrono/sys_info.h"
998770cf0a5SDimitry Andric    }
999770cf0a5SDimitry Andric    module system_clock {
1000770cf0a5SDimitry Andric      header "__chrono/system_clock.h"
1001770cf0a5SDimitry Andric      export std.chrono.time_point
1002770cf0a5SDimitry Andric    }
1003770cf0a5SDimitry Andric    module tai_clock {
1004770cf0a5SDimitry Andric      header "__chrono/tai_clock.h"
1005770cf0a5SDimitry Andric      export std.chrono.time_point
1006770cf0a5SDimitry Andric    }
1007770cf0a5SDimitry Andric    module time_point                 { header "__chrono/time_point.h" }
1008770cf0a5SDimitry Andric    module time_zone_link             { header "__chrono/time_zone_link.h" }
1009770cf0a5SDimitry Andric    module time_zone                  { header "__chrono/time_zone.h" }
1010770cf0a5SDimitry Andric    module tzdb_list {
1011770cf0a5SDimitry Andric      header "__chrono/tzdb_list.h"
1012770cf0a5SDimitry Andric      export std.forward_list // forward_list iterators are used to implement this API
1013770cf0a5SDimitry Andric      export std.string_view // by-value argument of type std::string_view
1014770cf0a5SDimitry Andric    }
1015770cf0a5SDimitry Andric    module tzdb {
1016770cf0a5SDimitry Andric      header "__chrono/tzdb.h"
1017770cf0a5SDimitry Andric      export std.string // public data member of type std::string
1018770cf0a5SDimitry Andric      export std.vector // public data members of type std::vector
1019770cf0a5SDimitry Andric    }
1020770cf0a5SDimitry Andric    module utc_clock {
1021770cf0a5SDimitry Andric      header "__chrono/utc_clock.h"
1022770cf0a5SDimitry Andric      export std.chrono.time_point
1023770cf0a5SDimitry Andric    }
1024770cf0a5SDimitry Andric    module weekday                    { header "__chrono/weekday.h" }
1025770cf0a5SDimitry Andric    module year_month_day             { header "__chrono/year_month_day.h" }
1026770cf0a5SDimitry Andric    module year_month_weekday         { header "__chrono/year_month_weekday.h" }
1027770cf0a5SDimitry Andric    module year_month                 { header "__chrono/year_month.h" }
1028770cf0a5SDimitry Andric    module year                       { header "__chrono/year.h" }
1029770cf0a5SDimitry Andric    module zoned_time                 { header "__chrono/zoned_time.h" }
1030770cf0a5SDimitry Andric
1031770cf0a5SDimitry Andric    header "chrono"
1032770cf0a5SDimitry Andric    export *
1033770cf0a5SDimitry Andric  } // module chrono
1034770cf0a5SDimitry Andric
1035770cf0a5SDimitry Andric  module codecvt {
1036770cf0a5SDimitry Andric    header "codecvt"
1037770cf0a5SDimitry Andric    export *
1038770cf0a5SDimitry Andric  }
1039770cf0a5SDimitry Andric
1040770cf0a5SDimitry Andric  module compare {
1041770cf0a5SDimitry Andric    module common_comparison_category       { header "__compare/common_comparison_category.h" }
1042770cf0a5SDimitry Andric    module compare_partial_order_fallback   { header "__compare/compare_partial_order_fallback.h" }
1043770cf0a5SDimitry Andric    module compare_strong_order_fallback    { header "__compare/compare_strong_order_fallback.h" }
1044770cf0a5SDimitry Andric    module compare_three_way                { header "__compare/compare_three_way.h" }
1045770cf0a5SDimitry Andric    module compare_three_way_result         { header "__compare/compare_three_way_result.h" }
1046770cf0a5SDimitry Andric    module compare_weak_order_fallback      { header "__compare/compare_weak_order_fallback.h" }
1047770cf0a5SDimitry Andric    module is_eq                            { header "__compare/is_eq.h" }
1048770cf0a5SDimitry Andric    module ordering                         { header "__compare/ordering.h" }
1049770cf0a5SDimitry Andric    module partial_order                    { header "__compare/partial_order.h" }
1050770cf0a5SDimitry Andric    module strong_order                     { header "__compare/strong_order.h" }
1051770cf0a5SDimitry Andric    module synth_three_way                  { header "__compare/synth_three_way.h" }
1052770cf0a5SDimitry Andric    module three_way_comparable             { header "__compare/three_way_comparable.h" }
1053770cf0a5SDimitry Andric    module weak_order                       { header "__compare/weak_order.h" }
1054770cf0a5SDimitry Andric
1055770cf0a5SDimitry Andric    header "compare"
1056770cf0a5SDimitry Andric    export *
1057770cf0a5SDimitry Andric  }
1058770cf0a5SDimitry Andric
1059770cf0a5SDimitry Andric  module complex {
1060770cf0a5SDimitry Andric    module fwd { header "__fwd/complex.h" }
1061770cf0a5SDimitry Andric
1062770cf0a5SDimitry Andric    header "complex"
1063770cf0a5SDimitry Andric    export *
1064770cf0a5SDimitry Andric  }
1065770cf0a5SDimitry Andric
1066770cf0a5SDimitry Andric  module concepts {
1067770cf0a5SDimitry Andric    module arithmetic               { header "__concepts/arithmetic.h" }
1068770cf0a5SDimitry Andric    module assignable               { header "__concepts/assignable.h" }
1069770cf0a5SDimitry Andric    module boolean_testable         { header "__concepts/boolean_testable.h" }
1070770cf0a5SDimitry Andric    module class_or_enum            { header "__concepts/class_or_enum.h" }
1071770cf0a5SDimitry Andric    module common_reference_with    { header "__concepts/common_reference_with.h" }
1072770cf0a5SDimitry Andric    module common_with              { header "__concepts/common_with.h" }
1073770cf0a5SDimitry Andric    module constructible            { header "__concepts/constructible.h" }
1074770cf0a5SDimitry Andric    module convertible_to           { header "__concepts/convertible_to.h" }
1075770cf0a5SDimitry Andric    module copyable                 { header "__concepts/copyable.h" }
1076770cf0a5SDimitry Andric    module derived_from             { header "__concepts/derived_from.h" }
1077770cf0a5SDimitry Andric    module destructible             { header "__concepts/destructible.h" }
1078770cf0a5SDimitry Andric    module different_from           { header "__concepts/different_from.h" }
1079770cf0a5SDimitry Andric    module equality_comparable      { header "__concepts/equality_comparable.h" }
1080770cf0a5SDimitry Andric    module invocable                { header "__concepts/invocable.h" }
1081770cf0a5SDimitry Andric    module movable                  { header "__concepts/movable.h" }
1082770cf0a5SDimitry Andric    module predicate                { header "__concepts/predicate.h" }
1083770cf0a5SDimitry Andric    module regular                  { header "__concepts/regular.h" }
1084770cf0a5SDimitry Andric    module relation                 { header "__concepts/relation.h" }
1085770cf0a5SDimitry Andric    module same_as                  { header "__concepts/same_as.h" }
1086770cf0a5SDimitry Andric    module semiregular              { header "__concepts/semiregular.h" }
1087770cf0a5SDimitry Andric    module swappable                { header "__concepts/swappable.h" }
1088770cf0a5SDimitry Andric    module totally_ordered          { header "__concepts/totally_ordered.h" }
1089770cf0a5SDimitry Andric
1090770cf0a5SDimitry Andric    header "concepts"
1091770cf0a5SDimitry Andric    export *
1092770cf0a5SDimitry Andric  }
1093770cf0a5SDimitry Andric
1094770cf0a5SDimitry Andric  module condition_variable {
1095770cf0a5SDimitry Andric    module condition_variable   { header "__condition_variable/condition_variable.h" }
1096770cf0a5SDimitry Andric
1097770cf0a5SDimitry Andric    header "condition_variable"
1098770cf0a5SDimitry Andric    export *
1099770cf0a5SDimitry Andric  }
1100770cf0a5SDimitry Andric
1101770cf0a5SDimitry Andric  module cassert {
1102770cf0a5SDimitry Andric    textual header "cassert" // NDEBUG requires textual inclusion
1103770cf0a5SDimitry Andric  }
1104770cf0a5SDimitry Andric
1105770cf0a5SDimitry Andric  module ccomplex {
1106770cf0a5SDimitry Andric    header "ccomplex"
1107770cf0a5SDimitry Andric    export *
1108770cf0a5SDimitry Andric  }
1109770cf0a5SDimitry Andric
1110770cf0a5SDimitry Andric  module cctype {
1111770cf0a5SDimitry Andric    header "cctype"
1112770cf0a5SDimitry Andric    export *
1113770cf0a5SDimitry Andric  }
1114770cf0a5SDimitry Andric
1115770cf0a5SDimitry Andric  module cerrno {
1116770cf0a5SDimitry Andric    header "cerrno"
1117770cf0a5SDimitry Andric    export *
1118770cf0a5SDimitry Andric  }
1119770cf0a5SDimitry Andric
1120770cf0a5SDimitry Andric  module cfenv {
1121770cf0a5SDimitry Andric    header "cfenv"
1122770cf0a5SDimitry Andric    export *
1123770cf0a5SDimitry Andric  }
1124770cf0a5SDimitry Andric
1125770cf0a5SDimitry Andric  module cfloat {
1126770cf0a5SDimitry Andric    header "cfloat"
1127770cf0a5SDimitry Andric    export *
1128770cf0a5SDimitry Andric  }
1129770cf0a5SDimitry Andric
1130770cf0a5SDimitry Andric  module cinttypes {
1131770cf0a5SDimitry Andric    header "cinttypes"
1132770cf0a5SDimitry Andric    export *
1133770cf0a5SDimitry Andric  }
1134770cf0a5SDimitry Andric
1135770cf0a5SDimitry Andric  module ciso646 {
1136770cf0a5SDimitry Andric    header "ciso646"
1137770cf0a5SDimitry Andric    export *
1138770cf0a5SDimitry Andric  }
1139770cf0a5SDimitry Andric
1140770cf0a5SDimitry Andric  module climits {
1141770cf0a5SDimitry Andric    header "climits"
1142770cf0a5SDimitry Andric    export *
1143770cf0a5SDimitry Andric  }
1144770cf0a5SDimitry Andric
1145770cf0a5SDimitry Andric  module clocale {
1146770cf0a5SDimitry Andric    header "clocale"
1147770cf0a5SDimitry Andric    export *
1148770cf0a5SDimitry Andric  }
1149770cf0a5SDimitry Andric
1150770cf0a5SDimitry Andric  module cmath {
1151770cf0a5SDimitry Andric    header "cmath"
1152770cf0a5SDimitry Andric    export *
1153770cf0a5SDimitry Andric  }
1154770cf0a5SDimitry Andric
1155770cf0a5SDimitry Andric  // TODO: Make non-textual. This seems to cause problems when compiling against Glibc.
1156770cf0a5SDimitry Andric  module csetjmp {
1157770cf0a5SDimitry Andric    textual header "csetjmp"
1158770cf0a5SDimitry Andric  }
1159770cf0a5SDimitry Andric
1160770cf0a5SDimitry Andric  module csignal {
1161770cf0a5SDimitry Andric    header "csignal"
1162770cf0a5SDimitry Andric    export *
1163770cf0a5SDimitry Andric  }
1164770cf0a5SDimitry Andric
1165770cf0a5SDimitry Andric  module cstdalign {
1166770cf0a5SDimitry Andric    header "cstdalign"
1167770cf0a5SDimitry Andric    export *
1168770cf0a5SDimitry Andric  }
1169770cf0a5SDimitry Andric
1170770cf0a5SDimitry Andric  module cstdarg {
1171770cf0a5SDimitry Andric    header "cstdarg"
1172770cf0a5SDimitry Andric    export *
1173770cf0a5SDimitry Andric  }
1174770cf0a5SDimitry Andric
1175770cf0a5SDimitry Andric  module cstdbool {
1176770cf0a5SDimitry Andric    header "cstdbool"
1177770cf0a5SDimitry Andric    export *
1178770cf0a5SDimitry Andric  }
1179770cf0a5SDimitry Andric
1180770cf0a5SDimitry Andric  module cstddef {
1181770cf0a5SDimitry Andric    header "cstddef"
1182770cf0a5SDimitry Andric    export *
1183770cf0a5SDimitry Andric  }
1184770cf0a5SDimitry Andric
1185770cf0a5SDimitry Andric  module cstdio {
1186770cf0a5SDimitry Andric    header "cstdio"
1187770cf0a5SDimitry Andric    export *
1188770cf0a5SDimitry Andric  }
1189770cf0a5SDimitry Andric
1190770cf0a5SDimitry Andric  module cstdlib {
1191770cf0a5SDimitry Andric    header "cstdlib"
1192770cf0a5SDimitry Andric    export *
1193770cf0a5SDimitry Andric  }
1194770cf0a5SDimitry Andric
1195770cf0a5SDimitry Andric  module cstring {
1196770cf0a5SDimitry Andric    header "cstring"
1197770cf0a5SDimitry Andric    export *
1198770cf0a5SDimitry Andric  }
1199770cf0a5SDimitry Andric
1200770cf0a5SDimitry Andric  module ctgmath {
1201770cf0a5SDimitry Andric    header "ctgmath"
1202770cf0a5SDimitry Andric    export *
1203770cf0a5SDimitry Andric  }
1204770cf0a5SDimitry Andric
1205770cf0a5SDimitry Andric  module ctime {
1206770cf0a5SDimitry Andric    header "ctime"
1207770cf0a5SDimitry Andric    export *
1208770cf0a5SDimitry Andric  }
1209770cf0a5SDimitry Andric
1210770cf0a5SDimitry Andric  module cuchar {
1211770cf0a5SDimitry Andric    header "cuchar"
1212770cf0a5SDimitry Andric    export *
1213770cf0a5SDimitry Andric  }
1214770cf0a5SDimitry Andric
1215770cf0a5SDimitry Andric  module cwchar {
1216770cf0a5SDimitry Andric    header "cwchar"
1217770cf0a5SDimitry Andric    export *
1218770cf0a5SDimitry Andric  }
1219770cf0a5SDimitry Andric
1220770cf0a5SDimitry Andric  module cwctype {
1221770cf0a5SDimitry Andric    header "cwctype"
1222770cf0a5SDimitry Andric    export *
1223770cf0a5SDimitry Andric  }
1224770cf0a5SDimitry Andric
1225770cf0a5SDimitry Andric  module deque {
1226770cf0a5SDimitry Andric    module fwd { header "__fwd/deque.h" }
1227770cf0a5SDimitry Andric
1228770cf0a5SDimitry Andric    header "deque"
1229770cf0a5SDimitry Andric    export *
1230770cf0a5SDimitry Andric    export std.iterator.reverse_iterator
1231770cf0a5SDimitry Andric  }
1232770cf0a5SDimitry Andric
1233770cf0a5SDimitry Andric  module exception {
1234770cf0a5SDimitry Andric    module exception          { header "__exception/exception.h" }
1235770cf0a5SDimitry Andric    module exception_ptr      { header "__exception/exception_ptr.h" }
1236770cf0a5SDimitry Andric    module nested_exception   { header "__exception/nested_exception.h" }
1237770cf0a5SDimitry Andric    module operations         { header "__exception/operations.h" }
1238770cf0a5SDimitry Andric    module terminate          { header "__exception/terminate.h" }
1239770cf0a5SDimitry Andric
1240770cf0a5SDimitry Andric    header "exception"
1241770cf0a5SDimitry Andric    export *
1242770cf0a5SDimitry Andric  }
1243770cf0a5SDimitry Andric
1244770cf0a5SDimitry Andric  module execution {
1245770cf0a5SDimitry Andric    header "execution"
1246770cf0a5SDimitry Andric    export *
1247770cf0a5SDimitry Andric  }
1248770cf0a5SDimitry Andric
1249770cf0a5SDimitry Andric  module expected {
1250770cf0a5SDimitry Andric    module bad_expected_access    { header "__expected/bad_expected_access.h" }
1251770cf0a5SDimitry Andric    module expected               { header "__expected/expected.h" }
1252770cf0a5SDimitry Andric    module unexpect               { header "__expected/unexpect.h" }
1253770cf0a5SDimitry Andric    module unexpected             { header "__expected/unexpected.h" }
1254770cf0a5SDimitry Andric
1255770cf0a5SDimitry Andric    header "expected"
1256770cf0a5SDimitry Andric    export *
1257770cf0a5SDimitry Andric  }
1258770cf0a5SDimitry Andric
1259770cf0a5SDimitry Andric  module filesystem {
1260770cf0a5SDimitry Andric    module copy_options                   { header "__filesystem/copy_options.h" }
1261770cf0a5SDimitry Andric    module directory_entry                { header "__filesystem/directory_entry.h" }
1262770cf0a5SDimitry Andric    module directory_iterator             {
1263770cf0a5SDimitry Andric      header "__filesystem/directory_iterator.h"
1264770cf0a5SDimitry Andric      // This is a workaround for https://github.com/llvm/llvm-project/issues/120108.
1265770cf0a5SDimitry Andric      export *
1266770cf0a5SDimitry Andric    }
1267770cf0a5SDimitry Andric    module directory_options              { header "__filesystem/directory_options.h" }
1268770cf0a5SDimitry Andric    module file_status                    { header "__filesystem/file_status.h" }
1269770cf0a5SDimitry Andric    module file_time_type                 { header "__filesystem/file_time_type.h" }
1270770cf0a5SDimitry Andric    module file_type                      { header "__filesystem/file_type.h" }
1271770cf0a5SDimitry Andric    module filesystem_error               { header "__filesystem/filesystem_error.h" }
1272770cf0a5SDimitry Andric    module operations                     { header "__filesystem/operations.h" }
1273770cf0a5SDimitry Andric    module path_iterator                  { header "__filesystem/path_iterator.h" }
1274770cf0a5SDimitry Andric    module path                           {
1275770cf0a5SDimitry Andric      header "__filesystem/path.h"
1276770cf0a5SDimitry Andric      export std.string // returned by various methods of filesystem::path
1277770cf0a5SDimitry Andric    }
1278770cf0a5SDimitry Andric    module perm_options                   { header "__filesystem/perm_options.h" }
1279770cf0a5SDimitry Andric    module perms                          { header "__filesystem/perms.h" }
1280770cf0a5SDimitry Andric    module recursive_directory_iterator   { header "__filesystem/recursive_directory_iterator.h" }
1281770cf0a5SDimitry Andric    module space_info                     { header "__filesystem/space_info.h" }
1282770cf0a5SDimitry Andric    module u8path                         { header "__filesystem/u8path.h" }
1283770cf0a5SDimitry Andric
1284770cf0a5SDimitry Andric    header "filesystem"
1285770cf0a5SDimitry Andric    export *
1286770cf0a5SDimitry Andric  }
1287770cf0a5SDimitry Andric
1288770cf0a5SDimitry Andric  module flat_map {
1289770cf0a5SDimitry Andric    module flat_map                       {
1290770cf0a5SDimitry Andric      header "__flat_map/flat_map.h"
1291770cf0a5SDimitry Andric      export std.vector.vector
1292770cf0a5SDimitry Andric      export std.vector.fwd
1293770cf0a5SDimitry Andric    }
1294770cf0a5SDimitry Andric    module flat_multimap                  {
1295770cf0a5SDimitry Andric      header "__flat_map/flat_multimap.h"
1296770cf0a5SDimitry Andric      export std.vector.vector
1297770cf0a5SDimitry Andric      export std.vector.fwd
1298770cf0a5SDimitry Andric    }
1299770cf0a5SDimitry Andric    module key_value_iterator             { header "__flat_map/key_value_iterator.h" }
1300770cf0a5SDimitry Andric    module sorted_equivalent              { header "__flat_map/sorted_equivalent.h" }
1301770cf0a5SDimitry Andric    module sorted_unique                  { header "__flat_map/sorted_unique.h" }
1302770cf0a5SDimitry Andric    module utils                          { header "__flat_map/utils.h" }
1303770cf0a5SDimitry Andric
1304770cf0a5SDimitry Andric    header "flat_map"
1305770cf0a5SDimitry Andric    export *
1306770cf0a5SDimitry Andric    export std.algorithm.ranges_sort
1307770cf0a5SDimitry Andric    export std.iterator.reverse_iterator
1308770cf0a5SDimitry Andric    export std.ranges.zip_view
1309770cf0a5SDimitry Andric    export std.tuple
1310770cf0a5SDimitry Andric  }
1311770cf0a5SDimitry Andric
1312770cf0a5SDimitry Andric  module flat_set {
1313770cf0a5SDimitry Andric    module flat_set                       {
1314770cf0a5SDimitry Andric      header "__flat_set/flat_set.h"
1315770cf0a5SDimitry Andric      header "__flat_set/flat_multiset.h"
1316770cf0a5SDimitry Andric      export std.vector.vector
1317770cf0a5SDimitry Andric      export std.vector.fwd
1318770cf0a5SDimitry Andric    }
1319770cf0a5SDimitry Andric    module ra_iterator                    { header "__flat_set/ra_iterator.h" }
1320770cf0a5SDimitry Andric    module utils                          { header "__flat_set/utils.h" }
1321770cf0a5SDimitry Andric
1322770cf0a5SDimitry Andric    header "flat_set"
1323770cf0a5SDimitry Andric    export std.flat_map.sorted_unique
1324770cf0a5SDimitry Andric    export std.flat_map.sorted_equivalent
1325770cf0a5SDimitry Andric    export *
1326770cf0a5SDimitry Andric    export std.algorithm.ranges_sort
1327770cf0a5SDimitry Andric    export std.iterator.reverse_iterator
1328770cf0a5SDimitry Andric    export std.ranges.zip_view
1329770cf0a5SDimitry Andric    export std.tuple
1330770cf0a5SDimitry Andric  }
1331770cf0a5SDimitry Andric
1332770cf0a5SDimitry Andric  module format {
1333770cf0a5SDimitry Andric    module buffer                             {
1334770cf0a5SDimitry Andric      header "__format/buffer.h"
1335770cf0a5SDimitry Andric      export std.iterator.back_insert_iterator
1336770cf0a5SDimitry Andric    }
1337770cf0a5SDimitry Andric    module concepts                           { header "__format/concepts.h" }
1338770cf0a5SDimitry Andric    module container_adaptor                  { header "__format/container_adaptor.h" }
1339770cf0a5SDimitry Andric    module enable_insertable                  { header "__format/enable_insertable.h" }
1340770cf0a5SDimitry Andric    module escaped_output_table               { header "__format/escaped_output_table.h" }
1341770cf0a5SDimitry Andric    module extended_grapheme_cluster_table    { header "__format/extended_grapheme_cluster_table.h" }
1342770cf0a5SDimitry Andric    module format_arg                         { header "__format/format_arg.h" }
1343770cf0a5SDimitry Andric    module format_arg_store                   { header "__format/format_arg_store.h" }
1344770cf0a5SDimitry Andric    module format_args                        { header "__format/format_args.h" }
1345770cf0a5SDimitry Andric    module format_context {
1346770cf0a5SDimitry Andric      header "__format/format_context.h"
1347770cf0a5SDimitry Andric      export std.optional // default argument for __format_context_create
1348770cf0a5SDimitry Andric    }
1349770cf0a5SDimitry Andric    module format_error {
1350770cf0a5SDimitry Andric      header "__format/format_error.h"
1351770cf0a5SDimitry Andric    }
1352770cf0a5SDimitry Andric    module format_functions {
1353770cf0a5SDimitry Andric      header "__format/format_functions.h"
1354770cf0a5SDimitry Andric      export std.string // returned by the functions in that header
1355770cf0a5SDimitry Andric    }
1356770cf0a5SDimitry Andric    module format_parse_context               { header "__format/format_parse_context.h" }
1357770cf0a5SDimitry Andric    module format_string                      { header "__format/format_string.h" }
1358770cf0a5SDimitry Andric    module format_to_n_result                 { header "__format/format_to_n_result.h" }
1359770cf0a5SDimitry Andric    module formatter                          { header "__format/formatter.h" }
1360770cf0a5SDimitry Andric    module formatter_bool                     { header "__format/formatter_bool.h" }
1361770cf0a5SDimitry Andric    module formatter_char                     { header "__format/formatter_char.h" }
1362770cf0a5SDimitry Andric    module formatter_floating_point           { header "__format/formatter_floating_point.h" }
1363770cf0a5SDimitry Andric    module formatter_integer                  { header "__format/formatter_integer.h" }
1364770cf0a5SDimitry Andric    module formatter_integral                 { header "__format/formatter_integral.h" }
1365770cf0a5SDimitry Andric    module formatter_output                   { header "__format/formatter_output.h" }
1366770cf0a5SDimitry Andric    module formatter_pointer                  { header "__format/formatter_pointer.h" }
1367770cf0a5SDimitry Andric    module formatter_string                   { header "__format/formatter_string.h" }
1368770cf0a5SDimitry Andric    module formatter_tuple                    { header "__format/formatter_tuple.h" }
1369770cf0a5SDimitry Andric    module fwd                                { header "__fwd/format.h" }
1370770cf0a5SDimitry Andric    module indic_conjunct_break_table         { header "__format/indic_conjunct_break_table.h" }
1371770cf0a5SDimitry Andric    module parser_std_format_spec             { header "__format/parser_std_format_spec.h" }
1372770cf0a5SDimitry Andric    module range_default_formatter            { header "__format/range_default_formatter.h" }
1373770cf0a5SDimitry Andric    module range_formatter                    { header "__format/range_formatter.h" }
1374770cf0a5SDimitry Andric    module unicode                            { header "__format/unicode.h" }
1375770cf0a5SDimitry Andric    module width_estimation_table             { header "__format/width_estimation_table.h" }
1376770cf0a5SDimitry Andric    module write_escaped                      { header "__format/write_escaped.h" }
1377770cf0a5SDimitry Andric
1378770cf0a5SDimitry Andric    header "format"
1379770cf0a5SDimitry Andric    export *
1380770cf0a5SDimitry Andric  } // module format
1381770cf0a5SDimitry Andric
1382770cf0a5SDimitry Andric  module forward_list {
1383770cf0a5SDimitry Andric    header "forward_list"
1384770cf0a5SDimitry Andric    export *
1385770cf0a5SDimitry Andric    export std.iterator.reverse_iterator
1386770cf0a5SDimitry Andric  }
1387770cf0a5SDimitry Andric
1388770cf0a5SDimitry Andric  module fstream {
1389770cf0a5SDimitry Andric    module fwd { header "__fwd/fstream.h" }
1390770cf0a5SDimitry Andric
1391770cf0a5SDimitry Andric    header "fstream"
1392770cf0a5SDimitry Andric    export *
1393770cf0a5SDimitry Andric  }
1394770cf0a5SDimitry Andric
1395770cf0a5SDimitry Andric  module functional {
1396770cf0a5SDimitry Andric    module binary_function              { header "__functional/binary_function.h" }
1397770cf0a5SDimitry Andric    module binary_negate                { header "__functional/binary_negate.h" }
1398770cf0a5SDimitry Andric    module bind_back {
1399770cf0a5SDimitry Andric      header "__functional/bind_back.h"
1400770cf0a5SDimitry Andric      export std.functional.perfect_forward // inherited from and using its operators
1401770cf0a5SDimitry Andric    }
1402770cf0a5SDimitry Andric    module bind_front {
1403770cf0a5SDimitry Andric      header "__functional/bind_front.h"
1404770cf0a5SDimitry Andric      export std.functional.perfect_forward // inherited from and using its operators
1405770cf0a5SDimitry Andric    }
1406770cf0a5SDimitry Andric    module bind                         { header "__functional/bind.h" }
1407770cf0a5SDimitry Andric    module binder1st                    { header "__functional/binder1st.h" }
1408770cf0a5SDimitry Andric    module binder2nd                    { header "__functional/binder2nd.h" }
1409770cf0a5SDimitry Andric    module boyer_moore_searcher {
1410770cf0a5SDimitry Andric      header "__functional/boyer_moore_searcher.h"
1411770cf0a5SDimitry Andric      export std.memory.shared_ptr
1412770cf0a5SDimitry Andric    }
1413770cf0a5SDimitry Andric    module compose {
1414770cf0a5SDimitry Andric      header "__functional/compose.h"
1415770cf0a5SDimitry Andric      export std.functional.perfect_forward // inherited from and using its operators
1416770cf0a5SDimitry Andric    }
1417770cf0a5SDimitry Andric    module default_searcher             { header "__functional/default_searcher.h" }
1418770cf0a5SDimitry Andric    module function                     { header "__functional/function.h" }
1419770cf0a5SDimitry Andric    module hash                         { header "__functional/hash.h" }
1420770cf0a5SDimitry Andric    module identity                     { header "__functional/identity.h" }
1421770cf0a5SDimitry Andric    module invoke                       { header "__functional/invoke.h" }
1422770cf0a5SDimitry Andric    module is_transparent               { header "__functional/is_transparent.h" }
1423770cf0a5SDimitry Andric    module mem_fn                       { header "__functional/mem_fn.h" }
1424770cf0a5SDimitry Andric    module mem_fun_ref                  { header "__functional/mem_fun_ref.h" }
1425770cf0a5SDimitry Andric    module not_fn {
1426770cf0a5SDimitry Andric      header "__functional/not_fn.h"
1427770cf0a5SDimitry Andric      export std.functional.perfect_forward // inherited from and using its operators
1428770cf0a5SDimitry Andric    }
1429770cf0a5SDimitry Andric    module operations {
1430770cf0a5SDimitry Andric      header "__functional/operations.h"
1431770cf0a5SDimitry Andric      export std_core.fwd.functional
1432770cf0a5SDimitry Andric    }
1433770cf0a5SDimitry Andric    module perfect_forward {
1434770cf0a5SDimitry Andric      header "__functional/perfect_forward.h"
1435770cf0a5SDimitry Andric      export std.tuple
1436770cf0a5SDimitry Andric    }
1437770cf0a5SDimitry Andric    module pointer_to_binary_function   { header "__functional/pointer_to_binary_function.h" }
1438770cf0a5SDimitry Andric    module pointer_to_unary_function    { header "__functional/pointer_to_unary_function.h" }
1439770cf0a5SDimitry Andric    module ranges_operations            { header "__functional/ranges_operations.h" }
1440770cf0a5SDimitry Andric    module reference_wrapper            { header "__functional/reference_wrapper.h" }
1441770cf0a5SDimitry Andric    module unary_function               { header "__functional/unary_function.h" }
1442770cf0a5SDimitry Andric    module unary_negate                 { header "__functional/unary_negate.h" }
1443770cf0a5SDimitry Andric    module weak_result_type             { header "__functional/weak_result_type.h" }
1444770cf0a5SDimitry Andric
1445770cf0a5SDimitry Andric    header "functional"
1446770cf0a5SDimitry Andric    export *
1447770cf0a5SDimitry Andric  } // module functional
1448770cf0a5SDimitry Andric
1449770cf0a5SDimitry Andric  module future {
1450770cf0a5SDimitry Andric    header "future"
1451770cf0a5SDimitry Andric    export *
1452770cf0a5SDimitry Andric  }
1453770cf0a5SDimitry Andric
1454770cf0a5SDimitry Andric  module initializer_list {
1455770cf0a5SDimitry Andric    header "initializer_list"
1456770cf0a5SDimitry Andric    export *
1457770cf0a5SDimitry Andric  }
1458770cf0a5SDimitry Andric
1459770cf0a5SDimitry Andric  module iomanip {
1460770cf0a5SDimitry Andric    header "iomanip"
1461770cf0a5SDimitry Andric    export *
1462770cf0a5SDimitry Andric  }
1463770cf0a5SDimitry Andric
1464770cf0a5SDimitry Andric  module ios {
1465770cf0a5SDimitry Andric    module fwd  { header "__fwd/ios.h" }
1466770cf0a5SDimitry Andric    module fpos { header "__ios/fpos.h" }
1467770cf0a5SDimitry Andric
1468770cf0a5SDimitry Andric    header "ios"
1469770cf0a5SDimitry Andric    export *
1470770cf0a5SDimitry Andric  }
1471770cf0a5SDimitry Andric
1472770cf0a5SDimitry Andric  module iosfwd {
1473770cf0a5SDimitry Andric    header "iosfwd"
1474770cf0a5SDimitry Andric    export *
1475770cf0a5SDimitry Andric  }
1476770cf0a5SDimitry Andric
1477770cf0a5SDimitry Andric  module iostream {
1478770cf0a5SDimitry Andric    header "iostream"
1479770cf0a5SDimitry Andric    export *
1480770cf0a5SDimitry Andric  }
1481770cf0a5SDimitry Andric
1482770cf0a5SDimitry Andric  module istream {
1483770cf0a5SDimitry Andric    module fwd { header "__fwd/istream.h" }
1484770cf0a5SDimitry Andric
1485770cf0a5SDimitry Andric    header "istream"
1486770cf0a5SDimitry Andric    export std.ios // base class
1487770cf0a5SDimitry Andric  }
1488770cf0a5SDimitry Andric
1489770cf0a5SDimitry Andric  module iterator {
1490770cf0a5SDimitry Andric    module access                     { header "__iterator/access.h" }
1491770cf0a5SDimitry Andric    module advance                    { header "__iterator/advance.h" }
1492770cf0a5SDimitry Andric    module aliasing_iterator          { header "__iterator/aliasing_iterator.h" }
1493770cf0a5SDimitry Andric    module back_insert_iterator       { header "__iterator/back_insert_iterator.h" }
1494770cf0a5SDimitry Andric    module bounded_iter               { header "__iterator/bounded_iter.h" }
1495770cf0a5SDimitry Andric    module common_iterator            { header "__iterator/common_iterator.h" }
1496770cf0a5SDimitry Andric    module concepts {
1497770cf0a5SDimitry Andric      header "__iterator/concepts.h"
1498770cf0a5SDimitry Andric      export std_core.type_traits.common_reference
1499770cf0a5SDimitry Andric    }
1500770cf0a5SDimitry Andric    module counted_iterator           { header "__iterator/counted_iterator.h" }
1501770cf0a5SDimitry Andric    module cpp17_iterator_concepts    { header "__iterator/cpp17_iterator_concepts.h" }
1502770cf0a5SDimitry Andric    module data                       { header "__iterator/data.h" }
1503770cf0a5SDimitry Andric    module default_sentinel           { header "__iterator/default_sentinel.h" }
1504770cf0a5SDimitry Andric    module distance                   { header "__iterator/distance.h" }
1505770cf0a5SDimitry Andric    module empty                      { header "__iterator/empty.h" }
1506770cf0a5SDimitry Andric    module erase_if_container         { header "__iterator/erase_if_container.h" }
1507770cf0a5SDimitry Andric    module front_insert_iterator      { header "__iterator/front_insert_iterator.h" }
1508770cf0a5SDimitry Andric    module incrementable_traits       { header "__iterator/incrementable_traits.h" }
1509770cf0a5SDimitry Andric    module indirectly_comparable      { header "__iterator/indirectly_comparable.h" }
1510770cf0a5SDimitry Andric    module insert_iterator            { header "__iterator/insert_iterator.h" }
1511770cf0a5SDimitry Andric    module istream_iterator           { header "__iterator/istream_iterator.h" }
1512770cf0a5SDimitry Andric    module istreambuf_iterator        {
1513770cf0a5SDimitry Andric      header "__iterator/istreambuf_iterator.h"
1514770cf0a5SDimitry Andric      export std.string.char_traits
1515770cf0a5SDimitry Andric    }
1516770cf0a5SDimitry Andric    module iter_move                  { header "__iterator/iter_move.h" }
1517770cf0a5SDimitry Andric    module iter_swap                  { header "__iterator/iter_swap.h" }
1518770cf0a5SDimitry Andric    module iterator_traits {
1519770cf0a5SDimitry Andric      header "__iterator/iterator_traits.h"
1520770cf0a5SDimitry Andric      export std_core.type_traits.integral_constant
1521770cf0a5SDimitry Andric      export std_core.type_traits.is_convertible
1522770cf0a5SDimitry Andric    }
1523770cf0a5SDimitry Andric    module iterator_with_data         { header "__iterator/iterator_with_data.h" }
1524770cf0a5SDimitry Andric    module iterator                   { header "__iterator/iterator.h" }
1525770cf0a5SDimitry Andric    module mergeable                  { header "__iterator/mergeable.h" }
1526770cf0a5SDimitry Andric    module move_iterator              { header "__iterator/move_iterator.h" }
1527770cf0a5SDimitry Andric    module move_sentinel              { header "__iterator/move_sentinel.h" }
1528770cf0a5SDimitry Andric    module next                       { header "__iterator/next.h" }
1529770cf0a5SDimitry Andric    module ostream_iterator           { header "__iterator/ostream_iterator.h" }
1530770cf0a5SDimitry Andric    module ostreambuf_iterator {
1531770cf0a5SDimitry Andric      header "__iterator/ostreambuf_iterator.h"
1532770cf0a5SDimitry Andric      export iosfwd // for default template argument of ostreambuf_iterator
1533770cf0a5SDimitry Andric    }
1534770cf0a5SDimitry Andric    module permutable                 { header "__iterator/permutable.h" }
1535770cf0a5SDimitry Andric    module prev                       { header "__iterator/prev.h" }
1536770cf0a5SDimitry Andric    module product_iterator           { header "__iterator/product_iterator.h" }
1537770cf0a5SDimitry Andric    module projected                  { header "__iterator/projected.h" }
1538770cf0a5SDimitry Andric    module ranges_iterator_traits     { header "__iterator/ranges_iterator_traits.h" }
1539770cf0a5SDimitry Andric    module readable_traits            { header "__iterator/readable_traits.h" }
1540770cf0a5SDimitry Andric    module reverse_access             { header "__iterator/reverse_access.h" }
1541770cf0a5SDimitry Andric    module reverse_iterator           { header "__iterator/reverse_iterator.h" }
1542770cf0a5SDimitry Andric    module segmented_iterator         { header "__iterator/segmented_iterator.h" }
1543770cf0a5SDimitry Andric    module size                       { header "__iterator/size.h" }
1544770cf0a5SDimitry Andric    module sortable                   { header "__iterator/sortable.h" }
1545770cf0a5SDimitry Andric    module static_bounded_iter        { header "__iterator/static_bounded_iter.h" }
1546770cf0a5SDimitry Andric    module unreachable_sentinel       { header "__iterator/unreachable_sentinel.h" }
1547770cf0a5SDimitry Andric    module wrap_iter                  { header "__iterator/wrap_iter.h" }
1548770cf0a5SDimitry Andric
1549770cf0a5SDimitry Andric    header "iterator"
1550770cf0a5SDimitry Andric    export *
1551770cf0a5SDimitry Andric  }
1552770cf0a5SDimitry Andric
1553770cf0a5SDimitry Andric  module latch {
1554770cf0a5SDimitry Andric    header "latch"
1555770cf0a5SDimitry Andric    export *
1556770cf0a5SDimitry Andric  }
1557770cf0a5SDimitry Andric
1558770cf0a5SDimitry Andric  module list {
1559770cf0a5SDimitry Andric    header "list"
1560770cf0a5SDimitry Andric    export *
1561770cf0a5SDimitry Andric    export std.iterator.reverse_iterator
1562770cf0a5SDimitry Andric  }
1563770cf0a5SDimitry Andric
1564770cf0a5SDimitry Andric  module locale {
1565770cf0a5SDimitry Andric    header "locale"
1566770cf0a5SDimitry Andric    module check_grouping  { header "__locale_dir/check_grouping.h" }
1567770cf0a5SDimitry Andric    module get_c_locale    { header "__locale_dir/get_c_locale.h" }
1568770cf0a5SDimitry Andric    module messages        { header "__locale_dir/messages.h" }
1569770cf0a5SDimitry Andric    module money           { header "__locale_dir/money.h" }
1570770cf0a5SDimitry Andric    module num             { header "__locale_dir/num.h" }
1571770cf0a5SDimitry Andric    module pad_and_output  { header "__locale_dir/pad_and_output.h" }
1572770cf0a5SDimitry Andric    module scan_keyword    { header "__locale_dir/scan_keyword.h" }
1573770cf0a5SDimitry Andric    module time            { header "__locale_dir/time.h" }
1574770cf0a5SDimitry Andric    module wbuffer_convert { header "__locale_dir/wbuffer_convert.h" }
1575770cf0a5SDimitry Andric    module wstring_convert { header "__locale_dir/wstring_convert.h" }
1576770cf0a5SDimitry Andric
1577770cf0a5SDimitry Andric    module support {
1578770cf0a5SDimitry Andric      header "__locale_dir/locale_base_api.h"
1579770cf0a5SDimitry Andric      export *
1580770cf0a5SDimitry Andric    }
1581770cf0a5SDimitry Andric
1582770cf0a5SDimitry Andric    module support_impl {
1583770cf0a5SDimitry Andric      textual header "__locale_dir/support/apple.h"
1584770cf0a5SDimitry Andric      textual header "__locale_dir/support/bsd_like.h"
1585770cf0a5SDimitry Andric      textual header "__locale_dir/support/freebsd.h"
1586770cf0a5SDimitry Andric      textual header "__locale_dir/support/fuchsia.h"
1587770cf0a5SDimitry Andric      textual header "__locale_dir/support/linux.h"
1588770cf0a5SDimitry Andric      textual header "__locale_dir/support/no_locale/characters.h"
1589770cf0a5SDimitry Andric      textual header "__locale_dir/support/no_locale/strtonum.h"
1590770cf0a5SDimitry Andric      textual header "__locale_dir/support/windows.h"
1591770cf0a5SDimitry Andric    }
1592770cf0a5SDimitry Andric
1593770cf0a5SDimitry Andric    module locale_base_api {
1594770cf0a5SDimitry Andric      textual header "__locale_dir/locale_base_api/android.h"
1595770cf0a5SDimitry Andric      textual header "__locale_dir/locale_base_api/bsd_locale_fallbacks.h"
1596770cf0a5SDimitry Andric      textual header "__locale_dir/locale_base_api/ibm.h"
1597770cf0a5SDimitry Andric      textual header "__locale_dir/locale_base_api/musl.h"
1598770cf0a5SDimitry Andric      textual header "__locale_dir/locale_base_api/openbsd.h"
1599770cf0a5SDimitry Andric    }
1600770cf0a5SDimitry Andric    export *
1601770cf0a5SDimitry Andric  }
1602770cf0a5SDimitry Andric
1603770cf0a5SDimitry Andric  // TODO: Understand why this needs to live in its own module
1604770cf0a5SDimitry Andric  module locale_base [system] {
1605770cf0a5SDimitry Andric    header "__locale"
1606770cf0a5SDimitry Andric    export *
1607770cf0a5SDimitry Andric  }
1608770cf0a5SDimitry Andric
1609770cf0a5SDimitry Andric  module map {
1610770cf0a5SDimitry Andric    module fwd { header "__fwd/map.h" }
1611770cf0a5SDimitry Andric    header "map"
1612770cf0a5SDimitry Andric    export *
1613770cf0a5SDimitry Andric    export std.iterator.reverse_iterator
1614770cf0a5SDimitry Andric  }
1615770cf0a5SDimitry Andric
1616770cf0a5SDimitry Andric  module mdspan {
1617770cf0a5SDimitry Andric    module aligned_accessor   { header "__mdspan/aligned_accessor.h" }
1618770cf0a5SDimitry Andric    module default_accessor   { header "__mdspan/default_accessor.h" }
1619770cf0a5SDimitry Andric    module extents            { header "__mdspan/extents.h" }
1620770cf0a5SDimitry Andric    module fwd                { header "__fwd/mdspan.h" }
1621770cf0a5SDimitry Andric    module layout_left        { header "__mdspan/layout_left.h" }
1622770cf0a5SDimitry Andric    module layout_right       { header "__mdspan/layout_right.h" }
1623770cf0a5SDimitry Andric    module layout_stride      { header "__mdspan/layout_stride.h" }
1624770cf0a5SDimitry Andric    module mdspan {
1625770cf0a5SDimitry Andric      header "__mdspan/mdspan.h"
1626770cf0a5SDimitry Andric      export std.array // returned by some methods
1627770cf0a5SDimitry Andric    }
1628770cf0a5SDimitry Andric
1629770cf0a5SDimitry Andric    header "mdspan"
1630770cf0a5SDimitry Andric    export *
1631770cf0a5SDimitry Andric  }
1632770cf0a5SDimitry Andric
1633770cf0a5SDimitry Andric  module memory {
1634770cf0a5SDimitry Andric    module addressof                          { header "__memory/addressof.h" }
1635770cf0a5SDimitry Andric    module align                              { header "__memory/align.h" }
1636770cf0a5SDimitry Andric    module aligned_alloc                      { header "__memory/aligned_alloc.h" }
1637770cf0a5SDimitry Andric    module allocate_at_least                  { header "__memory/allocate_at_least.h" }
1638770cf0a5SDimitry Andric    module allocation_guard                   { header "__memory/allocation_guard.h" }
1639770cf0a5SDimitry Andric    module allocator {
1640770cf0a5SDimitry Andric      header "__memory/allocator.h"
1641770cf0a5SDimitry Andric      export * // TODO: Workaround for https://github.com/llvm/llvm-project/issues/120108
1642770cf0a5SDimitry Andric    }
1643770cf0a5SDimitry Andric    module allocator_arg_t                    { header "__memory/allocator_arg_t.h" }
1644770cf0a5SDimitry Andric    module allocator_destructor               { header "__memory/allocator_destructor.h" }
1645770cf0a5SDimitry Andric    module allocator_traits                   { header "__memory/allocator_traits.h" }
1646770cf0a5SDimitry Andric    module array_cookie                       { header "__memory/array_cookie.h" }
1647770cf0a5SDimitry Andric    module assume_aligned                     { header "__memory/assume_aligned.h" }
1648770cf0a5SDimitry Andric    module auto_ptr                           { header "__memory/auto_ptr.h" }
1649770cf0a5SDimitry Andric    module compressed_pair                    { header "__memory/compressed_pair.h" }
1650770cf0a5SDimitry Andric    module concepts                           { header "__memory/concepts.h" }
1651770cf0a5SDimitry Andric    module construct_at                       { header "__memory/construct_at.h" }
1652770cf0a5SDimitry Andric    module destroy                            { header "__memory/destroy.h" }
1653770cf0a5SDimitry Andric    module destruct_n                         { header "__memory/destruct_n.h" }
1654770cf0a5SDimitry Andric    module fwd                                { header "__fwd/memory.h" }
1655770cf0a5SDimitry Andric    module inout_ptr                          { header "__memory/inout_ptr.h" }
1656770cf0a5SDimitry Andric    module is_sufficiently_aligned            { header "__memory/is_sufficiently_aligned.h" }
1657770cf0a5SDimitry Andric    module noexcept_move_assign_container     { header "__memory/noexcept_move_assign_container.h" }
1658770cf0a5SDimitry Andric    module out_ptr                            { header "__memory/out_ptr.h" }
1659770cf0a5SDimitry Andric    module pointer_traits                     { header "__memory/pointer_traits.h" }
1660770cf0a5SDimitry Andric    module ranges_construct_at                { header "__memory/ranges_construct_at.h" }
1661770cf0a5SDimitry Andric    module ranges_destroy                     { header "__memory/ranges_destroy.h" }
1662770cf0a5SDimitry Andric    module ranges_uninitialized_algorithms {
1663770cf0a5SDimitry Andric      header "__memory/ranges_uninitialized_algorithms.h"
1664770cf0a5SDimitry Andric      export std.algorithm.in_out_result
1665770cf0a5SDimitry Andric    }
1666770cf0a5SDimitry Andric    module raw_storage_iterator               { header "__memory/raw_storage_iterator.h" }
1667770cf0a5SDimitry Andric    module shared_count                       { header "__memory/shared_count.h" }
1668770cf0a5SDimitry Andric    module shared_ptr                         { header "__memory/shared_ptr.h" }
1669770cf0a5SDimitry Andric    module swap_allocator                     { header "__memory/swap_allocator.h" }
1670770cf0a5SDimitry Andric    module temp_value                         { header "__memory/temp_value.h" }
1671770cf0a5SDimitry Andric    module temporary_buffer                   {
1672770cf0a5SDimitry Andric      header "__memory/temporary_buffer.h"
1673770cf0a5SDimitry Andric      export std.utility.pair // return type of std::get_temporary_buffer()
1674770cf0a5SDimitry Andric    }
1675770cf0a5SDimitry Andric    module uninitialized_algorithms {
1676770cf0a5SDimitry Andric      header "__memory/uninitialized_algorithms.h"
1677770cf0a5SDimitry Andric      export std.utility.pair
1678770cf0a5SDimitry Andric    }
1679770cf0a5SDimitry Andric    module unique_ptr {
1680770cf0a5SDimitry Andric      header "__memory/unique_ptr.h"
1681770cf0a5SDimitry Andric    }
1682770cf0a5SDimitry Andric    module unique_temporary_buffer {
1683770cf0a5SDimitry Andric      header "__memory/unique_temporary_buffer.h"
1684770cf0a5SDimitry Andric      export std.memory.unique_ptr
1685770cf0a5SDimitry Andric      export std_core.type_traits.is_constant_evaluated
1686770cf0a5SDimitry Andric      export * // TODO: Workaround for https://github.com/llvm/llvm-project/issues/120108
1687770cf0a5SDimitry Andric    }
1688770cf0a5SDimitry Andric    module uses_allocator                     { header "__memory/uses_allocator.h" }
1689770cf0a5SDimitry Andric    module uses_allocator_construction        { header "__memory/uses_allocator_construction.h" }
1690770cf0a5SDimitry Andric
1691770cf0a5SDimitry Andric    header "memory"
1692770cf0a5SDimitry Andric    export *
1693770cf0a5SDimitry Andric  }
1694770cf0a5SDimitry Andric
1695770cf0a5SDimitry Andric  module memory_resource {
1696770cf0a5SDimitry Andric    module fwd                            { header "__fwd/memory_resource.h" }
1697770cf0a5SDimitry Andric    module memory_resource                { header "__memory_resource/memory_resource.h" }
1698770cf0a5SDimitry Andric    module monotonic_buffer_resource      { header "__memory_resource/monotonic_buffer_resource.h" }
1699770cf0a5SDimitry Andric    module polymorphic_allocator          { header "__memory_resource/polymorphic_allocator.h" }
1700770cf0a5SDimitry Andric    module pool_options                   { header "__memory_resource/pool_options.h" }
1701770cf0a5SDimitry Andric    module synchronized_pool_resource     { header "__memory_resource/synchronized_pool_resource.h" }
1702770cf0a5SDimitry Andric    module unsynchronized_pool_resource   { header "__memory_resource/unsynchronized_pool_resource.h" }
1703770cf0a5SDimitry Andric
1704770cf0a5SDimitry Andric    header "memory_resource"
1705770cf0a5SDimitry Andric    export *
1706770cf0a5SDimitry Andric  }
1707770cf0a5SDimitry Andric
1708770cf0a5SDimitry Andric  module mutex {
1709770cf0a5SDimitry Andric    module lock_guard     { header "__mutex/lock_guard.h" }
1710770cf0a5SDimitry Andric    module mutex          { header "__mutex/mutex.h" }
1711770cf0a5SDimitry Andric    module once_flag      { header "__mutex/once_flag.h" }
1712770cf0a5SDimitry Andric    module tag_types      { header "__mutex/tag_types.h" }
1713770cf0a5SDimitry Andric    module unique_lock    { header "__mutex/unique_lock.h" }
1714770cf0a5SDimitry Andric
1715770cf0a5SDimitry Andric    header "mutex"
1716770cf0a5SDimitry Andric    export *
1717770cf0a5SDimitry Andric  }
1718770cf0a5SDimitry Andric
1719770cf0a5SDimitry Andric  module new {
1720770cf0a5SDimitry Andric    header "new"
1721770cf0a5SDimitry Andric    module align_val_t          { header "__new/align_val_t.h" }
1722770cf0a5SDimitry Andric    module allocate {
1723770cf0a5SDimitry Andric      header "__new/allocate.h"
1724770cf0a5SDimitry Andric      export std.utility.element_count // used as part of the API
1725770cf0a5SDimitry Andric      export * // TODO: Workaround for https://github.com/llvm/llvm-project/issues/120108
1726770cf0a5SDimitry Andric    }
1727770cf0a5SDimitry Andric    module destroying_delete_t  { header "__new/destroying_delete_t.h" }
1728770cf0a5SDimitry Andric    module exceptions           { header "__new/exceptions.h" }
1729770cf0a5SDimitry Andric    module global_new_delete    {
1730770cf0a5SDimitry Andric      header "__new/global_new_delete.h"
1731770cf0a5SDimitry Andric
1732770cf0a5SDimitry Andric      export std.new.nothrow_t
1733770cf0a5SDimitry Andric    }
1734770cf0a5SDimitry Andric    module interference_size    { header "__new/interference_size.h" }
1735770cf0a5SDimitry Andric    module launder              { header "__new/launder.h" }
1736770cf0a5SDimitry Andric    module new_handler          { header "__new/new_handler.h" }
1737770cf0a5SDimitry Andric    module nothrow_t            { header "__new/nothrow_t.h" }
1738770cf0a5SDimitry Andric    module placement_new_delete { header "__new/placement_new_delete.h" }
1739770cf0a5SDimitry Andric
1740770cf0a5SDimitry Andric    export *
1741770cf0a5SDimitry Andric  }
1742770cf0a5SDimitry Andric
1743770cf0a5SDimitry Andric  module numbers {
1744770cf0a5SDimitry Andric    header "numbers"
1745770cf0a5SDimitry Andric    export *
1746770cf0a5SDimitry Andric  }
1747770cf0a5SDimitry Andric
1748770cf0a5SDimitry Andric  module numeric {
1749770cf0a5SDimitry Andric    module accumulate                 { header "__numeric/accumulate.h" }
1750770cf0a5SDimitry Andric    module adjacent_difference        { header "__numeric/adjacent_difference.h" }
1751770cf0a5SDimitry Andric    module exclusive_scan             { header "__numeric/exclusive_scan.h" }
1752770cf0a5SDimitry Andric    module gcd_lcm                    { header "__numeric/gcd_lcm.h" }
1753770cf0a5SDimitry Andric    module inclusive_scan             { header "__numeric/inclusive_scan.h" }
1754770cf0a5SDimitry Andric    module inner_product              { header "__numeric/inner_product.h" }
1755770cf0a5SDimitry Andric    module iota                       { header "__numeric/iota.h" }
1756770cf0a5SDimitry Andric    module midpoint                   { header "__numeric/midpoint.h" }
1757770cf0a5SDimitry Andric    module partial_sum                { header "__numeric/partial_sum.h" }
1758770cf0a5SDimitry Andric    module pstl                       { header "__numeric/pstl.h" }
1759770cf0a5SDimitry Andric    module reduce                     { header "__numeric/reduce.h" }
1760770cf0a5SDimitry Andric    module ranges_iota                { header "__numeric/ranges_iota.h" }
1761770cf0a5SDimitry Andric    module saturation_arithmetic      { header "__numeric/saturation_arithmetic.h" }
1762770cf0a5SDimitry Andric    module transform_exclusive_scan   { header "__numeric/transform_exclusive_scan.h" }
1763770cf0a5SDimitry Andric    module transform_inclusive_scan   { header "__numeric/transform_inclusive_scan.h" }
1764770cf0a5SDimitry Andric    module transform_reduce           { header "__numeric/transform_reduce.h" }
1765770cf0a5SDimitry Andric
1766770cf0a5SDimitry Andric    header "numeric"
1767770cf0a5SDimitry Andric    export *
1768770cf0a5SDimitry Andric  }
1769770cf0a5SDimitry Andric
1770770cf0a5SDimitry Andric  module optional {
1771770cf0a5SDimitry Andric    header "optional"
1772770cf0a5SDimitry Andric    export *
1773770cf0a5SDimitry Andric  }
1774770cf0a5SDimitry Andric
1775770cf0a5SDimitry Andric  module ostream {
1776770cf0a5SDimitry Andric    module basic_ostream {
1777770cf0a5SDimitry Andric      header "__ostream/basic_ostream.h"
1778770cf0a5SDimitry Andric      export std.ios // base class
1779770cf0a5SDimitry Andric    }
1780770cf0a5SDimitry Andric    module fwd {
1781770cf0a5SDimitry Andric      header "__fwd/ostream.h"
1782770cf0a5SDimitry Andric    }
1783770cf0a5SDimitry Andric    module print {
1784770cf0a5SDimitry Andric      header "__ostream/print.h"
1785770cf0a5SDimitry Andric      export *
1786770cf0a5SDimitry Andric    }
1787770cf0a5SDimitry Andric    module put_character_sequence { header "__ostream/put_character_sequence.h" }
1788770cf0a5SDimitry Andric
1789770cf0a5SDimitry Andric    header "ostream"
1790770cf0a5SDimitry Andric    export *
1791770cf0a5SDimitry Andric  }
1792770cf0a5SDimitry Andric
1793770cf0a5SDimitry Andric  module print {
1794770cf0a5SDimitry Andric    header "print"
1795770cf0a5SDimitry Andric    export *
1796770cf0a5SDimitry Andric  }
1797770cf0a5SDimitry Andric
1798770cf0a5SDimitry Andric  module queue {
1799770cf0a5SDimitry Andric    module fwd { header "__fwd/queue.h" }
1800770cf0a5SDimitry Andric
1801770cf0a5SDimitry Andric    header "queue"
1802770cf0a5SDimitry Andric    export *
1803770cf0a5SDimitry Andric  }
1804770cf0a5SDimitry Andric
1805770cf0a5SDimitry Andric  module random {
1806770cf0a5SDimitry Andric    module bernoulli_distribution             { header "__random/bernoulli_distribution.h" }
1807770cf0a5SDimitry Andric    module binomial_distribution              { header "__random/binomial_distribution.h" }
1808770cf0a5SDimitry Andric    module cauchy_distribution                { header "__random/cauchy_distribution.h" }
1809770cf0a5SDimitry Andric    module chi_squared_distribution           { header "__random/chi_squared_distribution.h" }
1810770cf0a5SDimitry Andric    module clamp_to_integral                  { header "__random/clamp_to_integral.h" }
1811770cf0a5SDimitry Andric    module default_random_engine              { header "__random/default_random_engine.h" }
1812770cf0a5SDimitry Andric    module discard_block_engine               { header "__random/discard_block_engine.h" }
1813770cf0a5SDimitry Andric    module discrete_distribution              { header "__random/discrete_distribution.h" }
1814770cf0a5SDimitry Andric    module exponential_distribution           { header "__random/exponential_distribution.h" }
1815770cf0a5SDimitry Andric    module extreme_value_distribution         { header "__random/extreme_value_distribution.h" }
1816770cf0a5SDimitry Andric    module fisher_f_distribution              { header "__random/fisher_f_distribution.h" }
1817770cf0a5SDimitry Andric    module gamma_distribution                 { header "__random/gamma_distribution.h" }
1818770cf0a5SDimitry Andric    module generate_canonical                 { header "__random/generate_canonical.h" }
1819770cf0a5SDimitry Andric    module geometric_distribution             { header "__random/geometric_distribution.h" }
1820770cf0a5SDimitry Andric    module independent_bits_engine            { header "__random/independent_bits_engine.h" }
1821770cf0a5SDimitry Andric    module is_seed_sequence                   { header "__random/is_seed_sequence.h" }
1822770cf0a5SDimitry Andric    module is_valid {
1823770cf0a5SDimitry Andric      header "__random/is_valid.h"
1824770cf0a5SDimitry Andric      export std_core.type_traits.integral_constant
1825770cf0a5SDimitry Andric    }
1826770cf0a5SDimitry Andric    module knuth_b                            { header "__random/knuth_b.h" }
1827770cf0a5SDimitry Andric    module linear_congruential_engine         { header "__random/linear_congruential_engine.h" }
1828770cf0a5SDimitry Andric    module log2                               { header "__random/log2.h" }
1829770cf0a5SDimitry Andric    module lognormal_distribution             { header "__random/lognormal_distribution.h" }
1830770cf0a5SDimitry Andric    module mersenne_twister_engine            { header "__random/mersenne_twister_engine.h" }
1831770cf0a5SDimitry Andric    module negative_binomial_distribution     { header "__random/negative_binomial_distribution.h" }
1832770cf0a5SDimitry Andric    module normal_distribution                { header "__random/normal_distribution.h" }
1833770cf0a5SDimitry Andric    module piecewise_constant_distribution    { header "__random/piecewise_constant_distribution.h" }
1834770cf0a5SDimitry Andric    module piecewise_linear_distribution      { header "__random/piecewise_linear_distribution.h" }
1835770cf0a5SDimitry Andric    module poisson_distribution               { header "__random/poisson_distribution.h" }
1836770cf0a5SDimitry Andric    module random_device                      { header "__random/random_device.h" }
1837770cf0a5SDimitry Andric    module ranlux                             { header "__random/ranlux.h" }
1838770cf0a5SDimitry Andric    module seed_seq                           { header "__random/seed_seq.h" }
1839770cf0a5SDimitry Andric    module shuffle_order_engine               { header "__random/shuffle_order_engine.h" }
1840770cf0a5SDimitry Andric    module student_t_distribution             { header "__random/student_t_distribution.h" }
1841770cf0a5SDimitry Andric    module subtract_with_carry_engine         { header "__random/subtract_with_carry_engine.h" }
1842770cf0a5SDimitry Andric    module uniform_int_distribution           { header "__random/uniform_int_distribution.h" }
1843770cf0a5SDimitry Andric    module uniform_random_bit_generator       { header "__random/uniform_random_bit_generator.h" }
1844770cf0a5SDimitry Andric    module uniform_real_distribution          { header "__random/uniform_real_distribution.h" }
1845770cf0a5SDimitry Andric    module weibull_distribution               { header "__random/weibull_distribution.h" }
1846770cf0a5SDimitry Andric
1847770cf0a5SDimitry Andric    header "random"
1848770cf0a5SDimitry Andric    export *
1849770cf0a5SDimitry Andric  }
1850770cf0a5SDimitry Andric
1851770cf0a5SDimitry Andric  module ranges {
1852770cf0a5SDimitry Andric    module access                         { header "__ranges/access.h" }
1853770cf0a5SDimitry Andric    module all                            { header "__ranges/all.h" }
1854770cf0a5SDimitry Andric    module as_rvalue_view                 { header "__ranges/as_rvalue_view.h" }
1855770cf0a5SDimitry Andric    module chunk_by_view {
1856770cf0a5SDimitry Andric      header "__ranges/chunk_by_view.h"
1857770cf0a5SDimitry Andric      export std.functional.bind_back
1858770cf0a5SDimitry Andric    }
1859770cf0a5SDimitry Andric    module common_view                    { header "__ranges/common_view.h" }
1860770cf0a5SDimitry Andric    module concepts                       { header "__ranges/concepts.h" }
1861770cf0a5SDimitry Andric    module container_compatible_range     { header "__ranges/container_compatible_range.h" }
1862770cf0a5SDimitry Andric    module counted {
1863770cf0a5SDimitry Andric      header "__ranges/counted.h"
1864770cf0a5SDimitry Andric      export std.span            // return type of views::counted
1865770cf0a5SDimitry Andric      export std.ranges.subrange // return type of views::counted
1866770cf0a5SDimitry Andric    }
1867770cf0a5SDimitry Andric    module dangling {
1868770cf0a5SDimitry Andric      header "__ranges/dangling.h"
1869770cf0a5SDimitry Andric    }
1870770cf0a5SDimitry Andric    module data {
1871770cf0a5SDimitry Andric      header "__ranges/data.h"
1872770cf0a5SDimitry Andric    }
1873770cf0a5SDimitry Andric    module drop_view {
1874770cf0a5SDimitry Andric      header "__ranges/drop_view.h"
1875770cf0a5SDimitry Andric      export std.functional.bind_back
1876770cf0a5SDimitry Andric    }
1877770cf0a5SDimitry Andric    module drop_while_view {
1878770cf0a5SDimitry Andric      header "__ranges/drop_while_view.h"
1879770cf0a5SDimitry Andric      export std.functional.bind_back
1880770cf0a5SDimitry Andric    }
1881770cf0a5SDimitry Andric    module elements_view                  { header "__ranges/elements_view.h" }
1882770cf0a5SDimitry Andric    module empty                          { header "__ranges/empty.h" }
1883770cf0a5SDimitry Andric    module empty_view                     { header "__ranges/empty_view.h" }
1884770cf0a5SDimitry Andric    module enable_borrowed_range          { header "__ranges/enable_borrowed_range.h" }
1885770cf0a5SDimitry Andric    module enable_view                    { header "__ranges/enable_view.h" }
1886770cf0a5SDimitry Andric    module filter_view {
1887770cf0a5SDimitry Andric      header "__ranges/filter_view.h"
1888770cf0a5SDimitry Andric      export std.functional.bind_back
1889770cf0a5SDimitry Andric    }
1890770cf0a5SDimitry Andric    module from_range                     { header "__ranges/from_range.h" }
1891770cf0a5SDimitry Andric    module iota_view                      { header "__ranges/iota_view.h" }
1892770cf0a5SDimitry Andric    module istream_view                   { header "__ranges/istream_view.h" }
1893770cf0a5SDimitry Andric    module join_view                      { header "__ranges/join_view.h" }
1894770cf0a5SDimitry Andric    module join_with_view                 { header "__ranges/join_with_view.h" }
1895770cf0a5SDimitry Andric    module lazy_split_view {
1896770cf0a5SDimitry Andric      header "__ranges/lazy_split_view.h"
1897770cf0a5SDimitry Andric      export std.functional.bind_back
1898770cf0a5SDimitry Andric    }
1899770cf0a5SDimitry Andric    module movable_box                    { header "__ranges/movable_box.h" }
1900770cf0a5SDimitry Andric    module non_propagating_cache          { header "__ranges/non_propagating_cache.h" }
1901770cf0a5SDimitry Andric    module owning_view                    { header "__ranges/owning_view.h" }
1902770cf0a5SDimitry Andric    module range_adaptor                  { header "__ranges/range_adaptor.h" }
1903770cf0a5SDimitry Andric    module rbegin                         { header "__ranges/rbegin.h" }
1904770cf0a5SDimitry Andric    module ref_view                       { header "__ranges/ref_view.h" }
1905770cf0a5SDimitry Andric    module rend                           { header "__ranges/rend.h" }
1906770cf0a5SDimitry Andric    module repeat_view                    { header "__ranges/repeat_view.h" }
1907770cf0a5SDimitry Andric    module reverse_view                   { header "__ranges/reverse_view.h" }
1908770cf0a5SDimitry Andric    module single_view                    { header "__ranges/single_view.h" }
1909770cf0a5SDimitry Andric    module size                           { header "__ranges/size.h" }
1910770cf0a5SDimitry Andric    module split_view {
1911770cf0a5SDimitry Andric      header "__ranges/split_view.h"
1912770cf0a5SDimitry Andric      export std.functional.bind_back
1913770cf0a5SDimitry Andric    }
1914770cf0a5SDimitry Andric    module subrange {
1915770cf0a5SDimitry Andric      header "__ranges/subrange.h"
1916770cf0a5SDimitry Andric      export std.ranges.subrange_fwd
1917770cf0a5SDimitry Andric    }
1918770cf0a5SDimitry Andric    module subrange_fwd {
1919770cf0a5SDimitry Andric      header "__fwd/subrange.h"
1920770cf0a5SDimitry Andric    }
1921770cf0a5SDimitry Andric    module take_view {
1922770cf0a5SDimitry Andric      header "__ranges/take_view.h"
1923770cf0a5SDimitry Andric      export std.functional.bind_back
1924770cf0a5SDimitry Andric    }
1925770cf0a5SDimitry Andric    module take_while_view {
1926770cf0a5SDimitry Andric      header "__ranges/take_while_view.h"
1927770cf0a5SDimitry Andric      export std.functional.bind_back
1928770cf0a5SDimitry Andric    }
1929770cf0a5SDimitry Andric    module to {
1930770cf0a5SDimitry Andric      header "__ranges/to.h"
1931770cf0a5SDimitry Andric      export std.functional.bind_back
1932770cf0a5SDimitry Andric    }
1933770cf0a5SDimitry Andric    module transform_view {
1934770cf0a5SDimitry Andric      header "__ranges/transform_view.h"
1935770cf0a5SDimitry Andric      export std.functional.bind_back
1936770cf0a5SDimitry Andric    }
1937770cf0a5SDimitry Andric    module view_interface {
1938770cf0a5SDimitry Andric      header "__ranges/view_interface.h"
1939770cf0a5SDimitry Andric    }
1940770cf0a5SDimitry Andric    module views {
1941770cf0a5SDimitry Andric      header "__ranges/views.h"
1942770cf0a5SDimitry Andric    }
1943770cf0a5SDimitry Andric    module zip_view {
1944770cf0a5SDimitry Andric      header "__ranges/zip_view.h"
1945770cf0a5SDimitry Andric      export std.utility.pair
1946770cf0a5SDimitry Andric    }
1947770cf0a5SDimitry Andric
1948770cf0a5SDimitry Andric    header "ranges"
1949770cf0a5SDimitry Andric    export *
1950770cf0a5SDimitry Andric  } // module ranges
1951770cf0a5SDimitry Andric
1952770cf0a5SDimitry Andric  module ratio {
1953770cf0a5SDimitry Andric    header "ratio"
1954770cf0a5SDimitry Andric    export *
1955770cf0a5SDimitry Andric  }
1956770cf0a5SDimitry Andric
1957770cf0a5SDimitry Andric  module regex {
1958770cf0a5SDimitry Andric    header "regex"
1959770cf0a5SDimitry Andric    export *
1960770cf0a5SDimitry Andric    export std.iterator.reverse_iterator
1961770cf0a5SDimitry Andric  }
1962770cf0a5SDimitry Andric
1963770cf0a5SDimitry Andric  module scoped_allocator {
1964770cf0a5SDimitry Andric    header "scoped_allocator"
1965770cf0a5SDimitry Andric    export *
1966770cf0a5SDimitry Andric  }
1967770cf0a5SDimitry Andric
1968770cf0a5SDimitry Andric  module semaphore {
1969770cf0a5SDimitry Andric    header "semaphore"
1970770cf0a5SDimitry Andric    export *
1971770cf0a5SDimitry Andric  }
1972770cf0a5SDimitry Andric
1973770cf0a5SDimitry Andric  module set {
1974770cf0a5SDimitry Andric    module fwd { header "__fwd/set.h" }
1975770cf0a5SDimitry Andric    header "set"
1976770cf0a5SDimitry Andric    export *
1977770cf0a5SDimitry Andric    export std.iterator.reverse_iterator
1978770cf0a5SDimitry Andric  }
1979770cf0a5SDimitry Andric
1980770cf0a5SDimitry Andric  module shared_mutex {
1981770cf0a5SDimitry Andric    header "shared_mutex"
1982770cf0a5SDimitry Andric    export *
1983770cf0a5SDimitry Andric  }
1984770cf0a5SDimitry Andric
1985770cf0a5SDimitry Andric  module source_location {
1986770cf0a5SDimitry Andric    header "source_location"
1987770cf0a5SDimitry Andric    export *
1988770cf0a5SDimitry Andric  }
1989770cf0a5SDimitry Andric
1990770cf0a5SDimitry Andric  module span {
1991770cf0a5SDimitry Andric    module fwd { header "__fwd/span.h" }
1992770cf0a5SDimitry Andric
1993770cf0a5SDimitry Andric    header "span"
1994770cf0a5SDimitry Andric    export *
1995770cf0a5SDimitry Andric    export std.iterator.reverse_iterator
1996770cf0a5SDimitry Andric  }
1997770cf0a5SDimitry Andric
1998770cf0a5SDimitry Andric  module sstream {
1999770cf0a5SDimitry Andric    module fwd { header "__fwd/sstream.h" }
2000770cf0a5SDimitry Andric
2001770cf0a5SDimitry Andric    header "sstream"
2002770cf0a5SDimitry Andric    export *
2003770cf0a5SDimitry Andric  }
2004770cf0a5SDimitry Andric
2005770cf0a5SDimitry Andric  module stack {
2006770cf0a5SDimitry Andric    module fwd { header "__fwd/stack.h" }
2007770cf0a5SDimitry Andric
2008770cf0a5SDimitry Andric    header "stack"
2009770cf0a5SDimitry Andric    export *
2010770cf0a5SDimitry Andric  }
2011770cf0a5SDimitry Andric
2012770cf0a5SDimitry Andric  module stdexcept {
2013770cf0a5SDimitry Andric    header "stdexcept"
2014770cf0a5SDimitry Andric    export *
2015770cf0a5SDimitry Andric  }
2016770cf0a5SDimitry Andric
2017770cf0a5SDimitry Andric  module stop_token {
2018770cf0a5SDimitry Andric    module atomic_unique_lock     { header "__stop_token/atomic_unique_lock.h" }
2019770cf0a5SDimitry Andric    module intrusive_list_view    { header "__stop_token/intrusive_list_view.h" }
2020770cf0a5SDimitry Andric    module intrusive_shared_ptr   { header "__stop_token/intrusive_shared_ptr.h" }
2021770cf0a5SDimitry Andric    module stop_callback          { header "__stop_token/stop_callback.h" }
2022770cf0a5SDimitry Andric    module stop_source            { header "__stop_token/stop_source.h" }
2023770cf0a5SDimitry Andric    module stop_state             { header "__stop_token/stop_state.h" }
2024770cf0a5SDimitry Andric    module stop_token             { header "__stop_token/stop_token.h" }
2025770cf0a5SDimitry Andric
2026770cf0a5SDimitry Andric    header "stop_token"
2027770cf0a5SDimitry Andric    export *
2028770cf0a5SDimitry Andric  }
2029770cf0a5SDimitry Andric
2030770cf0a5SDimitry Andric  module streambuf {
2031770cf0a5SDimitry Andric    module fwd { header "__fwd/streambuf.h" }
2032770cf0a5SDimitry Andric
2033770cf0a5SDimitry Andric    header "streambuf"
2034770cf0a5SDimitry Andric    export *
2035770cf0a5SDimitry Andric  }
2036770cf0a5SDimitry Andric
2037770cf0a5SDimitry Andric  module string {
2038770cf0a5SDimitry Andric    module char_traits              { header "__string/char_traits.h" }
2039770cf0a5SDimitry Andric    module constexpr_c_functions    {
2040770cf0a5SDimitry Andric      header "__string/constexpr_c_functions.h"
2041770cf0a5SDimitry Andric      export std.utility.element_count // used as part of the constexpr C function's API
2042770cf0a5SDimitry Andric    }
2043770cf0a5SDimitry Andric    module extern_template_lists    { header "__string/extern_template_lists.h" }
2044770cf0a5SDimitry Andric    module fwd                      { header "__fwd/string.h" }
2045770cf0a5SDimitry Andric
2046770cf0a5SDimitry Andric    header "string"
2047770cf0a5SDimitry Andric    export *
2048770cf0a5SDimitry Andric    export std.iterator.reverse_iterator
2049770cf0a5SDimitry Andric  }
2050770cf0a5SDimitry Andric
2051770cf0a5SDimitry Andric  module string_view {
2052770cf0a5SDimitry Andric    module fwd { header "__fwd/string_view.h" }
2053770cf0a5SDimitry Andric
2054770cf0a5SDimitry Andric    header "string_view"
2055770cf0a5SDimitry Andric    export *
2056770cf0a5SDimitry Andric    export std.iterator.reverse_iterator
2057770cf0a5SDimitry Andric  }
2058770cf0a5SDimitry Andric
2059770cf0a5SDimitry Andric  module strstream {
2060770cf0a5SDimitry Andric    header "strstream"
2061770cf0a5SDimitry Andric    export *
2062770cf0a5SDimitry Andric  }
2063770cf0a5SDimitry Andric
2064770cf0a5SDimitry Andric  module syncstream {
2065770cf0a5SDimitry Andric    header "syncstream"
2066770cf0a5SDimitry Andric    export *
2067770cf0a5SDimitry Andric  }
2068770cf0a5SDimitry Andric
2069770cf0a5SDimitry Andric  module system_error {
2070770cf0a5SDimitry Andric    module errc               { header "__system_error/errc.h" }
2071770cf0a5SDimitry Andric    module error_category     { header "__system_error/error_category.h" }
2072770cf0a5SDimitry Andric    module error_code {
2073770cf0a5SDimitry Andric      header "__system_error/error_code.h"
2074770cf0a5SDimitry Andric      export std.system_error.error_category // methods of error_code return that type
2075770cf0a5SDimitry Andric    }
2076770cf0a5SDimitry Andric    module error_condition    { header "__system_error/error_condition.h" }
2077770cf0a5SDimitry Andric    module system_error       { header "__system_error/system_error.h" }
2078770cf0a5SDimitry Andric    module throw_system_error { header "__system_error/throw_system_error.h" }
2079770cf0a5SDimitry Andric
2080770cf0a5SDimitry Andric    header "system_error"
2081770cf0a5SDimitry Andric    export *
2082770cf0a5SDimitry Andric  }
2083770cf0a5SDimitry Andric
2084770cf0a5SDimitry Andric  module thread {
2085770cf0a5SDimitry Andric    module formatter              { header "__thread/formatter.h" }
2086770cf0a5SDimitry Andric    module id                     { header "__thread/id.h" }
2087770cf0a5SDimitry Andric    module jthread                { header "__thread/jthread.h" }
2088770cf0a5SDimitry Andric    module poll_with_backoff      { header "__thread/poll_with_backoff.h" }
2089770cf0a5SDimitry Andric    module this_thread            { header "__thread/this_thread.h" }
2090770cf0a5SDimitry Andric    module thread                 { header "__thread/thread.h" }
2091770cf0a5SDimitry Andric    module timed_backoff_policy   { header "__thread/timed_backoff_policy.h" }
2092770cf0a5SDimitry Andric
2093770cf0a5SDimitry Andric    module support {
2094770cf0a5SDimitry Andric      header "__thread/support.h"
2095770cf0a5SDimitry Andric      export *
2096770cf0a5SDimitry Andric    }
2097770cf0a5SDimitry Andric    module support_impl {
2098770cf0a5SDimitry Andric      textual header "__thread/support/c11.h"
2099770cf0a5SDimitry Andric      textual header "__thread/support/external.h"
2100770cf0a5SDimitry Andric      textual header "__thread/support/pthread.h"
2101770cf0a5SDimitry Andric      textual header "__thread/support/windows.h"
2102770cf0a5SDimitry Andric    }
2103770cf0a5SDimitry Andric
2104770cf0a5SDimitry Andric    header "thread"
2105770cf0a5SDimitry Andric    export *
2106770cf0a5SDimitry Andric  }
2107770cf0a5SDimitry Andric
2108770cf0a5SDimitry Andric  module tuple {
2109770cf0a5SDimitry Andric    module find_index               { header "__tuple/find_index.h" }
2110770cf0a5SDimitry Andric    module ignore                   { header "__tuple/ignore.h" }
2111770cf0a5SDimitry Andric    module make_tuple_types         { header "__tuple/make_tuple_types.h" }
2112770cf0a5SDimitry Andric    module sfinae_helpers           { header "__tuple/sfinae_helpers.h" }
2113770cf0a5SDimitry Andric    module tuple_element            { header "__tuple/tuple_element.h" }
2114770cf0a5SDimitry Andric    module tuple_indices            { header "__tuple/tuple_indices.h" }
2115770cf0a5SDimitry Andric    module tuple_like_ext           { header "__tuple/tuple_like_ext.h" }
2116770cf0a5SDimitry Andric    module tuple_like_no_subrange   { header "__tuple/tuple_like_no_subrange.h" }
2117770cf0a5SDimitry Andric    module tuple_like               { header "__tuple/tuple_like.h" }
2118770cf0a5SDimitry Andric    module tuple_size               { header "__tuple/tuple_size.h" }
2119770cf0a5SDimitry Andric    module tuple_types              { header "__tuple/tuple_types.h" }
2120770cf0a5SDimitry Andric
2121770cf0a5SDimitry Andric    header "tuple"
2122770cf0a5SDimitry Andric    export *
2123770cf0a5SDimitry Andric  }
2124770cf0a5SDimitry Andric
2125770cf0a5SDimitry Andric  module typeindex {
2126770cf0a5SDimitry Andric    header "typeindex"
2127770cf0a5SDimitry Andric    export *
2128770cf0a5SDimitry Andric  }
2129770cf0a5SDimitry Andric
2130770cf0a5SDimitry Andric  module typeinfo {
2131770cf0a5SDimitry Andric    header "typeinfo"
2132770cf0a5SDimitry Andric    export *
2133770cf0a5SDimitry Andric  }
2134770cf0a5SDimitry Andric
2135770cf0a5SDimitry Andric  module unordered_map {
2136770cf0a5SDimitry Andric    header "unordered_map"
2137770cf0a5SDimitry Andric    export *
2138770cf0a5SDimitry Andric    export std.iterator.reverse_iterator
2139770cf0a5SDimitry Andric  }
2140770cf0a5SDimitry Andric
2141770cf0a5SDimitry Andric  module unordered_set {
2142770cf0a5SDimitry Andric    header "unordered_set"
2143770cf0a5SDimitry Andric    export *
2144770cf0a5SDimitry Andric    export std.iterator.reverse_iterator
2145770cf0a5SDimitry Andric  }
2146770cf0a5SDimitry Andric
2147770cf0a5SDimitry Andric  module utility {
2148770cf0a5SDimitry Andric    module as_const                   { header "__utility/as_const.h" }
2149770cf0a5SDimitry Andric    module as_lvalue                  { header "__utility/as_lvalue.h" }
2150770cf0a5SDimitry Andric    module auto_cast                  {
2151770cf0a5SDimitry Andric      header "__utility/auto_cast.h"
2152770cf0a5SDimitry Andric      export std_core.type_traits.decay // the macro expansion uses that trait
2153770cf0a5SDimitry Andric    }
2154770cf0a5SDimitry Andric    module cmp                        { header "__utility/cmp.h" }
2155770cf0a5SDimitry Andric    module convert_to_integral        { header "__utility/convert_to_integral.h" }
2156770cf0a5SDimitry Andric    module element_count              { header "__utility/element_count.h" }
2157770cf0a5SDimitry Andric    module exception_guard            { header "__utility/exception_guard.h" }
2158770cf0a5SDimitry Andric    module exchange                   { header "__utility/exchange.h" }
2159770cf0a5SDimitry Andric    module forward_like               { header "__utility/forward_like.h" }
2160770cf0a5SDimitry Andric    module in_place {
2161770cf0a5SDimitry Andric      header "__utility/in_place.h"
2162770cf0a5SDimitry Andric      export std_core.type_traits.integral_constant
2163770cf0a5SDimitry Andric    }
2164770cf0a5SDimitry Andric    module integer_sequence           { header "__utility/integer_sequence.h" }
2165770cf0a5SDimitry Andric    module is_pointer_in_range        { header "__utility/is_pointer_in_range.h" }
2166770cf0a5SDimitry Andric    module is_valid_range             { header "__utility/is_valid_range.h" }
2167770cf0a5SDimitry Andric    module move                       { header "__utility/move.h" }
2168770cf0a5SDimitry Andric    module no_destroy                 { header "__utility/no_destroy.h" }
2169770cf0a5SDimitry Andric    module pair                       { header "__utility/pair.h" }
2170770cf0a5SDimitry Andric    module piecewise_construct        { header "__utility/piecewise_construct.h" }
2171770cf0a5SDimitry Andric    module priority_tag               { header "__utility/priority_tag.h" }
2172770cf0a5SDimitry Andric    module private_constructor_tag    { header "__utility/private_constructor_tag.h" }
2173770cf0a5SDimitry Andric    module rel_ops                    { header "__utility/rel_ops.h" }
2174770cf0a5SDimitry Andric    module scope_guard                { header "__utility/scope_guard.h" }
2175770cf0a5SDimitry Andric    module small_buffer               { header "__utility/small_buffer.h" }
2176770cf0a5SDimitry Andric    module swap                       { header "__utility/swap.h" }
2177770cf0a5SDimitry Andric    module to_underlying              { header "__utility/to_underlying.h" }
2178770cf0a5SDimitry Andric    module unreachable                { header "__utility/unreachable.h" }
2179770cf0a5SDimitry Andric
2180770cf0a5SDimitry Andric    header "utility"
2181770cf0a5SDimitry Andric    export *
2182770cf0a5SDimitry Andric  }
2183770cf0a5SDimitry Andric
2184770cf0a5SDimitry Andric  module valarray {
2185770cf0a5SDimitry Andric    header "valarray"
2186770cf0a5SDimitry Andric    export *
2187770cf0a5SDimitry Andric  }
2188770cf0a5SDimitry Andric
2189770cf0a5SDimitry Andric  module variant {
2190770cf0a5SDimitry Andric    module fwd       { header "__fwd/variant.h" }
2191770cf0a5SDimitry Andric    module monostate { header "__variant/monostate.h" }
2192770cf0a5SDimitry Andric
2193770cf0a5SDimitry Andric    header "variant"
2194770cf0a5SDimitry Andric    export *
2195770cf0a5SDimitry Andric  }
2196770cf0a5SDimitry Andric
2197770cf0a5SDimitry Andric  module vector {
2198770cf0a5SDimitry Andric    module fwd                   { header "__fwd/vector.h" }
2199770cf0a5SDimitry Andric
2200770cf0a5SDimitry Andric    module comparison            { header "__vector/comparison.h" }
2201770cf0a5SDimitry Andric    module container_traits      { header "__vector/container_traits.h" }
2202770cf0a5SDimitry Andric    module erase                 { header "__vector/erase.h" }
2203770cf0a5SDimitry Andric    module vector_bool_formatter {
2204770cf0a5SDimitry Andric      header "__vector/vector_bool_formatter.h"
2205770cf0a5SDimitry Andric
2206770cf0a5SDimitry Andric      export std.format.formatter
2207770cf0a5SDimitry Andric    }
2208770cf0a5SDimitry Andric    module pmr                   {
2209770cf0a5SDimitry Andric      header "__vector/pmr.h"
2210770cf0a5SDimitry Andric
2211770cf0a5SDimitry Andric      export std.memory_resource.polymorphic_allocator
2212770cf0a5SDimitry Andric    }
2213770cf0a5SDimitry Andric    module swap                  { header "__vector/swap.h" }
2214770cf0a5SDimitry Andric    module vector_bool           {
2215770cf0a5SDimitry Andric      header "__vector/vector_bool.h"
2216770cf0a5SDimitry Andric      export std.bit_reference
2217770cf0a5SDimitry Andric      export std.memory.allocator
2218770cf0a5SDimitry Andric      export std.vector.comparison
2219770cf0a5SDimitry Andric      export std.vector.fwd
2220770cf0a5SDimitry Andric      export std.vector.swap
2221770cf0a5SDimitry Andric    }
2222770cf0a5SDimitry Andric    module vector                {
2223770cf0a5SDimitry Andric      header "__vector/vector.h"
2224770cf0a5SDimitry Andric      export std.iterator.bounded_iter
2225770cf0a5SDimitry Andric      export std.iterator.wrap_iter
2226770cf0a5SDimitry Andric      export std.memory.allocator
2227770cf0a5SDimitry Andric      export std.vector.comparison
2228770cf0a5SDimitry Andric      export std.vector.fwd
2229770cf0a5SDimitry Andric      export std.vector.swap
2230770cf0a5SDimitry Andric    }
2231770cf0a5SDimitry Andric
2232770cf0a5SDimitry Andric    header "vector"
2233770cf0a5SDimitry Andric    export std.iterator.reverse_iterator
2234770cf0a5SDimitry Andric    export *
2235770cf0a5SDimitry Andric  }
2236770cf0a5SDimitry Andric
2237770cf0a5SDimitry Andric  // Experimental C++ Standard Library interfaces
2238770cf0a5SDimitry Andric  module experimental {
2239770cf0a5SDimitry Andric    module iterator           { header "experimental/iterator" }
2240770cf0a5SDimitry Andric    module memory             { header "experimental/memory" }
2241770cf0a5SDimitry Andric    module propagate_const    { header "experimental/propagate_const" }
2242770cf0a5SDimitry Andric    module type_traits        { header "experimental/type_traits" }
2243770cf0a5SDimitry Andric    module utility            { header "experimental/utility" }
2244770cf0a5SDimitry Andric    module simd {
2245770cf0a5SDimitry Andric      private header "experimental/__simd/aligned_tag.h"
2246770cf0a5SDimitry Andric      private header "experimental/__simd/declaration.h"
2247770cf0a5SDimitry Andric      private header "experimental/__simd/reference.h"
2248770cf0a5SDimitry Andric      private header "experimental/__simd/scalar.h"
2249770cf0a5SDimitry Andric      private header "experimental/__simd/simd_mask.h"
2250770cf0a5SDimitry Andric      private header "experimental/__simd/simd.h"
2251770cf0a5SDimitry Andric      private header "experimental/__simd/traits.h"
2252770cf0a5SDimitry Andric      private header "experimental/__simd/utility.h"
2253770cf0a5SDimitry Andric      private header "experimental/__simd/vec_ext.h"
2254770cf0a5SDimitry Andric      header "experimental/simd"
2255770cf0a5SDimitry Andric      export *
2256770cf0a5SDimitry Andric    }
2257770cf0a5SDimitry Andric  }
2258770cf0a5SDimitry Andric
2259770cf0a5SDimitry Andric  // Implementation detail headers that are private to libc++. These modules
2260770cf0a5SDimitry Andric  // must not be directly imported.
2261770cf0a5SDimitry Andric  module debug_utils {
2262770cf0a5SDimitry Andric    module randomize_range              { header "__debug_utils/randomize_range.h" }
2263770cf0a5SDimitry Andric    module sanitizers                   { header "__debug_utils/sanitizers.h" }
2264770cf0a5SDimitry Andric    module strict_weak_ordering_check   { header "__debug_utils/strict_weak_ordering_check.h" }
2265770cf0a5SDimitry Andric  }
2266770cf0a5SDimitry Andric
2267770cf0a5SDimitry Andric  module get_fwd {
2268770cf0a5SDimitry Andric    header "__fwd/get.h"
2269770cf0a5SDimitry Andric    export std_core.fwd.pair
2270770cf0a5SDimitry Andric    export std_core.fwd.tuple
2271770cf0a5SDimitry Andric    export std.array.fwd
2272770cf0a5SDimitry Andric    export std.complex.fwd
2273770cf0a5SDimitry Andric    export std.ranges.subrange_fwd
2274770cf0a5SDimitry Andric    export std.variant.fwd
2275770cf0a5SDimitry Andric  }
2276770cf0a5SDimitry Andric
2277770cf0a5SDimitry Andric  module pstl {
2278770cf0a5SDimitry Andric    module backend_fwd {
2279770cf0a5SDimitry Andric      header "__pstl/backend_fwd.h"
2280770cf0a5SDimitry Andric    }
2281770cf0a5SDimitry Andric    module backend {
2282770cf0a5SDimitry Andric      header "__pstl/backend.h"
2283770cf0a5SDimitry Andric      export * // need to export everything from whatever backend is currently configured
2284770cf0a5SDimitry Andric    }
2285770cf0a5SDimitry Andric    module backends {
2286770cf0a5SDimitry Andric      module default {
2287770cf0a5SDimitry Andric        header "__pstl/backends/default.h"
2288770cf0a5SDimitry Andric        export std_core.utility_core.empty
2289770cf0a5SDimitry Andric      }
2290770cf0a5SDimitry Andric      module libdispatch {
2291770cf0a5SDimitry Andric        header "__pstl/backends/libdispatch.h"
2292770cf0a5SDimitry Andric        export std.pstl.cpu_algos
2293770cf0a5SDimitry Andric        export std_core.utility_core.empty
2294770cf0a5SDimitry Andric      }
2295770cf0a5SDimitry Andric      module serial {
2296770cf0a5SDimitry Andric        header "__pstl/backends/serial.h"
2297770cf0a5SDimitry Andric        export std_core.utility_core.empty
2298770cf0a5SDimitry Andric      }
2299770cf0a5SDimitry Andric      module std_thread {
2300770cf0a5SDimitry Andric        header "__pstl/backends/std_thread.h"
2301770cf0a5SDimitry Andric        export std.pstl.cpu_algos
2302770cf0a5SDimitry Andric        export std_core.utility_core.empty
2303770cf0a5SDimitry Andric      }
2304770cf0a5SDimitry Andric    }
2305770cf0a5SDimitry Andric    module cpu_algos {
2306770cf0a5SDimitry Andric      module any_of {
2307770cf0a5SDimitry Andric        header "__pstl/cpu_algos/any_of.h"
2308770cf0a5SDimitry Andric      }
2309770cf0a5SDimitry Andric      module cpu_traits {
2310770cf0a5SDimitry Andric        header "__pstl/cpu_algos/cpu_traits.h"
2311770cf0a5SDimitry Andric      }
2312770cf0a5SDimitry Andric      module fill {
2313770cf0a5SDimitry Andric        header "__pstl/cpu_algos/fill.h"
2314770cf0a5SDimitry Andric        export std_core.utility_core.empty
2315770cf0a5SDimitry Andric      }
2316770cf0a5SDimitry Andric      module find_if {
2317770cf0a5SDimitry Andric        header "__pstl/cpu_algos/find_if.h"
2318770cf0a5SDimitry Andric      }
2319770cf0a5SDimitry Andric      module for_each {
2320770cf0a5SDimitry Andric        header "__pstl/cpu_algos/for_each.h"
2321770cf0a5SDimitry Andric        export std_core.utility_core.empty
2322770cf0a5SDimitry Andric      }
2323770cf0a5SDimitry Andric      module merge {
2324770cf0a5SDimitry Andric        header "__pstl/cpu_algos/merge.h"
2325770cf0a5SDimitry Andric      }
2326770cf0a5SDimitry Andric      module stable_sort {
2327770cf0a5SDimitry Andric        header "__pstl/cpu_algos/stable_sort.h"
2328770cf0a5SDimitry Andric        export std_core.utility_core.empty
2329770cf0a5SDimitry Andric      }
2330770cf0a5SDimitry Andric      module transform {
2331770cf0a5SDimitry Andric        header "__pstl/cpu_algos/transform.h"
2332770cf0a5SDimitry Andric      }
2333770cf0a5SDimitry Andric      module transform_reduce {
2334770cf0a5SDimitry Andric        header "__pstl/cpu_algos/transform_reduce.h"
2335770cf0a5SDimitry Andric      }
2336770cf0a5SDimitry Andric    }
2337770cf0a5SDimitry Andric    module dispatch           { header "__pstl/dispatch.h" }
2338770cf0a5SDimitry Andric    module handle_exception   { header "__pstl/handle_exception.h" }
2339770cf0a5SDimitry Andric  }
2340770cf0a5SDimitry Andric
2341770cf0a5SDimitry Andric  // Miscellaneous modules for top-level headers
2342770cf0a5SDimitry Andric  module bit_reference_fwd {
2343770cf0a5SDimitry Andric    header "__fwd/bit_reference.h"
2344770cf0a5SDimitry Andric  }
2345770cf0a5SDimitry Andric  module bit_reference {
2346770cf0a5SDimitry Andric    header "__bit_reference"
2347770cf0a5SDimitry Andric    export std.bit_reference_fwd
2348770cf0a5SDimitry Andric  }
2349770cf0a5SDimitry Andric  module hash_table           { header "__hash_table" }
2350770cf0a5SDimitry Andric  module node_handle          { header "__node_handle" }
2351770cf0a5SDimitry Andric  module split_buffer         { header "__split_buffer" }
2352770cf0a5SDimitry Andric  module tree                 { header "__tree" }
2353770cf0a5SDimitry Andric  module std_mbstate_t {
2354770cf0a5SDimitry Andric    header "__std_mbstate_t.h"
2355770cf0a5SDimitry Andric    export *
2356770cf0a5SDimitry Andric  }
2357e64bea71SDimitry Andric  module log_hardening_failure {
2358e64bea71SDimitry Andric    header "__log_hardening_failure"
2359e64bea71SDimitry Andric  }
2360770cf0a5SDimitry Andric  module verbose_abort {
2361770cf0a5SDimitry Andric    header "__verbose_abort"
2362770cf0a5SDimitry Andric  }
2363770cf0a5SDimitry Andric  module verbose_trap {
2364770cf0a5SDimitry Andric    header "__verbose_trap"
2365770cf0a5SDimitry Andric  }
2366770cf0a5SDimitry Andric  module internal_assert {
2367770cf0a5SDimitry Andric    header "__assert"
2368770cf0a5SDimitry Andric    export *
2369770cf0a5SDimitry Andric  }
2370770cf0a5SDimitry Andric  module assertion_handler {
2371770cf0a5SDimitry Andric    header "__assertion_handler" // generated via CMake
2372770cf0a5SDimitry Andric    export *
2373770cf0a5SDimitry Andric  }
2374770cf0a5SDimitry Andric
2375770cf0a5SDimitry Andric  module undef_macros {
2376770cf0a5SDimitry Andric    textual header "__undef_macros"
2377770cf0a5SDimitry Andric  }
2378770cf0a5SDimitry Andric
2379770cf0a5SDimitry Andric  // This module needs to appear after __tree to work around issues with modules in Objective-C++ mode.
2380770cf0a5SDimitry Andric  module coroutine {
2381770cf0a5SDimitry Andric    module coroutine_handle         { header "__coroutine/coroutine_handle.h" }
2382770cf0a5SDimitry Andric    module coroutine_traits         { header "__coroutine/coroutine_traits.h" }
2383770cf0a5SDimitry Andric    module noop_coroutine_handle    { header "__coroutine/noop_coroutine_handle.h" }
2384770cf0a5SDimitry Andric    module trivial_awaitables       { header "__coroutine/trivial_awaitables.h" }
2385770cf0a5SDimitry Andric
2386770cf0a5SDimitry Andric    header "coroutine"
2387770cf0a5SDimitry Andric    export *
2388770cf0a5SDimitry Andric  }
2389770cf0a5SDimitry Andric} // module std
2390770cf0a5SDimitry Andric
2391770cf0a5SDimitry Andric// C compatibility headers
2392770cf0a5SDimitry Andric//
2393770cf0a5SDimitry Andric// These modules need to be their own top-level modules because they depend on the system-provided
2394770cf0a5SDimitry Andric// headers (via include_next), which are then free to include other C headers provided by libc++.
2395770cf0a5SDimitry Andric// If we group these headers in a single module, we would end up with circular dependencies.
2396770cf0a5SDimitry Andricmodule std_complex_h [system] {
2397770cf0a5SDimitry Andric  header "complex.h"
2398770cf0a5SDimitry Andric  export *
2399770cf0a5SDimitry Andric}
2400770cf0a5SDimitry Andricmodule std_ctype_h [system] {
2401770cf0a5SDimitry Andric  header "ctype.h"
2402770cf0a5SDimitry Andric  export *
2403770cf0a5SDimitry Andric}
2404770cf0a5SDimitry Andricmodule std_errno_h [system] {
2405770cf0a5SDimitry Andric  header "errno.h"
2406770cf0a5SDimitry Andric  export *
2407770cf0a5SDimitry Andric}
2408770cf0a5SDimitry Andricmodule std_fenv_h [system] {
2409770cf0a5SDimitry Andric  header "fenv.h"
2410770cf0a5SDimitry Andric  export *
2411770cf0a5SDimitry Andric}
2412770cf0a5SDimitry Andricmodule std_float_h [system] {
2413770cf0a5SDimitry Andric  header "float.h"
2414770cf0a5SDimitry Andric  export *
2415770cf0a5SDimitry Andric}
2416770cf0a5SDimitry Andricmodule std_inttypes_h [system] {
2417770cf0a5SDimitry Andric  header "inttypes.h"
2418770cf0a5SDimitry Andric  export *
2419770cf0a5SDimitry Andric}
2420770cf0a5SDimitry Andricmodule std_math_h [system] {
2421770cf0a5SDimitry Andric  header "math.h"
2422770cf0a5SDimitry Andric  export *
2423770cf0a5SDimitry Andric}
2424770cf0a5SDimitry Andricmodule std_stdatomic_h [system] {
2425770cf0a5SDimitry Andric  header "stdatomic.h"
2426770cf0a5SDimitry Andric  export *
2427770cf0a5SDimitry Andric}
2428770cf0a5SDimitry Andricmodule std_stdbool_h [system] {
2429770cf0a5SDimitry Andric  // <stdbool.h>'s __bool_true_false_are_defined macro requires textual inclusion.
2430770cf0a5SDimitry Andric  textual header "stdbool.h"
2431770cf0a5SDimitry Andric}
2432770cf0a5SDimitry Andricmodule std_stddef_h [system] {
2433770cf0a5SDimitry Andric  // <stddef.h> supports being included multiple times with different pre-defined macros
2434770cf0a5SDimitry Andric  textual header "stddef.h"
2435770cf0a5SDimitry Andric}
2436*00bee6fcSDimitry Andricmodule std_stdint_h [system] {
2437*00bee6fcSDimitry Andric  // <stdint.h> supports being included multiple times with different pre-defined macros
2438*00bee6fcSDimitry Andric  textual header "stdint.h"
2439*00bee6fcSDimitry Andric}
2440770cf0a5SDimitry Andricmodule std_stdio_h [system] {
2441770cf0a5SDimitry Andric  // <stdio.h> supports being included multiple times with different pre-defined macros
2442770cf0a5SDimitry Andric  textual header "stdio.h"
2443770cf0a5SDimitry Andric}
2444770cf0a5SDimitry Andricmodule std_stdlib_h [system] {
2445770cf0a5SDimitry Andric  // <stdlib.h> supports being included multiple times with different pre-defined macros
2446770cf0a5SDimitry Andric  textual header "stdlib.h"
2447770cf0a5SDimitry Andric}
2448770cf0a5SDimitry Andricmodule std_string_h [system] {
2449770cf0a5SDimitry Andric  header "string.h"
2450770cf0a5SDimitry Andric  export *
2451770cf0a5SDimitry Andric}
2452770cf0a5SDimitry Andricmodule std_tgmath_h [system] {
2453770cf0a5SDimitry Andric  header "tgmath.h"
2454770cf0a5SDimitry Andric  export *
2455770cf0a5SDimitry Andric}
2456770cf0a5SDimitry Andricmodule std_uchar_h [system] {
2457770cf0a5SDimitry Andric  header "uchar.h"
2458770cf0a5SDimitry Andric  export *
2459770cf0a5SDimitry Andric}
2460770cf0a5SDimitry Andricmodule std_wchar_h [system] {
2461770cf0a5SDimitry Andric  // <wchar.h> supports being included multiple times with different pre-defined macros
2462770cf0a5SDimitry Andric  textual header "wchar.h"
2463770cf0a5SDimitry Andric}
2464770cf0a5SDimitry Andricmodule std_wctype_h [system] {
2465770cf0a5SDimitry Andric  header "wctype.h"
2466770cf0a5SDimitry Andric  export *
2467770cf0a5SDimitry Andric}
2468770cf0a5SDimitry Andric
2469770cf0a5SDimitry Andric// This header is used by other C compatibility headers so it needs to be in its own module.
2470770cf0a5SDimitry Andricmodule std_private_mbstate_t [system] {
2471770cf0a5SDimitry Andric  header "__mbstate_t.h"
2472770cf0a5SDimitry Andric  export *
2473770cf0a5SDimitry Andric}
2474