blob: a927f9d0e67001d8dbdb1a27ce851431a4c638e1 [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 {
Arthur O'Dwyer89cb8d82021-12-05 18:56:58 -0500491 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 }
Arthur O'Dwyer89cb8d82021-12-05 18:56:58 -0500498 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_integer { private header "__format/formatter_integer.h" }
507 module formatter_integral { private header "__format/formatter_integral.h" }
508 module formatter_string { private header "__format/formatter_string.h" }
Mark de Wever96ff50c2020-12-14 17:39:15 +0100509 module parser_std_format_spec { private header "__format/parser_std_format_spec.h" }
Christopher Di Bella02fbd4e2021-06-12 06:13:44 +0000510 }
Mark de Weverdf5fd832020-11-26 19:12:18 +0100511 }
Richard Smith31cfef02014-05-21 00:33:49 +0000512 module forward_list {
513 header "forward_list"
514 export initializer_list
515 export *
516 }
517 module fstream {
518 header "fstream"
519 export *
520 }
521 module functional {
522 header "functional"
523 export *
Christopher Di Bella55d7a822021-07-01 09:25:35 -0400524
Louis Dionnea60dd872021-06-17 11:30:11 -0400525 module __functional {
Christopher Di Bella60fc6602021-07-13 19:44:07 +0000526 module binary_function { private header "__functional/binary_function.h" }
527 module binary_negate { private header "__functional/binary_negate.h" }
528 module bind { private header "__functional/bind.h" }
Louis Dionne067e22b2021-08-09 15:41:26 -0400529 module bind_back { private header "__functional/bind_back.h" }
Christopher Di Bella60fc6602021-07-13 19:44:07 +0000530 module bind_front { private header "__functional/bind_front.h" }
531 module binder1st { private header "__functional/binder1st.h" }
532 module binder2nd { private header "__functional/binder2nd.h" }
Louis Dionne067e22b2021-08-09 15:41:26 -0400533 module compose { private header "__functional/compose.h" }
Christopher Di Bella60fc6602021-07-13 19:44:07 +0000534 module default_searcher { private header "__functional/default_searcher.h" }
535 module function { private header "__functional/function.h" }
536 module hash { private header "__functional/hash.h" }
537 module identity { private header "__functional/identity.h" }
Christopher Di Bella60fc6602021-07-13 19:44:07 +0000538 module invoke { private header "__functional/invoke.h" }
Louis Dionne067e22b2021-08-09 15:41:26 -0400539 module is_transparent { private header "__functional/is_transparent.h" }
Arthur O'Dwyer89cb8d82021-12-05 18:56:58 -0500540 module mem_fn { private header "__functional/mem_fn.h" }
541 module mem_fun_ref { private header "__functional/mem_fun_ref.h" }
Christopher Di Bella60fc6602021-07-13 19:44:07 +0000542 module not_fn { private header "__functional/not_fn.h" }
543 module operations { private header "__functional/operations.h" }
544 module perfect_forward { private header "__functional/perfect_forward.h" }
545 module pointer_to_binary_function { private header "__functional/pointer_to_binary_function.h" }
546 module pointer_to_unary_function { private header "__functional/pointer_to_unary_function.h" }
547 module ranges_operations { private header "__functional/ranges_operations.h" }
548 module reference_wrapper { private header "__functional/reference_wrapper.h" }
549 module unary_function { private header "__functional/unary_function.h" }
550 module unary_negate { private header "__functional/unary_negate.h" }
551 module unwrap_ref { private header "__functional/unwrap_ref.h" }
552 module weak_result_type { private header "__functional/weak_result_type.h" }
Louis Dionnea60dd872021-06-17 11:30:11 -0400553 }
Richard Smith31cfef02014-05-21 00:33:49 +0000554 }
555 module future {
556 header "future"
557 export *
558 }
559 module initializer_list {
560 header "initializer_list"
561 export *
562 }
563 module iomanip {
564 header "iomanip"
565 export *
566 }
567 module ios {
568 header "ios"
569 export iosfwd
570 export *
571 }
572 module iosfwd {
573 header "iosfwd"
574 export *
575 }
576 module iostream {
577 header "iostream"
578 export ios
579 export streambuf
580 export istream
581 export ostream
582 export *
583 }
584 module istream {
585 header "istream"
586 // FIXME: should re-export ios, streambuf?
587 export *
588 }
589 module iterator {
590 header "iterator"
591 export *
Christopher Di Bella02fbd4e2021-06-12 06:13:44 +0000592
593 module __iterator {
Christopher Di Bella60fc6602021-07-13 19:44:07 +0000594 module access { private header "__iterator/access.h" }
Arthur O'Dwyer8c3f9fd2022-01-03 20:28:00 -0500595 module advance { private header "__iterator/advance.h" }
Christopher Di Bella60fc6602021-07-13 19:44:07 +0000596 module back_insert_iterator { private header "__iterator/back_insert_iterator.h" }
zoecarver6eb71a92021-05-27 09:23:19 -0700597 module common_iterator { private header "__iterator/common_iterator.h" }
Christopher Di Bella60fc6602021-07-13 19:44:07 +0000598 module concepts { private header "__iterator/concepts.h" }
zoecarverd3aca592021-07-13 11:06:10 -0700599 module counted_iterator { private header "__iterator/counted_iterator.h" }
Christopher Di Bella60fc6602021-07-13 19:44:07 +0000600 module data { private header "__iterator/data.h" }
601 module default_sentinel { private header "__iterator/default_sentinel.h" }
602 module distance { private header "__iterator/distance.h" }
603 module empty { private header "__iterator/empty.h" }
604 module erase_if_container { private header "__iterator/erase_if_container.h" }
605 module front_insert_iterator { private header "__iterator/front_insert_iterator.h" }
606 module incrementable_traits { private header "__iterator/incrementable_traits.h" }
Nikolas Klauser764ac5e2022-01-04 19:55:37 +0100607 module indirectly_comparable { private header "__iterator/indirectly_comparable.h" }
Christopher Di Bella60fc6602021-07-13 19:44:07 +0000608 module insert_iterator { private header "__iterator/insert_iterator.h" }
609 module istream_iterator { private header "__iterator/istream_iterator.h" }
610 module istreambuf_iterator { private header "__iterator/istreambuf_iterator.h" }
611 module iter_move { private header "__iterator/iter_move.h" }
612 module iter_swap { private header "__iterator/iter_swap.h" }
613 module iterator { private header "__iterator/iterator.h" }
614 module iterator_traits { private header "__iterator/iterator_traits.h" }
615 module move_iterator { private header "__iterator/move_iterator.h" }
Arthur O'Dwyer8c3f9fd2022-01-03 20:28:00 -0500616 module next { private header "__iterator/next.h" }
Christopher Di Bella60fc6602021-07-13 19:44:07 +0000617 module ostream_iterator { private header "__iterator/ostream_iterator.h" }
618 module ostreambuf_iterator { private header "__iterator/ostreambuf_iterator.h" }
Arthur O'Dwyer8c3f9fd2022-01-03 20:28:00 -0500619 module prev { private header "__iterator/prev.h" }
Christopher Di Bella60fc6602021-07-13 19:44:07 +0000620 module projected { private header "__iterator/projected.h" }
621 module readable_traits { private header "__iterator/readable_traits.h" }
622 module reverse_access { private header "__iterator/reverse_access.h" }
623 module reverse_iterator { private header "__iterator/reverse_iterator.h" }
624 module size { private header "__iterator/size.h" }
zoecarver23001f72021-08-11 11:16:27 -0700625 module unreachable_sentinel { private header "__iterator/unreachable_sentinel.h" }
Christopher Di Bella60fc6602021-07-13 19:44:07 +0000626 module wrap_iter { private header "__iterator/wrap_iter.h" }
Christopher Di Bella02fbd4e2021-06-12 06:13:44 +0000627 }
Richard Smith31cfef02014-05-21 00:33:49 +0000628 }
Olivier Giroux161e6e82020-02-18 09:58:34 -0500629 module latch {
Raphael Isemann95e3ba22020-02-24 20:20:54 +0100630 requires cplusplus14
Olivier Giroux161e6e82020-02-18 09:58:34 -0500631 header "latch"
632 export *
633 }
Richard Smith31cfef02014-05-21 00:33:49 +0000634 module limits {
635 header "limits"
636 export *
637 }
638 module list {
639 header "list"
640 export initializer_list
641 export *
642 }
643 module locale {
644 header "locale"
645 export *
646 }
647 module map {
648 header "map"
649 export initializer_list
650 export *
651 }
652 module memory {
653 header "memory"
654 export *
Christopher Di Bella02fbd4e2021-06-12 06:13:44 +0000655
656 module __memory {
Konstantin Varlamov145c5df2021-12-14 14:11:37 -0800657 module addressof { private header "__memory/addressof.h" }
658 module allocation_guard { private header "__memory/allocation_guard.h" }
659 module allocator { private header "__memory/allocator.h" }
660 module allocator_arg_t { private header "__memory/allocator_arg_t.h" }
661 module allocator_traits { private header "__memory/allocator_traits.h" }
662 module auto_ptr { private header "__memory/auto_ptr.h" }
663 module compressed_pair { private header "__memory/compressed_pair.h" }
664 module concepts { private header "__memory/concepts.h" }
665 module construct_at { private header "__memory/construct_at.h" }
666 module pointer_traits { private header "__memory/pointer_traits.h" }
Arthur O'Dwyer8c3f9fd2022-01-03 20:28:00 -0500667 module ranges_construct_at { private header "__memory/ranges_construct_at.h" }
668 module ranges_uninitialized_algorithms { private header "__memory/ranges_uninitialized_algorithms.h" }
Konstantin Varlamov145c5df2021-12-14 14:11:37 -0800669 module raw_storage_iterator { private header "__memory/raw_storage_iterator.h" }
670 module shared_ptr { private header "__memory/shared_ptr.h" }
671 module temporary_buffer { private header "__memory/temporary_buffer.h" }
672 module uninitialized_algorithms { private header "__memory/uninitialized_algorithms.h" }
673 module unique_ptr { private header "__memory/unique_ptr.h" }
674 module uses_allocator { private header "__memory/uses_allocator.h" }
Konstantin Varlamov139228a2021-12-20 00:24:10 -0800675 module voidify { private header "__memory/voidify.h" }
Christopher Di Bella02fbd4e2021-06-12 06:13:44 +0000676 }
Richard Smith31cfef02014-05-21 00:33:49 +0000677 }
678 module mutex {
679 header "mutex"
680 export *
681 }
682 module new {
683 header "new"
684 export *
685 }
Raul Tambreafcedea2020-06-19 12:43:33 +0530686 module numbers {
687 header "numbers"
688 export *
689 }
Richard Smith31cfef02014-05-21 00:33:49 +0000690 module numeric {
691 header "numeric"
692 export *
Christopher Di Bella0df29b32021-12-01 01:36:32 +0000693
694 module __numeric {
695 module accumulate { private header "__numeric/accumulate.h" }
696 module adjacent_difference { private header "__numeric/adjacent_difference.h" }
697 module exclusive_scan { private header "__numeric/exclusive_scan.h" }
698 module gcd_lcm { private header "__numeric/gcd_lcm.h" }
699 module inclusive_scan { private header "__numeric/inclusive_scan.h" }
700 module inner_product { private header "__numeric/inner_product.h" }
701 module iota { private header "__numeric/iota.h" }
702 module midpoint { private header "__numeric/midpoint.h" }
703 module partial_sum { private header "__numeric/partial_sum.h" }
704 module reduce { private header "__numeric/reduce.h" }
705 module transform_exclusive_scan { private header "__numeric/transform_exclusive_scan.h" }
706 module transform_inclusive_scan { private header "__numeric/transform_inclusive_scan.h" }
707 module transform_reduce { private header "__numeric/transform_reduce.h" }
708 }
Richard Smith31cfef02014-05-21 00:33:49 +0000709 }
Eric Fiselier006458b2016-12-05 23:33:19 +0000710 module optional {
711 header "optional"
712 export *
713 }
Richard Smith31cfef02014-05-21 00:33:49 +0000714 module ostream {
715 header "ostream"
716 // FIXME: should re-export ios, streambuf?
717 export *
718 }
719 module queue {
720 header "queue"
721 export initializer_list
722 export *
723 }
724 module random {
725 header "random"
726 export initializer_list
727 export *
Louis Dionnea60dd872021-06-17 11:30:11 -0400728
729 module __random {
Arthur O'Dwyer89cb8d82021-12-05 18:56:58 -0500730 module bernoulli_distribution { private header "__random/bernoulli_distribution.h" }
731 module binomial_distribution { private header "__random/binomial_distribution.h" }
732 module cauchy_distribution { private header "__random/cauchy_distribution.h" }
733 module chi_squared_distribution { private header "__random/chi_squared_distribution.h" }
Louis Dionneafbc3312021-12-07 16:34:13 -0500734 module clamp_to_integral { private header "__random/clamp_to_integral.h" }
Arthur O'Dwyer89cb8d82021-12-05 18:56:58 -0500735 module default_random_engine { private header "__random/default_random_engine.h" }
736 module discard_block_engine { private header "__random/discard_block_engine.h" }
737 module discrete_distribution { private header "__random/discrete_distribution.h" }
738 module exponential_distribution { private header "__random/exponential_distribution.h" }
739 module extreme_value_distribution { private header "__random/extreme_value_distribution.h" }
740 module fisher_f_distribution { private header "__random/fisher_f_distribution.h" }
741 module gamma_distribution { private header "__random/gamma_distribution.h" }
742 module generate_canonical { private header "__random/generate_canonical.h" }
743 module geometric_distribution { private header "__random/geometric_distribution.h" }
744 module independent_bits_engine { private header "__random/independent_bits_engine.h" }
745 module is_seed_sequence { private header "__random/is_seed_sequence.h" }
746 module knuth_b { private header "__random/knuth_b.h" }
747 module linear_congruential_engine { private header "__random/linear_congruential_engine.h" }
748 module log2 { private header "__random/log2.h" }
749 module lognormal_distribution { private header "__random/lognormal_distribution.h" }
750 module mersenne_twister_engine { private header "__random/mersenne_twister_engine.h" }
751 module negative_binomial_distribution { private header "__random/negative_binomial_distribution.h" }
752 module normal_distribution { private header "__random/normal_distribution.h" }
Arthur O'Dwyerc3a73732021-11-19 14:58:51 -0500753 module piecewise_constant_distribution { private header "__random/piecewise_constant_distribution.h" }
Arthur O'Dwyer89cb8d82021-12-05 18:56:58 -0500754 module piecewise_linear_distribution { private header "__random/piecewise_linear_distribution.h" }
755 module poisson_distribution { private header "__random/poisson_distribution.h" }
756 module random_device { private header "__random/random_device.h" }
757 module ranlux { private header "__random/ranlux.h" }
758 module seed_seq { private header "__random/seed_seq.h" }
759 module shuffle_order_engine { private header "__random/shuffle_order_engine.h" }
760 module student_t_distribution { private header "__random/student_t_distribution.h" }
761 module subtract_with_carry_engine { private header "__random/subtract_with_carry_engine.h" }
762 module uniform_int_distribution { private header "__random/uniform_int_distribution.h" }
763 module uniform_random_bit_generator { private header "__random/uniform_random_bit_generator.h" }
764 module uniform_real_distribution { private header "__random/uniform_real_distribution.h" }
765 module weibull_distribution { private header "__random/weibull_distribution.h" }
Louis Dionnea60dd872021-06-17 11:30:11 -0400766 }
Richard Smith31cfef02014-05-21 00:33:49 +0000767 }
Mark de Weveraf59b2d2020-11-24 18:08:02 +0100768 module ranges {
769 header "ranges"
Christopher Di Bella66ce1292021-04-11 05:08:32 +0000770 export compare
771 export initializer_list
772 export iterator
Mark de Weveraf59b2d2020-11-24 18:08:02 +0100773 export *
Christopher Di Bella02fbd4e2021-06-12 06:13:44 +0000774
775 module __ranges {
Arthur O'Dwyer89cb8d82021-12-05 18:56:58 -0500776 module access { private header "__ranges/access.h" }
Louis Dionne8c2023c2021-08-11 17:36:35 -0400777 module all {
778 private header "__ranges/all.h"
779 export functional.__functional.compose
780 export functional.__functional.perfect_forward
781 }
Arthur O'Dwyer89cb8d82021-12-05 18:56:58 -0500782 module common_view { private header "__ranges/common_view.h" }
783 module concepts { private header "__ranges/concepts.h" }
784 module copyable_box { private header "__ranges/copyable_box.h" }
Konstantin Varlamov145c5df2021-12-14 14:11:37 -0800785 module counted {
786 private header "__ranges/counted.h"
787 export span
788 }
Arthur O'Dwyer89cb8d82021-12-05 18:56:58 -0500789 module dangling { private header "__ranges/dangling.h" }
790 module data { private header "__ranges/data.h" }
791 module drop_view { private header "__ranges/drop_view.h" }
792 module empty { private header "__ranges/empty.h" }
793 module empty_view { private header "__ranges/empty_view.h" }
Christopher Di Bella60fc6602021-07-13 19:44:07 +0000794 module enable_borrowed_range { private header "__ranges/enable_borrowed_range.h" }
Arthur O'Dwyer89cb8d82021-12-05 18:56:58 -0500795 module enable_view { private header "__ranges/enable_view.h" }
796 module iota_view { private header "__ranges/iota_view.h" }
797 module join_view { private header "__ranges/join_view.h" }
Louis Dionneb64bcf92021-07-19 12:12:49 -0400798 module non_propagating_cache { private header "__ranges/non_propagating_cache.h" }
Arthur O'Dwyerf7078ac2022-01-09 09:00:35 -0500799 module owning_view { private header "__ranges/owning_view.h" }
Arthur O'Dwyer89cb8d82021-12-05 18:56:58 -0500800 module range_adaptor { private header "__ranges/range_adaptor.h" }
801 module ref_view { private header "__ranges/ref_view.h" }
802 module reverse_view { private header "__ranges/reverse_view.h" }
Arthur O'Dwyer89cb8d82021-12-05 18:56:58 -0500803 module single_view { private header "__ranges/single_view.h" }
Arthur O'Dwyer93488582022-01-10 13:23:19 -0500804 module size { private header "__ranges/size.h" }
Arthur O'Dwyer89cb8d82021-12-05 18:56:58 -0500805 module subrange { private header "__ranges/subrange.h" }
806 module take_view { private header "__ranges/take_view.h" }
Louis Dionne8c2023c2021-08-11 17:36:35 -0400807 module transform_view {
808 private header "__ranges/transform_view.h"
809 export functional.__functional.bind_back
810 export functional.__functional.perfect_forward
811 }
Arthur O'Dwyer89cb8d82021-12-05 18:56:58 -0500812 module view_interface { private header "__ranges/view_interface.h" }
Christopher Di Bella02fbd4e2021-06-12 06:13:44 +0000813 }
Mark de Weveraf59b2d2020-11-24 18:08:02 +0100814 }
Richard Smith31cfef02014-05-21 00:33:49 +0000815 module ratio {
816 header "ratio"
817 export *
818 }
819 module regex {
820 header "regex"
821 export initializer_list
822 export *
823 }
824 module scoped_allocator {
825 header "scoped_allocator"
826 export *
827 }
Olivier Giroux161e6e82020-02-18 09:58:34 -0500828 module semaphore {
Raphael Isemann95e3ba22020-02-24 20:20:54 +0100829 requires cplusplus14
Olivier Giroux161e6e82020-02-18 09:58:34 -0500830 header "semaphore"
831 export *
832 }
Richard Smith31cfef02014-05-21 00:33:49 +0000833 module set {
834 header "set"
835 export initializer_list
836 export *
837 }
Christopher Di Bellaa75331d2021-07-15 06:41:17 +0000838 module shared_mutex {
839 header "shared_mutex"
840 export version
841 }
842 module span {
843 header "span"
844 export ranges.__ranges.enable_borrowed_range
845 export version
846 }
Richard Smith31cfef02014-05-21 00:33:49 +0000847 module sstream {
848 header "sstream"
849 // FIXME: should re-export istream, ostream, ios, streambuf, string?
850 export *
851 }
852 module stack {
853 header "stack"
854 export initializer_list
855 export *
856 }
857 module stdexcept {
858 header "stdexcept"
859 export *
860 }
861 module streambuf {
862 header "streambuf"
863 export *
864 }
865 module string {
866 header "string"
867 export initializer_list
Eric Fiselier2d357f72016-12-05 23:53:23 +0000868 export string_view
869 export __string
870 export *
871 }
872 module string_view {
873 header "string_view"
874 export initializer_list
875 export __string
Richard Smith31cfef02014-05-21 00:33:49 +0000876 export *
877 }
878 module strstream {
879 header "strstream"
Eric Fiselierbdc20862016-12-05 23:16:07 +0000880 export *
Richard Smith31cfef02014-05-21 00:33:49 +0000881 }
882 module system_error {
883 header "system_error"
884 export *
885 }
886 module thread {
887 header "thread"
888 export *
Louis Dionneaf2d2a82021-11-17 10:59:31 -0500889
890 module __thread {
Louis Dionnecaf26832022-01-10 09:43:29 -0500891 module poll_with_backoff { private header "__thread/poll_with_backoff.h" }
892 module timed_backoff_policy { private header "__thread/timed_backoff_policy.h" }
Louis Dionneaf2d2a82021-11-17 10:59:31 -0500893 }
Richard Smith31cfef02014-05-21 00:33:49 +0000894 }
895 module tuple {
896 header "tuple"
897 export *
898 }
899 module type_traits {
900 header "type_traits"
Christopher Di Bella599a6c62021-06-09 23:10:17 +0000901 export functional.__functional.unwrap_ref
Richard Smith31cfef02014-05-21 00:33:49 +0000902 export *
903 }
904 module typeindex {
905 header "typeindex"
906 export *
907 }
908 module typeinfo {
909 header "typeinfo"
910 export *
911 }
912 module unordered_map {
913 header "unordered_map"
914 export initializer_list
915 export *
916 }
917 module unordered_set {
918 header "unordered_set"
919 export initializer_list
920 export *
921 }
922 module utility {
923 header "utility"
924 export initializer_list
925 export *
Christopher Di Bella02fbd4e2021-06-12 06:13:44 +0000926
927 module __utility {
Arthur O'Dwyer89cb8d82021-12-05 18:56:58 -0500928 module as_const { private header "__utility/as_const.h" }
Arthur O'Dwyer423e14b2021-12-13 19:21:38 -0500929 module auto_cast { private header "__utility/auto_cast.h" }
Arthur O'Dwyer89cb8d82021-12-05 18:56:58 -0500930 module cmp { private header "__utility/cmp.h" }
Arthur O'Dwyer89cb8d82021-12-05 18:56:58 -0500931 module declval { private header "__utility/declval.h" }
932 module exchange { private header "__utility/exchange.h" }
933 module forward { private header "__utility/forward.h" }
934 module in_place { private header "__utility/in_place.h" }
935 module integer_sequence { private header "__utility/integer_sequence.h" }
936 module move { private header "__utility/move.h" }
937 module pair { private header "__utility/pair.h" }
Christopher Di Bella60fc6602021-07-13 19:44:07 +0000938 module piecewise_construct { private header "__utility/piecewise_construct.h" }
Arthur O'Dwyer89cb8d82021-12-05 18:56:58 -0500939 module priority_tag { private header "__utility/priority_tag.h" }
940 module rel_ops { private header "__utility/rel_ops.h" }
941 module swap { private header "__utility/swap.h" }
942 module to_underlying { private header "__utility/to_underlying.h" }
Louis Dionned9db4982021-12-14 10:18:19 -0500943 module transaction { private header "__utility/transaction.h" }
Christopher Di Bella02fbd4e2021-06-12 06:13:44 +0000944 }
Richard Smith31cfef02014-05-21 00:33:49 +0000945 }
946 module valarray {
947 header "valarray"
948 export initializer_list
949 export *
950 }
Eric Fiselier006458b2016-12-05 23:33:19 +0000951 module variant {
952 header "variant"
953 export *
Mark de Wever3b269752021-07-07 21:27:27 +0200954
955 module __variant {
Christopher Di Bella60fc6602021-07-13 19:44:07 +0000956 module monostate { private header "__variant/monostate.h" }
Mark de Wever3b269752021-07-07 21:27:27 +0200957 }
Eric Fiselier006458b2016-12-05 23:33:19 +0000958 }
Richard Smith31cfef02014-05-21 00:33:49 +0000959 module vector {
960 header "vector"
961 export initializer_list
962 export *
963 }
Eric Fiseliera604a7d2018-04-04 04:21:54 +0000964 module version {
965 header "version"
966 export *
967 }
Richard Smith31cfef02014-05-21 00:33:49 +0000968
Christopher Di Bella02fbd4e2021-06-12 06:13:44 +0000969 // __config not modularised due to a bug in Clang
Richard Smith31cfef02014-05-21 00:33:49 +0000970 // FIXME: These should be private.
Christopher Di Bella60fc6602021-07-13 19:44:07 +0000971 module __availability { private header "__availability" export * }
972 module __bit_reference { private header "__bit_reference" export * }
973 module __bits { private header "__bits" export * }
Arthur O'Dwyer33f2e932021-12-05 13:21:01 -0500974 module __debug { header "__debug" export * }
Christopher Di Bella60fc6602021-07-13 19:44:07 +0000975 module __errc { private header "__errc" export * }
Arthur O'Dwyer33f2e932021-12-05 13:21:01 -0500976 module __hash_table { header "__hash_table" export * }
Christopher Di Bella60fc6602021-07-13 19:44:07 +0000977 module __locale { private header "__locale" export * }
Arthur O'Dwyer3f635112022-01-16 14:56:42 -0500978 module __mbstate_t { private header "__mbstate_t.h" export * }
Christopher Di Bella60fc6602021-07-13 19:44:07 +0000979 module __mutex_base { private header "__mutex_base" export * }
980 module __node_handle { private header "__node_handle" export * }
Arthur O'Dwyer33f2e932021-12-05 13:21:01 -0500981 module __nullptr { header "__nullptr" export * }
Christopher Di Bella60fc6602021-07-13 19:44:07 +0000982 module __split_buffer { private header "__split_buffer" export * }
983 module __std_stream { private header "__std_stream" export * }
984 module __string { private header "__string" export * }
Arthur O'Dwyer33f2e932021-12-05 13:21:01 -0500985 module __threading_support { header "__threading_support" export * }
986 module __tree { header "__tree" export * }
Christopher Di Bella60fc6602021-07-13 19:44:07 +0000987 module __tuple { private header "__tuple" export * }
Arthur O'Dwyer33f2e932021-12-05 13:21:01 -0500988 module __undef_macros { header "__undef_macros" export * }
Eric Fiselierb5b9e822016-12-05 23:55:34 +0000989
990 module experimental {
Eric Fiselier92ae1af2016-12-06 01:34:24 +0000991 requires cplusplus11
992
Eric Fiselierb5b9e822016-12-05 23:55:34 +0000993 module algorithm {
994 header "experimental/algorithm"
995 export *
996 }
Eric Fiselierf0426152017-05-25 23:39:29 +0000997 module coroutine {
Eric Fiseliere4a3dab2017-05-29 23:17:28 +0000998 requires coroutines
Eric Fiselierf0426152017-05-25 23:39:29 +0000999 header "experimental/coroutine"
1000 export *
1001 }
Eric Fiselierb5b9e822016-12-05 23:55:34 +00001002 module deque {
1003 header "experimental/deque"
1004 export *
1005 }
Eric Fiselierb5b9e822016-12-05 23:55:34 +00001006 module filesystem {
1007 header "experimental/filesystem"
1008 export *
1009 }
1010 module forward_list {
1011 header "experimental/forward_list"
1012 export *
1013 }
1014 module functional {
1015 header "experimental/functional"
1016 export *
1017 }
1018 module iterator {
1019 header "experimental/iterator"
1020 export *
1021 }
1022 module list {
1023 header "experimental/list"
1024 export *
1025 }
1026 module map {
1027 header "experimental/map"
1028 export *
1029 }
1030 module memory_resource {
1031 header "experimental/memory_resource"
1032 export *
1033 }
Eric Fiselierb5b9e822016-12-05 23:55:34 +00001034 module propagate_const {
1035 header "experimental/propagate_const"
1036 export *
1037 }
Eric Fiselierb5b9e822016-12-05 23:55:34 +00001038 module regex {
1039 header "experimental/regex"
1040 export *
1041 }
Tim Shen158e51b2018-04-23 21:54:06 +00001042 module simd {
1043 header "experimental/simd"
1044 export *
1045 }
Eric Fiselierb5b9e822016-12-05 23:55:34 +00001046 module set {
1047 header "experimental/set"
1048 export *
1049 }
Marshall Clowd2ad87e2018-07-24 03:01:02 +00001050 module span {
1051 header "span"
1052 export *
1053 }
Eric Fiselierb5b9e822016-12-05 23:55:34 +00001054 module string {
1055 header "experimental/string"
1056 export *
1057 }
Eric Fiselierb5b9e822016-12-05 23:55:34 +00001058 module type_traits {
1059 header "experimental/type_traits"
1060 export *
1061 }
1062 module unordered_map {
1063 header "experimental/unordered_map"
1064 export *
1065 }
1066 module unordered_set {
1067 header "experimental/unordered_set"
1068 export *
1069 }
1070 module utility {
1071 header "experimental/utility"
1072 export *
1073 }
1074 module vector {
1075 header "experimental/vector"
1076 export *
1077 }
1078 // FIXME these should be private
1079 module __memory {
1080 header "experimental/__memory"
1081 export *
1082 }
1083 } // end experimental
Richard Smith31cfef02014-05-21 00:33:49 +00001084}