blob: c940a6d11d816a485048b5964dcc3fd072fb419a [file] [log] [blame]
Eric Fiselier62b959c2016-12-08 06:37:41 +00001// define the module for __config outside of the top level 'std' module
2// since __config may be included from C headers which may create an
3// include cycle.
4module std_config [system] [extern_c] {
5 header "__config"
6}
7
Richard Smith31cfef02014-05-21 00:33:49 +00008module std [system] {
Eric Fiselier62b959c2016-12-08 06:37:41 +00009 export std_config
Richard Smith31cfef02014-05-21 00:33:49 +000010 // FIXME: The standard does not require that each of these submodules
11 // re-exports its imported modules. We should provide an alternative form of
12 // export that issues a warning if a name from the submodule is used, and
13 // use that to provide a 'strict mode' for libc++.
Bruno Cardoso Lopes7fd29e02016-10-21 03:14:27 +000014
15 // Deprecated C-compatibility headers. These can all be included from within
16 // an 'extern "C"' context.
17 module depr [extern_c] {
18 // <assert.h> provided by C library.
19 module ctype_h {
20 header "ctype.h"
21 export *
22 }
23 module errno_h {
24 header "errno.h"
25 export *
26 }
Eric Fiselier5dddf722019-02-11 23:47:19 +000027 module fenv_h {
28 header "fenv.h"
29 export *
30 }
Bruno Cardoso Lopes7fd29e02016-10-21 03:14:27 +000031 // <float.h> provided by compiler or C library.
32 module inttypes_h {
33 header "inttypes.h"
34 export stdint_h
Bruno Cardoso Lopes7fd29e02016-10-21 03:14:27 +000035 export *
36 }
37 // <iso646.h> provided by compiler.
38 // <limits.h> provided by compiler or C library.
Eric Fiselierc6213332016-11-19 01:14:15 +000039 module locale_h {
40 header "locale.h"
Eric Fiselierc6213332016-11-19 01:14:15 +000041 export *
42 }
Bruno Cardoso Lopes7fd29e02016-10-21 03:14:27 +000043 module math_h {
44 header "math.h"
Bruno Cardoso Lopes7fd29e02016-10-21 03:14:27 +000045 export *
46 }
47 module setjmp_h {
48 header "setjmp.h"
Bruno Cardoso Lopes7fd29e02016-10-21 03:14:27 +000049 export *
50 }
51 // FIXME: <stdalign.h> is missing.
52 // <signal.h> provided by C library.
53 // <stdarg.h> provided by compiler.
Eric Fiselier5163fa12016-12-06 09:48:32 +000054 // <stdbool.h> provided by compiler.
Bruno Cardoso Lopes7fd29e02016-10-21 03:14:27 +000055 module stddef_h {
56 // <stddef.h>'s __need_* macros require textual inclusion.
57 textual header "stddef.h"
58 }
Eric Fiseliercbda4fb2016-11-22 20:05:19 +000059 module stdint_h {
60 header "stdint.h"
61 export *
62 // FIXME: This module only exists on OS X and for some reason the
63 // wildcard above doesn't export it.
64 export Darwin.C.stdint
65 }
Bruno Cardoso Lopes7fd29e02016-10-21 03:14:27 +000066 module stdio_h {
67 // <stdio.h>'s __need_* macros require textual inclusion.
68 textual header "stdio.h"
Bruno Cardoso Lopes7fd29e02016-10-21 03:14:27 +000069 export *
Eric Fiselier3b733092016-12-06 07:40:46 +000070 export Darwin.C.stdio
Bruno Cardoso Lopes7fd29e02016-10-21 03:14:27 +000071 }
72 module stdlib_h {
73 // <stdlib.h>'s __need_* macros require textual inclusion.
74 textual header "stdlib.h"
Bruno Cardoso Lopes7fd29e02016-10-21 03:14:27 +000075 export *
76 }
77 module string_h {
78 header "string.h"
Bruno Cardoso Lopes7fd29e02016-10-21 03:14:27 +000079 export *
80 }
81 // FIXME: <uchar.h> is missing.
82 // <time.h> provided by C library.
83 module wchar_h {
84 // <wchar.h>'s __need_* macros require textual inclusion.
85 textual header "wchar.h"
Bruno Cardoso Lopes7fd29e02016-10-21 03:14:27 +000086 export *
87 }
88 module wctype_h {
89 header "wctype.h"
Bruno Cardoso Lopes7fd29e02016-10-21 03:14:27 +000090 export *
91 }
92 }
93
94 // <complex.h> and <tgmath.h> are not C headers in any real sense, do not
95 // allow their use in extern "C" contexts.
96 module complex_h {
97 header "complex.h"
98 export ccomplex
99 export *
100 }
101 module tgmath_h {
102 header "tgmath.h"
103 export ccomplex
104 export cmath
105 export *
106 }
107
108 // C compatibility headers.
109 module compat {
110 module cassert {
111 // <cassert>'s use of NDEBUG requires textual inclusion.
112 textual header "cassert"
113 }
114 module ccomplex {
115 header "ccomplex"
116 export complex
117 export *
118 }
119 module cctype {
120 header "cctype"
121 export *
122 }
123 module cerrno {
124 header "cerrno"
Bruno Cardoso Lopes7fd29e02016-10-21 03:14:27 +0000125 export *
126 }
127 module cfenv {
128 header "cfenv"
Bruno Cardoso Lopes7fd29e02016-10-21 03:14:27 +0000129 export *
130 }
131 module cfloat {
132 header "cfloat"
Bruno Cardoso Lopes7fd29e02016-10-21 03:14:27 +0000133 export *
134 }
135 module cinttypes {
136 header "cinttypes"
137 export cstdint
Bruno Cardoso Lopes7fd29e02016-10-21 03:14:27 +0000138 export *
139 }
140 module ciso646 {
141 header "ciso646"
142 export *
143 }
144 module climits {
145 header "climits"
Bruno Cardoso Lopes7fd29e02016-10-21 03:14:27 +0000146 export *
147 }
148 module clocale {
149 header "clocale"
Bruno Cardoso Lopes7fd29e02016-10-21 03:14:27 +0000150 export *
151 }
152 module cmath {
153 header "cmath"
Bruno Cardoso Lopes7fd29e02016-10-21 03:14:27 +0000154 export *
155 }
156 module csetjmp {
157 header "csetjmp"
Bruno Cardoso Lopes7fd29e02016-10-21 03:14:27 +0000158 export *
159 }
160 module csignal {
161 header "csignal"
Bruno Cardoso Lopes7fd29e02016-10-21 03:14:27 +0000162 export *
163 }
164 // FIXME: <cstdalign> is missing.
165 module cstdarg {
166 header "cstdarg"
Bruno Cardoso Lopes7fd29e02016-10-21 03:14:27 +0000167 export *
168 }
169 module cstdbool {
170 header "cstdbool"
Bruno Cardoso Lopes7fd29e02016-10-21 03:14:27 +0000171 export *
172 }
173 module cstddef {
174 header "cstddef"
Bruno Cardoso Lopes7fd29e02016-10-21 03:14:27 +0000175 export *
176 }
177 module cstdint {
178 header "cstdint"
Eric Fiseliercbda4fb2016-11-22 20:05:19 +0000179 export depr.stdint_h
Bruno Cardoso Lopes7fd29e02016-10-21 03:14:27 +0000180 export *
181 }
182 module cstdio {
183 header "cstdio"
Bruno Cardoso Lopes7fd29e02016-10-21 03:14:27 +0000184 export *
185 }
186 module cstdlib {
187 header "cstdlib"
Bruno Cardoso Lopes7fd29e02016-10-21 03:14:27 +0000188 export *
189 }
190 module cstring {
191 header "cstring"
Bruno Cardoso Lopes7fd29e02016-10-21 03:14:27 +0000192 export *
193 }
194 module ctgmath {
195 header "ctgmath"
196 export ccomplex
197 export cmath
198 export *
199 }
200 module ctime {
201 header "ctime"
Bruno Cardoso Lopes7fd29e02016-10-21 03:14:27 +0000202 export *
203 }
204 // FIXME: <cuchar> is missing.
205 module cwchar {
206 header "cwchar"
Eric Fiselier3b733092016-12-06 07:40:46 +0000207 export depr.stdio_h
Bruno Cardoso Lopes7fd29e02016-10-21 03:14:27 +0000208 export *
209 }
210 module cwctype {
211 header "cwctype"
Bruno Cardoso Lopes7fd29e02016-10-21 03:14:27 +0000212 export *
213 }
214 }
215
Richard Smith31cfef02014-05-21 00:33:49 +0000216 module algorithm {
217 header "algorithm"
218 export initializer_list
219 export *
Louis Dionnea60dd872021-06-17 11:30:11 -0400220
221 module __algorithm {
Christopher Di Bella60fc6602021-07-13 19:44:07 +0000222 module adjacent_find { private header "__algorithm/adjacent_find.h" }
223 module all_of { private header "__algorithm/all_of.h" }
224 module any_of { private header "__algorithm/any_of.h" }
225 module binary_search { private header "__algorithm/binary_search.h" }
226 module clamp { private header "__algorithm/clamp.h" }
227 module comp { private header "__algorithm/comp.h" }
228 module comp_ref_type { private header "__algorithm/comp_ref_type.h" }
229 module copy { private header "__algorithm/copy.h" }
230 module copy_backward { private header "__algorithm/copy_backward.h" }
231 module copy_if { private header "__algorithm/copy_if.h" }
232 module copy_n { private header "__algorithm/copy_n.h" }
233 module count { private header "__algorithm/count.h" }
234 module count_if { private header "__algorithm/count_if.h" }
235 module equal { private header "__algorithm/equal.h" }
236 module equal_range { private header "__algorithm/equal_range.h" }
237 module fill { private header "__algorithm/fill.h" }
238 module fill_n { private header "__algorithm/fill_n.h" }
239 module find { private header "__algorithm/find.h" }
240 module find_end { private header "__algorithm/find_end.h" }
241 module find_first_of { private header "__algorithm/find_first_of.h" }
242 module find_if { private header "__algorithm/find_if.h" }
243 module find_if_not { private header "__algorithm/find_if_not.h" }
244 module for_each { private header "__algorithm/for_each.h" }
245 module for_each_n { private header "__algorithm/for_each_n.h" }
246 module generate { private header "__algorithm/generate.h" }
247 module generate_n { private header "__algorithm/generate_n.h" }
248 module half_positive { private header "__algorithm/half_positive.h" }
Nikolas Klauserf74be4e2022-01-14 02:55:51 +0100249 module in_in_result { private header "__algorithm/in_in_result.h" }
Konstantin Varlamov74736812022-01-10 22:49:37 -0800250 module in_out_result { private header "__algorithm/in_out_result.h" }
Christopher Di Bella60fc6602021-07-13 19:44:07 +0000251 module includes { private header "__algorithm/includes.h" }
252 module inplace_merge { private header "__algorithm/inplace_merge.h" }
253 module is_heap { private header "__algorithm/is_heap.h" }
254 module is_heap_until { private header "__algorithm/is_heap_until.h" }
255 module is_partitioned { private header "__algorithm/is_partitioned.h" }
256 module is_permutation { private header "__algorithm/is_permutation.h" }
257 module is_sorted { private header "__algorithm/is_sorted.h" }
258 module is_sorted_until { private header "__algorithm/is_sorted_until.h" }
259 module iter_swap { private header "__algorithm/iter_swap.h" }
260 module lexicographical_compare { private header "__algorithm/lexicographical_compare.h" }
261 module lower_bound { private header "__algorithm/lower_bound.h" }
262 module make_heap { private header "__algorithm/make_heap.h" }
263 module max { private header "__algorithm/max.h" }
264 module max_element { private header "__algorithm/max_element.h" }
265 module merge { private header "__algorithm/merge.h" }
266 module min { private header "__algorithm/min.h" }
267 module min_element { private header "__algorithm/min_element.h" }
268 module minmax { private header "__algorithm/minmax.h" }
269 module minmax_element { private header "__algorithm/minmax_element.h" }
270 module mismatch { private header "__algorithm/mismatch.h" }
271 module move { private header "__algorithm/move.h" }
272 module move_backward { private header "__algorithm/move_backward.h" }
273 module next_permutation { private header "__algorithm/next_permutation.h" }
274 module none_of { private header "__algorithm/none_of.h" }
275 module nth_element { private header "__algorithm/nth_element.h" }
276 module partial_sort { private header "__algorithm/partial_sort.h" }
277 module partial_sort_copy { private header "__algorithm/partial_sort_copy.h" }
278 module partition { private header "__algorithm/partition.h" }
279 module partition_copy { private header "__algorithm/partition_copy.h" }
280 module partition_point { private header "__algorithm/partition_point.h" }
281 module pop_heap { private header "__algorithm/pop_heap.h" }
282 module prev_permutation { private header "__algorithm/prev_permutation.h" }
283 module push_heap { private header "__algorithm/push_heap.h" }
284 module remove { private header "__algorithm/remove.h" }
285 module remove_copy { private header "__algorithm/remove_copy.h" }
286 module remove_copy_if { private header "__algorithm/remove_copy_if.h" }
287 module remove_if { private header "__algorithm/remove_if.h" }
288 module replace { private header "__algorithm/replace.h" }
289 module replace_copy { private header "__algorithm/replace_copy.h" }
290 module replace_copy_if { private header "__algorithm/replace_copy_if.h" }
291 module replace_if { private header "__algorithm/replace_if.h" }
292 module reverse { private header "__algorithm/reverse.h" }
293 module reverse_copy { private header "__algorithm/reverse_copy.h" }
294 module rotate { private header "__algorithm/rotate.h" }
295 module rotate_copy { private header "__algorithm/rotate_copy.h" }
296 module sample { private header "__algorithm/sample.h" }
297 module search { private header "__algorithm/search.h" }
298 module search_n { private header "__algorithm/search_n.h" }
299 module set_difference { private header "__algorithm/set_difference.h" }
300 module set_intersection { private header "__algorithm/set_intersection.h" }
301 module set_symmetric_difference { private header "__algorithm/set_symmetric_difference.h" }
302 module set_union { private header "__algorithm/set_union.h" }
303 module shift_left { private header "__algorithm/shift_left.h" }
304 module shift_right { private header "__algorithm/shift_right.h" }
305 module shuffle { private header "__algorithm/shuffle.h" }
306 module sift_down { private header "__algorithm/sift_down.h" }
307 module sort { private header "__algorithm/sort.h" }
308 module sort_heap { private header "__algorithm/sort_heap.h" }
309 module stable_partition { private header "__algorithm/stable_partition.h" }
310 module stable_sort { private header "__algorithm/stable_sort.h" }
311 module swap_ranges { private header "__algorithm/swap_ranges.h" }
312 module transform { private header "__algorithm/transform.h" }
313 module unique { private header "__algorithm/unique.h" }
314 module unique_copy { private header "__algorithm/unique_copy.h" }
315 module unwrap_iter { private header "__algorithm/unwrap_iter.h" }
316 module upper_bound { private header "__algorithm/upper_bound.h" }
Louis Dionnea60dd872021-06-17 11:30:11 -0400317 }
Richard Smith31cfef02014-05-21 00:33:49 +0000318 }
Eric Fiselier006458b2016-12-05 23:33:19 +0000319 module any {
320 header "any"
321 export *
322 }
Richard Smith31cfef02014-05-21 00:33:49 +0000323 module array {
324 header "array"
325 export initializer_list
326 export *
327 }
328 module atomic {
329 header "atomic"
330 export *
Richard Smith31cfef02014-05-21 00:33:49 +0000331 }
Olivier Giroux161e6e82020-02-18 09:58:34 -0500332 module barrier {
Raphael Isemann95e3ba22020-02-24 20:20:54 +0100333 requires cplusplus14
Olivier Giroux161e6e82020-02-18 09:58:34 -0500334 header "barrier"
335 export *
336 }
Marshall Clowbf32ec92018-08-17 16:07:48 +0000337 module bit {
338 header "bit"
339 export *
Louis Dionne1462d4d2020-05-28 14:28:38 -0400340
341 module __bit {
342 module bit_cast { private header "__bit/bit_cast.h" }
Nikolas Klauserb52cfd92021-11-22 00:22:55 +0100343 module byteswap { private header "__bit/byteswap.h" }
Louis Dionne1462d4d2020-05-28 14:28:38 -0400344 }
Marshall Clowbf32ec92018-08-17 16:07:48 +0000345 }
Richard Smith31cfef02014-05-21 00:33:49 +0000346 module bitset {
347 header "bitset"
348 export string
349 export iosfwd
350 export *
351 }
352 // No submodule for cassert. It fundamentally needs repeated, textual inclusion.
Zhihao Yuan7bf19052018-08-01 02:38:30 +0000353 module charconv {
354 header "charconv"
355 export *
Mark de Weverfd2375f2021-08-30 19:47:55 +0200356
357 module __charconv {
Arthur O'Dwyer89cb8d82021-12-05 18:56:58 -0500358 module chars_format { private header "__charconv/chars_format.h" }
Mark de Weverfd2375f2021-08-30 19:47:55 +0200359 module from_chars_result { private header "__charconv/from_chars_result.h" }
Arthur O'Dwyer89cb8d82021-12-05 18:56:58 -0500360 module to_chars_result { private header "__charconv/to_chars_result.h" }
Mark de Weverfd2375f2021-08-30 19:47:55 +0200361 }
362
Zhihao Yuan7bf19052018-08-01 02:38:30 +0000363 }
Richard Smith31cfef02014-05-21 00:33:49 +0000364 module chrono {
365 header "chrono"
366 export *
Louis Dionne9c2a32052022-01-10 14:56:43 -0500367
368 module __chrono {
369 module calendar { private header "__chrono/calendar.h" }
Louis Dionnecaf26832022-01-10 09:43:29 -0500370 module convert_to_timespec { private header "__chrono/convert_to_timespec.h" }
Louis Dionne9c2a32052022-01-10 14:56:43 -0500371 module duration { private header "__chrono/duration.h" }
372 module file_clock { private header "__chrono/file_clock.h" }
373 module high_resolution_clock { private header "__chrono/high_resolution_clock.h" }
374 module steady_clock { private header "__chrono/steady_clock.h" }
375 module system_clock { private header "__chrono/system_clock.h" }
376 module time_point { private header "__chrono/time_point.h" }
377 }
Richard Smith31cfef02014-05-21 00:33:49 +0000378 }
Richard Smith31cfef02014-05-21 00:33:49 +0000379 module codecvt {
380 header "codecvt"
381 export *
382 }
Eric Fiseliere0074fc2018-04-06 21:37:23 +0000383 module compare {
384 header "compare"
385 export *
Ruslan Arutyunyan1babff32021-07-28 22:05:46 -0400386
387 module __compare {
388 module common_comparison_category { private header "__compare/common_comparison_category.h" }
Arthur O'Dwyer89cb8d82021-12-05 18:56:58 -0500389 module compare_three_way { private header "__compare/compare_three_way.h" }
390 module compare_three_way_result { private header "__compare/compare_three_way_result.h" }
391 module is_eq { private header "__compare/is_eq.h" }
392 module ordering { private header "__compare/ordering.h" }
393 module partial_order { private header "__compare/partial_order.h" }
394 module strong_order { private header "__compare/strong_order.h" }
395 module synth_three_way { private header "__compare/synth_three_way.h" }
396 module three_way_comparable { private header "__compare/three_way_comparable.h" }
397 module weak_order { private header "__compare/weak_order.h" }
Ruslan Arutyunyan1babff32021-07-28 22:05:46 -0400398 }
Eric Fiseliere0074fc2018-04-06 21:37:23 +0000399 }
Richard Smith31cfef02014-05-21 00:33:49 +0000400 module complex {
401 header "complex"
402 export *
403 }
Eric Fiselierd59a0322020-04-08 18:00:13 -0400404 module concepts {
405 header "concepts"
406 export *
Arthur O'Dwyerf72c4772021-07-29 01:08:30 -0400407
408 module __concepts {
Arthur O'Dwyer89cb8d82021-12-05 18:56:58 -0500409 module arithmetic { private header "__concepts/arithmetic.h" }
410 module assignable { private header "__concepts/assignable.h" }
411 module boolean_testable { private header "__concepts/boolean_testable.h" }
412 module class_or_enum { private header "__concepts/class_or_enum.h" }
413 module common_reference_with { private header "__concepts/common_reference_with.h" }
414 module common_with { private header "__concepts/common_with.h" }
415 module constructible { private header "__concepts/constructible.h" }
416 module convertible_to { private header "__concepts/convertible_to.h" }
417 module copyable { private header "__concepts/copyable.h" }
418 module derived_from { private header "__concepts/derived_from.h" }
419 module destructible { private header "__concepts/destructible.h" }
420 module different_from { private header "__concepts/different_from.h" }
421 module equality_comparable { private header "__concepts/equality_comparable.h" }
422 module invocable { private header "__concepts/invocable.h" }
423 module movable { private header "__concepts/movable.h" }
424 module predicate { private header "__concepts/predicate.h" }
425 module regular { private header "__concepts/regular.h" }
426 module relation { private header "__concepts/relation.h" }
427 module same_as { private header "__concepts/same_as.h" }
428 module semiregular { private header "__concepts/semiregular.h" }
429 module swappable { private header "__concepts/swappable.h" }
430 module totally_ordered { private header "__concepts/totally_ordered.h" }
Arthur O'Dwyerf72c4772021-07-29 01:08:30 -0400431 }
Eric Fiselierd59a0322020-04-08 18:00:13 -0400432 }
Richard Smith31cfef02014-05-21 00:33:49 +0000433 module condition_variable {
434 header "condition_variable"
435 export *
436 }
Chuanqi Xu6fdf6192021-11-16 14:05:34 +0800437 module coroutine {
438 requires coroutines
439 header "coroutine"
440 export compare
441 export *
442
443 module __coroutine {
Arthur O'Dwyer89cb8d82021-12-05 18:56:58 -0500444 module coroutine_handle { private header "__coroutine/coroutine_handle.h" }
445 module coroutine_traits { private header "__coroutine/coroutine_traits.h" }
Arthur O'Dwyer89cb8d82021-12-05 18:56:58 -0500446 module noop_coroutine_handle { private header "__coroutine/noop_coroutine_handle.h" }
Arthur O'Dwyer93488582022-01-10 13:23:19 -0500447 module trivial_awaitables { private header "__coroutine/trivial_awaitables.h" }
Chuanqi Xu6fdf6192021-11-16 14:05:34 +0800448 }
449 }
Richard Smith31cfef02014-05-21 00:33:49 +0000450 module deque {
451 header "deque"
452 export initializer_list
453 export *
454 }
455 module exception {
456 header "exception"
457 export *
458 }
Louis Dionne59d0b3c2019-08-05 18:29:14 +0000459 module execution {
460 header "execution"
461 export *
462 }
Eric Fiselier02cea5e2018-07-27 03:07:09 +0000463 module filesystem {
464 header "filesystem"
465 export *
Nikolas Klauser70bc0962021-12-18 10:21:25 +0100466
467 module __filesystem {
468 module copy_options { private header "__filesystem/copy_options.h" }
469 module directory_entry { private header "__filesystem/directory_entry.h" }
470 module directory_iterator { private header "__filesystem/directory_iterator.h" }
471 module directory_options { private header "__filesystem/directory_options.h" }
472 module file_status { private header "__filesystem/file_status.h" }
473 module file_time_type { private header "__filesystem/file_time_type.h" }
474 module file_type { private header "__filesystem/file_type.h" }
475 module filesystem_error { private header "__filesystem/filesystem_error.h" }
476 module operations { private header "__filesystem/operations.h" }
Nikolas Klauser70bc0962021-12-18 10:21:25 +0100477 module path { private header "__filesystem/path.h" }
Arthur O'Dwyer93488582022-01-10 13:23:19 -0500478 module path_iterator { private header "__filesystem/path_iterator.h" }
Nikolas Klauser70bc0962021-12-18 10:21:25 +0100479 module perm_options { private header "__filesystem/perm_options.h" }
480 module perms { private header "__filesystem/perms.h" }
481 module recursive_directory_iterator { private header "__filesystem/recursive_directory_iterator.h" }
482 module space_info { private header "__filesystem/space_info.h" }
483 module u8path { private header "__filesystem/u8path.h" }
484 }
Eric Fiselier02cea5e2018-07-27 03:07:09 +0000485 }
Mark de Weverdf5fd832020-11-26 19:12:18 +0100486 module format {
487 header "format"
488 export *
Christopher Di Bella02fbd4e2021-06-12 06:13:44 +0000489
490 module __format {
Mark de Wever4a5de742020-12-14 17:39:15 +0100491 module format_arg { private header "__format/format_arg.h" }
492 module format_args { private header "__format/format_args.h" }
Mark de Wevercba61372020-12-05 11:45:21 +0100493 module format_context {
494 private header "__format/format_context.h"
495 export optional
496 export locale
497 }
Mark de Wever4a5de742020-12-14 17:39:15 +0100498 module format_error { private header "__format/format_error.h" }
499 module format_fwd { private header "__format/format_fwd.h" }
500 module format_parse_context { private header "__format/format_parse_context.h" }
501 module format_string { private header "__format/format_string.h" }
502 module format_to_n_result { private header "__format/format_to_n_result.h" }
503 module formatter { private header "__format/formatter.h" }
504 module formatter_bool { private header "__format/formatter_bool.h" }
505 module formatter_char { private header "__format/formatter_char.h" }
506 module formatter_floating_point { private header "__format/formatter_floating_point.h" }
507 module formatter_integer { private header "__format/formatter_integer.h" }
508 module formatter_integral { private header "__format/formatter_integral.h" }
509 module formatter_string { private header "__format/formatter_string.h" }
510 module parser_std_format_spec { private header "__format/parser_std_format_spec.h" }
Christopher Di Bella02fbd4e2021-06-12 06:13:44 +0000511 }
Mark de Weverdf5fd832020-11-26 19:12:18 +0100512 }
Richard Smith31cfef02014-05-21 00:33:49 +0000513 module forward_list {
514 header "forward_list"
515 export initializer_list
516 export *
517 }
518 module fstream {
519 header "fstream"
520 export *
521 }
522 module functional {
523 header "functional"
524 export *
Christopher Di Bella55d7a822021-07-01 09:25:35 -0400525
Louis Dionnea60dd872021-06-17 11:30:11 -0400526 module __functional {
Christopher Di Bella60fc6602021-07-13 19:44:07 +0000527 module binary_function { private header "__functional/binary_function.h" }
528 module binary_negate { private header "__functional/binary_negate.h" }
529 module bind { private header "__functional/bind.h" }
Louis Dionne067e22b2021-08-09 15:41:26 -0400530 module bind_back { private header "__functional/bind_back.h" }
Christopher Di Bella60fc6602021-07-13 19:44:07 +0000531 module bind_front { private header "__functional/bind_front.h" }
532 module binder1st { private header "__functional/binder1st.h" }
533 module binder2nd { private header "__functional/binder2nd.h" }
Louis Dionne067e22b2021-08-09 15:41:26 -0400534 module compose { private header "__functional/compose.h" }
Christopher Di Bella60fc6602021-07-13 19:44:07 +0000535 module default_searcher { private header "__functional/default_searcher.h" }
536 module function { private header "__functional/function.h" }
537 module hash { private header "__functional/hash.h" }
538 module identity { private header "__functional/identity.h" }
Christopher Di Bella60fc6602021-07-13 19:44:07 +0000539 module invoke { private header "__functional/invoke.h" }
Louis Dionne067e22b2021-08-09 15:41:26 -0400540 module is_transparent { private header "__functional/is_transparent.h" }
Arthur O'Dwyer89cb8d82021-12-05 18:56:58 -0500541 module mem_fn { private header "__functional/mem_fn.h" }
542 module mem_fun_ref { private header "__functional/mem_fun_ref.h" }
Christopher Di Bella60fc6602021-07-13 19:44:07 +0000543 module not_fn { private header "__functional/not_fn.h" }
544 module operations { private header "__functional/operations.h" }
545 module perfect_forward { private header "__functional/perfect_forward.h" }
546 module pointer_to_binary_function { private header "__functional/pointer_to_binary_function.h" }
547 module pointer_to_unary_function { private header "__functional/pointer_to_unary_function.h" }
548 module ranges_operations { private header "__functional/ranges_operations.h" }
549 module reference_wrapper { private header "__functional/reference_wrapper.h" }
550 module unary_function { private header "__functional/unary_function.h" }
551 module unary_negate { private header "__functional/unary_negate.h" }
552 module unwrap_ref { private header "__functional/unwrap_ref.h" }
553 module weak_result_type { private header "__functional/weak_result_type.h" }
Louis Dionnea60dd872021-06-17 11:30:11 -0400554 }
Richard Smith31cfef02014-05-21 00:33:49 +0000555 }
556 module future {
557 header "future"
558 export *
559 }
560 module initializer_list {
561 header "initializer_list"
562 export *
563 }
564 module iomanip {
565 header "iomanip"
566 export *
567 }
568 module ios {
569 header "ios"
570 export iosfwd
571 export *
572 }
573 module iosfwd {
574 header "iosfwd"
575 export *
576 }
577 module iostream {
578 header "iostream"
579 export ios
580 export streambuf
581 export istream
582 export ostream
583 export *
584 }
585 module istream {
586 header "istream"
587 // FIXME: should re-export ios, streambuf?
588 export *
589 }
590 module iterator {
591 header "iterator"
592 export *
Christopher Di Bella02fbd4e2021-06-12 06:13:44 +0000593
594 module __iterator {
Christopher Di Bella60fc6602021-07-13 19:44:07 +0000595 module access { private header "__iterator/access.h" }
Arthur O'Dwyer8c3f9fd2022-01-03 20:28:00 -0500596 module advance { private header "__iterator/advance.h" }
Christopher Di Bella60fc6602021-07-13 19:44:07 +0000597 module back_insert_iterator { private header "__iterator/back_insert_iterator.h" }
zoecarver6eb71a92021-05-27 09:23:19 -0700598 module common_iterator { private header "__iterator/common_iterator.h" }
Christopher Di Bella60fc6602021-07-13 19:44:07 +0000599 module concepts { private header "__iterator/concepts.h" }
zoecarverd3aca592021-07-13 11:06:10 -0700600 module counted_iterator { private header "__iterator/counted_iterator.h" }
Christopher Di Bella60fc6602021-07-13 19:44:07 +0000601 module data { private header "__iterator/data.h" }
602 module default_sentinel { private header "__iterator/default_sentinel.h" }
603 module distance { private header "__iterator/distance.h" }
604 module empty { private header "__iterator/empty.h" }
605 module erase_if_container { private header "__iterator/erase_if_container.h" }
606 module front_insert_iterator { private header "__iterator/front_insert_iterator.h" }
607 module incrementable_traits { private header "__iterator/incrementable_traits.h" }
Nikolas Klauser764ac5e2022-01-04 19:55:37 +0100608 module indirectly_comparable { private header "__iterator/indirectly_comparable.h" }
Christopher Di Bella60fc6602021-07-13 19:44:07 +0000609 module insert_iterator { private header "__iterator/insert_iterator.h" }
610 module istream_iterator { private header "__iterator/istream_iterator.h" }
611 module istreambuf_iterator { private header "__iterator/istreambuf_iterator.h" }
612 module iter_move { private header "__iterator/iter_move.h" }
613 module iter_swap { private header "__iterator/iter_swap.h" }
614 module iterator { private header "__iterator/iterator.h" }
615 module iterator_traits { private header "__iterator/iterator_traits.h" }
616 module move_iterator { private header "__iterator/move_iterator.h" }
Arthur O'Dwyer8c3f9fd2022-01-03 20:28:00 -0500617 module next { private header "__iterator/next.h" }
Christopher Di Bella60fc6602021-07-13 19:44:07 +0000618 module ostream_iterator { private header "__iterator/ostream_iterator.h" }
619 module ostreambuf_iterator { private header "__iterator/ostreambuf_iterator.h" }
Arthur O'Dwyer8c3f9fd2022-01-03 20:28:00 -0500620 module prev { private header "__iterator/prev.h" }
Christopher Di Bella60fc6602021-07-13 19:44:07 +0000621 module projected { private header "__iterator/projected.h" }
622 module readable_traits { private header "__iterator/readable_traits.h" }
623 module reverse_access { private header "__iterator/reverse_access.h" }
624 module reverse_iterator { private header "__iterator/reverse_iterator.h" }
625 module size { private header "__iterator/size.h" }
zoecarver23001f72021-08-11 11:16:27 -0700626 module unreachable_sentinel { private header "__iterator/unreachable_sentinel.h" }
Christopher Di Bella60fc6602021-07-13 19:44:07 +0000627 module wrap_iter { private header "__iterator/wrap_iter.h" }
Christopher Di Bella02fbd4e2021-06-12 06:13:44 +0000628 }
Richard Smith31cfef02014-05-21 00:33:49 +0000629 }
Olivier Giroux161e6e82020-02-18 09:58:34 -0500630 module latch {
Raphael Isemann95e3ba22020-02-24 20:20:54 +0100631 requires cplusplus14
Olivier Giroux161e6e82020-02-18 09:58:34 -0500632 header "latch"
633 export *
634 }
Richard Smith31cfef02014-05-21 00:33:49 +0000635 module limits {
636 header "limits"
637 export *
638 }
639 module list {
640 header "list"
641 export initializer_list
642 export *
643 }
644 module locale {
645 header "locale"
646 export *
647 }
648 module map {
649 header "map"
650 export initializer_list
651 export *
652 }
653 module memory {
654 header "memory"
655 export *
Christopher Di Bella02fbd4e2021-06-12 06:13:44 +0000656
657 module __memory {
Konstantin Varlamov145c5df2021-12-14 14:11:37 -0800658 module addressof { private header "__memory/addressof.h" }
659 module allocation_guard { private header "__memory/allocation_guard.h" }
660 module allocator { private header "__memory/allocator.h" }
661 module allocator_arg_t { private header "__memory/allocator_arg_t.h" }
662 module allocator_traits { private header "__memory/allocator_traits.h" }
663 module auto_ptr { private header "__memory/auto_ptr.h" }
664 module compressed_pair { private header "__memory/compressed_pair.h" }
665 module concepts { private header "__memory/concepts.h" }
666 module construct_at { private header "__memory/construct_at.h" }
667 module pointer_traits { private header "__memory/pointer_traits.h" }
Arthur O'Dwyer8c3f9fd2022-01-03 20:28:00 -0500668 module ranges_construct_at { private header "__memory/ranges_construct_at.h" }
669 module ranges_uninitialized_algorithms { private header "__memory/ranges_uninitialized_algorithms.h" }
Konstantin Varlamov145c5df2021-12-14 14:11:37 -0800670 module raw_storage_iterator { private header "__memory/raw_storage_iterator.h" }
671 module shared_ptr { private header "__memory/shared_ptr.h" }
672 module temporary_buffer { private header "__memory/temporary_buffer.h" }
673 module uninitialized_algorithms { private header "__memory/uninitialized_algorithms.h" }
674 module unique_ptr { private header "__memory/unique_ptr.h" }
675 module uses_allocator { private header "__memory/uses_allocator.h" }
Konstantin Varlamov139228a2021-12-20 00:24:10 -0800676 module voidify { private header "__memory/voidify.h" }
Christopher Di Bella02fbd4e2021-06-12 06:13:44 +0000677 }
Richard Smith31cfef02014-05-21 00:33:49 +0000678 }
679 module mutex {
680 header "mutex"
681 export *
682 }
683 module new {
684 header "new"
685 export *
686 }
Raul Tambreafcedea2020-06-19 12:43:33 +0530687 module numbers {
688 header "numbers"
689 export *
690 }
Richard Smith31cfef02014-05-21 00:33:49 +0000691 module numeric {
692 header "numeric"
693 export *
Christopher Di Bella0df29b32021-12-01 01:36:32 +0000694
695 module __numeric {
696 module accumulate { private header "__numeric/accumulate.h" }
697 module adjacent_difference { private header "__numeric/adjacent_difference.h" }
698 module exclusive_scan { private header "__numeric/exclusive_scan.h" }
699 module gcd_lcm { private header "__numeric/gcd_lcm.h" }
700 module inclusive_scan { private header "__numeric/inclusive_scan.h" }
701 module inner_product { private header "__numeric/inner_product.h" }
702 module iota { private header "__numeric/iota.h" }
703 module midpoint { private header "__numeric/midpoint.h" }
704 module partial_sum { private header "__numeric/partial_sum.h" }
705 module reduce { private header "__numeric/reduce.h" }
706 module transform_exclusive_scan { private header "__numeric/transform_exclusive_scan.h" }
707 module transform_inclusive_scan { private header "__numeric/transform_inclusive_scan.h" }
708 module transform_reduce { private header "__numeric/transform_reduce.h" }
709 }
Richard Smith31cfef02014-05-21 00:33:49 +0000710 }
Eric Fiselier006458b2016-12-05 23:33:19 +0000711 module optional {
712 header "optional"
713 export *
714 }
Richard Smith31cfef02014-05-21 00:33:49 +0000715 module ostream {
716 header "ostream"
717 // FIXME: should re-export ios, streambuf?
718 export *
719 }
720 module queue {
721 header "queue"
722 export initializer_list
723 export *
724 }
725 module random {
726 header "random"
727 export initializer_list
728 export *
Louis Dionnea60dd872021-06-17 11:30:11 -0400729
730 module __random {
Arthur O'Dwyer89cb8d82021-12-05 18:56:58 -0500731 module bernoulli_distribution { private header "__random/bernoulli_distribution.h" }
732 module binomial_distribution { private header "__random/binomial_distribution.h" }
733 module cauchy_distribution { private header "__random/cauchy_distribution.h" }
734 module chi_squared_distribution { private header "__random/chi_squared_distribution.h" }
Louis Dionneafbc3312021-12-07 16:34:13 -0500735 module clamp_to_integral { private header "__random/clamp_to_integral.h" }
Arthur O'Dwyer89cb8d82021-12-05 18:56:58 -0500736 module default_random_engine { private header "__random/default_random_engine.h" }
737 module discard_block_engine { private header "__random/discard_block_engine.h" }
738 module discrete_distribution { private header "__random/discrete_distribution.h" }
739 module exponential_distribution { private header "__random/exponential_distribution.h" }
740 module extreme_value_distribution { private header "__random/extreme_value_distribution.h" }
741 module fisher_f_distribution { private header "__random/fisher_f_distribution.h" }
742 module gamma_distribution { private header "__random/gamma_distribution.h" }
743 module generate_canonical { private header "__random/generate_canonical.h" }
744 module geometric_distribution { private header "__random/geometric_distribution.h" }
745 module independent_bits_engine { private header "__random/independent_bits_engine.h" }
746 module is_seed_sequence { private header "__random/is_seed_sequence.h" }
747 module knuth_b { private header "__random/knuth_b.h" }
748 module linear_congruential_engine { private header "__random/linear_congruential_engine.h" }
749 module log2 { private header "__random/log2.h" }
750 module lognormal_distribution { private header "__random/lognormal_distribution.h" }
751 module mersenne_twister_engine { private header "__random/mersenne_twister_engine.h" }
752 module negative_binomial_distribution { private header "__random/negative_binomial_distribution.h" }
753 module normal_distribution { private header "__random/normal_distribution.h" }
Arthur O'Dwyerc3a73732021-11-19 14:58:51 -0500754 module piecewise_constant_distribution { private header "__random/piecewise_constant_distribution.h" }
Arthur O'Dwyer89cb8d82021-12-05 18:56:58 -0500755 module piecewise_linear_distribution { private header "__random/piecewise_linear_distribution.h" }
756 module poisson_distribution { private header "__random/poisson_distribution.h" }
757 module random_device { private header "__random/random_device.h" }
758 module ranlux { private header "__random/ranlux.h" }
759 module seed_seq { private header "__random/seed_seq.h" }
760 module shuffle_order_engine { private header "__random/shuffle_order_engine.h" }
761 module student_t_distribution { private header "__random/student_t_distribution.h" }
762 module subtract_with_carry_engine { private header "__random/subtract_with_carry_engine.h" }
763 module uniform_int_distribution { private header "__random/uniform_int_distribution.h" }
764 module uniform_random_bit_generator { private header "__random/uniform_random_bit_generator.h" }
765 module uniform_real_distribution { private header "__random/uniform_real_distribution.h" }
766 module weibull_distribution { private header "__random/weibull_distribution.h" }
Louis Dionnea60dd872021-06-17 11:30:11 -0400767 }
Richard Smith31cfef02014-05-21 00:33:49 +0000768 }
Mark de Weveraf59b2d2020-11-24 18:08:02 +0100769 module ranges {
770 header "ranges"
Christopher Di Bella66ce1292021-04-11 05:08:32 +0000771 export compare
772 export initializer_list
773 export iterator
Mark de Weveraf59b2d2020-11-24 18:08:02 +0100774 export *
Christopher Di Bella02fbd4e2021-06-12 06:13:44 +0000775
776 module __ranges {
Arthur O'Dwyer89cb8d82021-12-05 18:56:58 -0500777 module access { private header "__ranges/access.h" }
Louis Dionne8c2023c2021-08-11 17:36:35 -0400778 module all {
779 private header "__ranges/all.h"
780 export functional.__functional.compose
781 export functional.__functional.perfect_forward
782 }
Arthur O'Dwyer89cb8d82021-12-05 18:56:58 -0500783 module common_view { private header "__ranges/common_view.h" }
784 module concepts { private header "__ranges/concepts.h" }
785 module copyable_box { private header "__ranges/copyable_box.h" }
Konstantin Varlamov145c5df2021-12-14 14:11:37 -0800786 module counted {
787 private header "__ranges/counted.h"
788 export span
789 }
Arthur O'Dwyer89cb8d82021-12-05 18:56:58 -0500790 module dangling { private header "__ranges/dangling.h" }
791 module data { private header "__ranges/data.h" }
792 module drop_view { private header "__ranges/drop_view.h" }
793 module empty { private header "__ranges/empty.h" }
794 module empty_view { private header "__ranges/empty_view.h" }
Christopher Di Bella60fc6602021-07-13 19:44:07 +0000795 module enable_borrowed_range { private header "__ranges/enable_borrowed_range.h" }
Arthur O'Dwyer89cb8d82021-12-05 18:56:58 -0500796 module enable_view { private header "__ranges/enable_view.h" }
797 module iota_view { private header "__ranges/iota_view.h" }
798 module join_view { private header "__ranges/join_view.h" }
Louis Dionneb64bcf92021-07-19 12:12:49 -0400799 module non_propagating_cache { private header "__ranges/non_propagating_cache.h" }
Arthur O'Dwyerf7078ac2022-01-09 09:00:35 -0500800 module owning_view { private header "__ranges/owning_view.h" }
Arthur O'Dwyer89cb8d82021-12-05 18:56:58 -0500801 module range_adaptor { private header "__ranges/range_adaptor.h" }
802 module ref_view { private header "__ranges/ref_view.h" }
803 module reverse_view { private header "__ranges/reverse_view.h" }
Arthur O'Dwyer89cb8d82021-12-05 18:56:58 -0500804 module single_view { private header "__ranges/single_view.h" }
Arthur O'Dwyer93488582022-01-10 13:23:19 -0500805 module size { private header "__ranges/size.h" }
Arthur O'Dwyer89cb8d82021-12-05 18:56:58 -0500806 module subrange { private header "__ranges/subrange.h" }
807 module take_view { private header "__ranges/take_view.h" }
Louis Dionne8c2023c2021-08-11 17:36:35 -0400808 module transform_view {
809 private header "__ranges/transform_view.h"
810 export functional.__functional.bind_back
811 export functional.__functional.perfect_forward
812 }
Arthur O'Dwyer89cb8d82021-12-05 18:56:58 -0500813 module view_interface { private header "__ranges/view_interface.h" }
Christopher Di Bella02fbd4e2021-06-12 06:13:44 +0000814 }
Mark de Weveraf59b2d2020-11-24 18:08:02 +0100815 }
Richard Smith31cfef02014-05-21 00:33:49 +0000816 module ratio {
817 header "ratio"
818 export *
819 }
820 module regex {
821 header "regex"
822 export initializer_list
823 export *
824 }
825 module scoped_allocator {
826 header "scoped_allocator"
827 export *
828 }
Olivier Giroux161e6e82020-02-18 09:58:34 -0500829 module semaphore {
Raphael Isemann95e3ba22020-02-24 20:20:54 +0100830 requires cplusplus14
Olivier Giroux161e6e82020-02-18 09:58:34 -0500831 header "semaphore"
832 export *
833 }
Richard Smith31cfef02014-05-21 00:33:49 +0000834 module set {
835 header "set"
836 export initializer_list
837 export *
838 }
Christopher Di Bellaa75331d2021-07-15 06:41:17 +0000839 module shared_mutex {
840 header "shared_mutex"
841 export version
842 }
843 module span {
844 header "span"
845 export ranges.__ranges.enable_borrowed_range
846 export version
847 }
Richard Smith31cfef02014-05-21 00:33:49 +0000848 module sstream {
849 header "sstream"
850 // FIXME: should re-export istream, ostream, ios, streambuf, string?
851 export *
852 }
853 module stack {
854 header "stack"
855 export initializer_list
856 export *
857 }
858 module stdexcept {
859 header "stdexcept"
860 export *
861 }
862 module streambuf {
863 header "streambuf"
864 export *
865 }
866 module string {
867 header "string"
868 export initializer_list
Eric Fiselier2d357f72016-12-05 23:53:23 +0000869 export string_view
870 export __string
871 export *
872 }
873 module string_view {
874 header "string_view"
875 export initializer_list
876 export __string
Richard Smith31cfef02014-05-21 00:33:49 +0000877 export *
878 }
879 module strstream {
880 header "strstream"
Eric Fiselierbdc20862016-12-05 23:16:07 +0000881 export *
Richard Smith31cfef02014-05-21 00:33:49 +0000882 }
883 module system_error {
884 header "system_error"
885 export *
886 }
887 module thread {
888 header "thread"
889 export *
Louis Dionneaf2d2a82021-11-17 10:59:31 -0500890
891 module __thread {
Louis Dionnecaf26832022-01-10 09:43:29 -0500892 module poll_with_backoff { private header "__thread/poll_with_backoff.h" }
893 module timed_backoff_policy { private header "__thread/timed_backoff_policy.h" }
Louis Dionneaf2d2a82021-11-17 10:59:31 -0500894 }
Richard Smith31cfef02014-05-21 00:33:49 +0000895 }
896 module tuple {
897 header "tuple"
898 export *
899 }
900 module type_traits {
901 header "type_traits"
Christopher Di Bella599a6c62021-06-09 23:10:17 +0000902 export functional.__functional.unwrap_ref
Richard Smith31cfef02014-05-21 00:33:49 +0000903 export *
904 }
905 module typeindex {
906 header "typeindex"
907 export *
908 }
909 module typeinfo {
910 header "typeinfo"
911 export *
912 }
913 module unordered_map {
914 header "unordered_map"
915 export initializer_list
916 export *
917 }
918 module unordered_set {
919 header "unordered_set"
920 export initializer_list
921 export *
922 }
923 module utility {
924 header "utility"
925 export initializer_list
926 export *
Christopher Di Bella02fbd4e2021-06-12 06:13:44 +0000927
928 module __utility {
Arthur O'Dwyer89cb8d82021-12-05 18:56:58 -0500929 module as_const { private header "__utility/as_const.h" }
Arthur O'Dwyer423e14b2021-12-13 19:21:38 -0500930 module auto_cast { private header "__utility/auto_cast.h" }
Arthur O'Dwyer89cb8d82021-12-05 18:56:58 -0500931 module cmp { private header "__utility/cmp.h" }
Arthur O'Dwyer89cb8d82021-12-05 18:56:58 -0500932 module declval { private header "__utility/declval.h" }
933 module exchange { private header "__utility/exchange.h" }
934 module forward { private header "__utility/forward.h" }
935 module in_place { private header "__utility/in_place.h" }
936 module integer_sequence { private header "__utility/integer_sequence.h" }
937 module move { private header "__utility/move.h" }
938 module pair { private header "__utility/pair.h" }
Christopher Di Bella60fc6602021-07-13 19:44:07 +0000939 module piecewise_construct { private header "__utility/piecewise_construct.h" }
Arthur O'Dwyer89cb8d82021-12-05 18:56:58 -0500940 module priority_tag { private header "__utility/priority_tag.h" }
941 module rel_ops { private header "__utility/rel_ops.h" }
942 module swap { private header "__utility/swap.h" }
943 module to_underlying { private header "__utility/to_underlying.h" }
Louis Dionned9db4982021-12-14 10:18:19 -0500944 module transaction { private header "__utility/transaction.h" }
Christopher Di Bella02fbd4e2021-06-12 06:13:44 +0000945 }
Richard Smith31cfef02014-05-21 00:33:49 +0000946 }
947 module valarray {
948 header "valarray"
949 export initializer_list
950 export *
951 }
Eric Fiselier006458b2016-12-05 23:33:19 +0000952 module variant {
953 header "variant"
954 export *
Mark de Wever3b269752021-07-07 21:27:27 +0200955
956 module __variant {
Christopher Di Bella60fc6602021-07-13 19:44:07 +0000957 module monostate { private header "__variant/monostate.h" }
Mark de Wever3b269752021-07-07 21:27:27 +0200958 }
Eric Fiselier006458b2016-12-05 23:33:19 +0000959 }
Richard Smith31cfef02014-05-21 00:33:49 +0000960 module vector {
961 header "vector"
962 export initializer_list
963 export *
964 }
Eric Fiseliera604a7d2018-04-04 04:21:54 +0000965 module version {
966 header "version"
967 export *
968 }
Richard Smith31cfef02014-05-21 00:33:49 +0000969
Christopher Di Bella02fbd4e2021-06-12 06:13:44 +0000970 // __config not modularised due to a bug in Clang
Richard Smith31cfef02014-05-21 00:33:49 +0000971 // FIXME: These should be private.
Christopher Di Bella60fc6602021-07-13 19:44:07 +0000972 module __availability { private header "__availability" export * }
973 module __bit_reference { private header "__bit_reference" export * }
974 module __bits { private header "__bits" export * }
Arthur O'Dwyer33f2e932021-12-05 13:21:01 -0500975 module __debug { header "__debug" export * }
Christopher Di Bella60fc6602021-07-13 19:44:07 +0000976 module __errc { private header "__errc" export * }
Arthur O'Dwyer33f2e932021-12-05 13:21:01 -0500977 module __hash_table { header "__hash_table" export * }
Christopher Di Bella60fc6602021-07-13 19:44:07 +0000978 module __locale { private header "__locale" export * }
Arthur O'Dwyer3f635112022-01-16 14:56:42 -0500979 module __mbstate_t { private header "__mbstate_t.h" export * }
Christopher Di Bella60fc6602021-07-13 19:44:07 +0000980 module __mutex_base { private header "__mutex_base" export * }
981 module __node_handle { private header "__node_handle" export * }
Arthur O'Dwyer33f2e932021-12-05 13:21:01 -0500982 module __nullptr { header "__nullptr" export * }
Christopher Di Bella60fc6602021-07-13 19:44:07 +0000983 module __split_buffer { private header "__split_buffer" export * }
984 module __std_stream { private header "__std_stream" export * }
985 module __string { private header "__string" export * }
Arthur O'Dwyer33f2e932021-12-05 13:21:01 -0500986 module __threading_support { header "__threading_support" export * }
987 module __tree { header "__tree" export * }
Christopher Di Bella60fc6602021-07-13 19:44:07 +0000988 module __tuple { private header "__tuple" export * }
Arthur O'Dwyer33f2e932021-12-05 13:21:01 -0500989 module __undef_macros { header "__undef_macros" export * }
Eric Fiselierb5b9e822016-12-05 23:55:34 +0000990
991 module experimental {
Eric Fiselier92ae1af2016-12-06 01:34:24 +0000992 requires cplusplus11
993
Eric Fiselierb5b9e822016-12-05 23:55:34 +0000994 module algorithm {
995 header "experimental/algorithm"
996 export *
997 }
Eric Fiselierf0426152017-05-25 23:39:29 +0000998 module coroutine {
Eric Fiseliere4a3dab2017-05-29 23:17:28 +0000999 requires coroutines
Eric Fiselierf0426152017-05-25 23:39:29 +00001000 header "experimental/coroutine"
1001 export *
1002 }
Eric Fiselierb5b9e822016-12-05 23:55:34 +00001003 module deque {
1004 header "experimental/deque"
1005 export *
1006 }
Eric Fiselierb5b9e822016-12-05 23:55:34 +00001007 module filesystem {
1008 header "experimental/filesystem"
1009 export *
1010 }
1011 module forward_list {
1012 header "experimental/forward_list"
1013 export *
1014 }
1015 module functional {
1016 header "experimental/functional"
1017 export *
1018 }
1019 module iterator {
1020 header "experimental/iterator"
1021 export *
1022 }
1023 module list {
1024 header "experimental/list"
1025 export *
1026 }
1027 module map {
1028 header "experimental/map"
1029 export *
1030 }
1031 module memory_resource {
1032 header "experimental/memory_resource"
1033 export *
1034 }
Eric Fiselierb5b9e822016-12-05 23:55:34 +00001035 module propagate_const {
1036 header "experimental/propagate_const"
1037 export *
1038 }
Eric Fiselierb5b9e822016-12-05 23:55:34 +00001039 module regex {
1040 header "experimental/regex"
1041 export *
1042 }
Tim Shen158e51b2018-04-23 21:54:06 +00001043 module simd {
1044 header "experimental/simd"
1045 export *
1046 }
Eric Fiselierb5b9e822016-12-05 23:55:34 +00001047 module set {
1048 header "experimental/set"
1049 export *
1050 }
Marshall Clowd2ad87e2018-07-24 03:01:02 +00001051 module span {
1052 header "span"
1053 export *
1054 }
Eric Fiselierb5b9e822016-12-05 23:55:34 +00001055 module string {
1056 header "experimental/string"
1057 export *
1058 }
Eric Fiselierb5b9e822016-12-05 23:55:34 +00001059 module type_traits {
1060 header "experimental/type_traits"
1061 export *
1062 }
1063 module unordered_map {
1064 header "experimental/unordered_map"
1065 export *
1066 }
1067 module unordered_set {
1068 header "experimental/unordered_set"
1069 export *
1070 }
1071 module utility {
1072 header "experimental/utility"
1073 export *
1074 }
1075 module vector {
1076 header "experimental/vector"
1077 export *
1078 }
1079 // FIXME these should be private
1080 module __memory {
1081 header "experimental/__memory"
1082 export *
1083 }
1084 } // end experimental
Richard Smith31cfef02014-05-21 00:33:49 +00001085}