blob: b77edf45c83d52a82bd7de44667a57a78f2b4bb6 [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 *
zoecarver79e927a2021-06-03 11:26:03 -0700220
221 module __algorithm {
222 module adjacent_find { header "__algorithm/adjacent_find.h" }
223 module all_of { header "__algorithm/all_of.h" }
224 module any_of { header "__algorithm/any_of.h" }
225 module binary_search { header "__algorithm/binary_search.h" }
226 module clamp { header "__algorithm/clamp.h" }
227 module comp { header "__algorithm/comp.h" }
228 module comp_ref_type { header "__algorithm/comp_ref_type.h" }
229 module copy { header "__algorithm/copy.h" }
230 module count { header "__algorithm/count.h" }
231 module count_if { header "__algorithm/count_if.h" }
232 module equal { header "__algorithm/equal.h" }
233 module equal_range { header "__algorithm/equal_range.h" }
234 module fill { header "__algorithm/fill.h" }
235 module find { header "__algorithm/find.h" }
236 module find_end { header "__algorithm/find_end.h" }
237 module find_first_of { header "__algorithm/find_first_of.h" }
238 module find_if { header "__algorithm/find_if.h" }
239 module find_if_not { header "__algorithm/find_if_not.h" }
240 module for_each { header "__algorithm/for_each.h" }
241 module for_each_n { header "__algorithm/for_each_n.h" }
242 module generate { header "__algorithm/generate.h" }
243 module half_positive { header "__algorithm/half_positive.h" }
244 module includes { header "__algorithm/includes.h" }
245 module inplace_merge { header "__algorithm/inplace_merge.h" }
246 module is_heap { header "__algorithm/is_heap.h" }
247 module is_heap_until { header "__algorithm/is_heap_until.h" }
248 module is_partitioned { header "__algorithm/is_partitioned.h" }
249 module is_permutation { header "__algorithm/is_permutation.h" }
250 module is_sorted { header "__algorithm/is_sorted.h" }
251 module lexicographical_compare { header "__algorithm/lexicographical_compare.h" }
252 module lower_bound { header "__algorithm/lower_bound.h" }
253 module make_heap { header "__algorithm/make_heap.h" }
254 module max { header "__algorithm/max.h" }
255 module max_element { header "__algorithm/max_element.h" }
256 module merge { header "__algorithm/merge.h" }
257 module min { header "__algorithm/min.h" }
258 module min_element { header "__algorithm/min_element.h" }
259 module minmax { header "__algorithm/minmax.h" }
260 module minmax_element { header "__algorithm/minmax_element.h" }
261 module mismatch { header "__algorithm/mismatch.h" }
262 module move { header "__algorithm/move.h" }
263 module next_permutation { header "__algorithm/next_permutation.h" }
264 module none_of { header "__algorithm/none_of.h" }
265 module nth_element { header "__algorithm/nth_element.h" }
266 module partial_sort { header "__algorithm/partial_sort.h" }
267 module partition { header "__algorithm/partition.h" }
268 module partition_point { header "__algorithm/partition_point.h" }
269 module pop_heap { header "__algorithm/pop_heap.h" }
270 module prev_permutation { header "__algorithm/prev_permutation.h" }
271 module push_heap { header "__algorithm/push_heap.h" }
272 module remove { header "__algorithm/remove.h" }
273 module replace { header "__algorithm/replace.h" }
274 module reverse { header "__algorithm/reverse.h" }
275 module rotate { header "__algorithm/rotate.h" }
276 module sample { header "__algorithm/sample.h" }
277 module search { header "__algorithm/search.h" }
278 module search_n { header "__algorithm/search_n.h" }
279 module set_difference { header "__algorithm/set_difference.h" }
280 module set_intersection { header "__algorithm/set_intersection.h" }
281 module set_symmetric_difference { header "__algorithm/set_symmetric_difference.h" }
282 module set_union { header "__algorithm/set_union.h" }
283 module shift { header "__algorithm/shift.h" }
284 module shuffle { header "__algorithm/shuffle.h" }
285 module sift_down { header "__algorithm/sift_down.h" }
286 module sort { header "__algorithm/sort.h" }
287 module sort_heap { header "__algorithm/sort_heap.h" }
288 module stable_partition { header "__algorithm/stable_partition.h" }
289 module stable_sort { header "__algorithm/stable_sort.h" }
290 module transform { header "__algorithm/transform.h" }
291 module uniform_int_distribution { header "__algorithm/uniform_int_distribution.h" }
292 module unique { header "__algorithm/unique.h" }
293 module unwrap_iter { header "__algorithm/unwrap_iter.h" }
294 module upper_bound { header "__algorithm/upper_bound.h" }
295 }
Richard Smith31cfef02014-05-21 00:33:49 +0000296 }
Eric Fiselier006458b2016-12-05 23:33:19 +0000297 module any {
298 header "any"
299 export *
300 }
Richard Smith31cfef02014-05-21 00:33:49 +0000301 module array {
302 header "array"
303 export initializer_list
304 export *
305 }
306 module atomic {
307 header "atomic"
308 export *
Richard Smith31cfef02014-05-21 00:33:49 +0000309 }
Olivier Giroux161e6e82020-02-18 09:58:34 -0500310 module barrier {
Raphael Isemann95e3ba22020-02-24 20:20:54 +0100311 requires cplusplus14
Olivier Giroux161e6e82020-02-18 09:58:34 -0500312 header "barrier"
313 export *
314 }
Marshall Clowbf32ec92018-08-17 16:07:48 +0000315 module bit {
316 header "bit"
317 export *
318 }
Richard Smith31cfef02014-05-21 00:33:49 +0000319 module bitset {
320 header "bitset"
321 export string
322 export iosfwd
323 export *
324 }
325 // No submodule for cassert. It fundamentally needs repeated, textual inclusion.
Zhihao Yuan7bf19052018-08-01 02:38:30 +0000326 module charconv {
327 header "charconv"
328 export *
329 }
Richard Smith31cfef02014-05-21 00:33:49 +0000330 module chrono {
331 header "chrono"
332 export *
333 }
Richard Smith31cfef02014-05-21 00:33:49 +0000334 module codecvt {
335 header "codecvt"
336 export *
337 }
Eric Fiseliere0074fc2018-04-06 21:37:23 +0000338 module compare {
Christopher Di Bella8bbdde42021-06-02 19:46:20 +0000339 requires cplusplus20
Eric Fiseliere0074fc2018-04-06 21:37:23 +0000340 header "compare"
341 export *
342 }
Richard Smith31cfef02014-05-21 00:33:49 +0000343 module complex {
344 header "complex"
345 export *
346 }
Eric Fiselierd59a0322020-04-08 18:00:13 -0400347 module concepts {
Christopher Di Bella8bbdde42021-06-02 19:46:20 +0000348 requires cplusplus20
Eric Fiselierd59a0322020-04-08 18:00:13 -0400349 header "concepts"
350 export *
351 }
Richard Smith31cfef02014-05-21 00:33:49 +0000352 module condition_variable {
353 header "condition_variable"
354 export *
355 }
Richard Smith31cfef02014-05-21 00:33:49 +0000356 module deque {
357 header "deque"
358 export initializer_list
359 export *
360 }
361 module exception {
362 header "exception"
363 export *
364 }
Louis Dionne59d0b3c2019-08-05 18:29:14 +0000365 module execution {
366 header "execution"
367 export *
368 }
Eric Fiselier02cea5e2018-07-27 03:07:09 +0000369 module filesystem {
370 header "filesystem"
371 export *
372 }
Mark de Weverdf5fd832020-11-26 19:12:18 +0100373 module format {
Christopher Di Bella8bbdde42021-06-02 19:46:20 +0000374 requires cplusplus20
Mark de Weverdf5fd832020-11-26 19:12:18 +0100375 header "format"
376 export *
Christopher Di Bella8bbdde42021-06-02 19:46:20 +0000377
378 module __format {
379 module format_error { header "__format/format_error.h" }
380 module format_parse_context { header "__format/format_parse_context.h" }
381 }
Mark de Weverdf5fd832020-11-26 19:12:18 +0100382 }
Richard Smith31cfef02014-05-21 00:33:49 +0000383 module forward_list {
384 header "forward_list"
385 export initializer_list
386 export *
387 }
388 module fstream {
389 header "fstream"
390 export *
391 }
392 module functional {
393 header "functional"
394 export *
zoecarver79e927a2021-06-03 11:26:03 -0700395 module __functional {
396 module search { header "__functional/search.h" }
397 }
Richard Smith31cfef02014-05-21 00:33:49 +0000398 }
399 module future {
400 header "future"
401 export *
402 }
403 module initializer_list {
404 header "initializer_list"
405 export *
406 }
407 module iomanip {
408 header "iomanip"
409 export *
410 }
411 module ios {
412 header "ios"
413 export iosfwd
414 export *
415 }
416 module iosfwd {
417 header "iosfwd"
418 export *
419 }
420 module iostream {
421 header "iostream"
422 export ios
423 export streambuf
424 export istream
425 export ostream
426 export *
427 }
428 module istream {
429 header "istream"
430 // FIXME: should re-export ios, streambuf?
431 export *
432 }
433 module iterator {
434 header "iterator"
435 export *
Christopher Di Bella8bbdde42021-06-02 19:46:20 +0000436
437 module __iterator {
438 module advance { header "__iterator/advance.h" }
439 module concepts { header "__iterator/concepts.h" }
440 module default_sentinel { header "__iterator/default_sentinel.h" }
441 module incrementable_traits { header "__iterator/incrementable_traits.h" }
442 module indirect_concepts { header "__iterator/indirect_concepts.h" }
443 module iter_move { header "__iterator/iter_move.h" }
444 module iterator_traits { header "__iterator/iterator_traits.h" }
445 module next { header "__iterator/next.h" }
446 module prev { header "__iterator/prev.h" }
447 module projected { header "__iterator/projected.h" }
448 module readable_traits { header "__iterator/readable_traits.h" }
449 }
Richard Smith31cfef02014-05-21 00:33:49 +0000450 }
Olivier Giroux161e6e82020-02-18 09:58:34 -0500451 module latch {
Raphael Isemann95e3ba22020-02-24 20:20:54 +0100452 requires cplusplus14
Olivier Giroux161e6e82020-02-18 09:58:34 -0500453 header "latch"
454 export *
455 }
Richard Smith31cfef02014-05-21 00:33:49 +0000456 module limits {
457 header "limits"
458 export *
459 }
460 module list {
461 header "list"
462 export initializer_list
463 export *
464 }
465 module locale {
466 header "locale"
467 export *
468 }
469 module map {
470 header "map"
471 export initializer_list
472 export *
473 }
474 module memory {
475 header "memory"
476 export *
Christopher Di Bella8bbdde42021-06-02 19:46:20 +0000477
478 module __memory {
479 module addressof { header "__memory/addressof.h" }
480 module allocation_guard { header "__memory/allocation_guard.h" }
481 module allocator_traits { header "__memory/allocator_traits.h" }
482 module allocator { header "__memory/allocator.h" }
483 module auto_ptr { header "__memory/auto_ptr.h" }
484 module compressed_pair { header "__memory/compressed_pair.h" }
485 module construct_at { header "__memory/construct_at.h" }
486 module pointer_safety { header "__memory/pointer_safety.h" }
487 module pointer_traits { header "__memory/pointer_traits.h" }
488 module raw_storage_iterator { header "__memory/raw_storage_iterator.h" }
489 module shared_ptr { header "__memory/shared_ptr.h" }
490 module temporary_buffer { header "__memory/temporary_buffer.h" }
491 module uninitialized_algorithms { header "__memory/uninitialized_algorithms.h" }
492 module unique_ptr { header "__memory/unique_ptr.h" }
493 }
Richard Smith31cfef02014-05-21 00:33:49 +0000494 }
495 module mutex {
496 header "mutex"
497 export *
498 }
499 module new {
500 header "new"
501 export *
502 }
Raul Tambreafcedea2020-06-19 12:43:33 +0530503 module numbers {
504 header "numbers"
505 export *
506 }
Richard Smith31cfef02014-05-21 00:33:49 +0000507 module numeric {
508 header "numeric"
509 export *
510 }
Eric Fiselier006458b2016-12-05 23:33:19 +0000511 module optional {
512 header "optional"
513 export *
514 }
Richard Smith31cfef02014-05-21 00:33:49 +0000515 module ostream {
516 header "ostream"
517 // FIXME: should re-export ios, streambuf?
518 export *
519 }
520 module queue {
521 header "queue"
522 export initializer_list
523 export *
524 }
525 module random {
526 header "random"
527 export initializer_list
528 export *
529 }
Mark de Weveraf59b2d2020-11-24 18:08:02 +0100530 module ranges {
Christopher Di Bella8bbdde42021-06-02 19:46:20 +0000531 requires cplusplus20
Mark de Weveraf59b2d2020-11-24 18:08:02 +0100532 header "ranges"
Christopher Di Bella66ce1292021-04-11 05:08:32 +0000533 export compare
534 export initializer_list
535 export iterator
Mark de Weveraf59b2d2020-11-24 18:08:02 +0100536 export *
Christopher Di Bella8bbdde42021-06-02 19:46:20 +0000537
538 module __ranges {
539 module access { header "__ranges/access.h" }
540 module concepts { header "__ranges/concepts.h" }
541 module data { header "__ranges/data.h" }
542 module empty { header "__ranges/empty.h" }
543 module enabled_borrowed_range { header "__ranges/enabled_borrowed_range.h" }
544 module size { header "__ranges/size.h" }
545 module view_interface { header "__ranges/view_interface.h" }
546 module view { header "__ranges/view.h" }
547 }
Mark de Weveraf59b2d2020-11-24 18:08:02 +0100548 }
Richard Smith31cfef02014-05-21 00:33:49 +0000549 module ratio {
550 header "ratio"
551 export *
552 }
553 module regex {
554 header "regex"
555 export initializer_list
556 export *
557 }
558 module scoped_allocator {
559 header "scoped_allocator"
560 export *
561 }
Olivier Giroux161e6e82020-02-18 09:58:34 -0500562 module semaphore {
Raphael Isemann95e3ba22020-02-24 20:20:54 +0100563 requires cplusplus14
Olivier Giroux161e6e82020-02-18 09:58:34 -0500564 header "semaphore"
565 export *
566 }
Richard Smith31cfef02014-05-21 00:33:49 +0000567 module set {
568 header "set"
569 export initializer_list
570 export *
571 }
572 module sstream {
573 header "sstream"
574 // FIXME: should re-export istream, ostream, ios, streambuf, string?
575 export *
576 }
577 module stack {
578 header "stack"
579 export initializer_list
580 export *
581 }
582 module stdexcept {
583 header "stdexcept"
584 export *
585 }
586 module streambuf {
587 header "streambuf"
588 export *
589 }
590 module string {
591 header "string"
592 export initializer_list
Eric Fiselier2d357f72016-12-05 23:53:23 +0000593 export string_view
594 export __string
595 export *
596 }
597 module string_view {
598 header "string_view"
599 export initializer_list
600 export __string
Richard Smith31cfef02014-05-21 00:33:49 +0000601 export *
602 }
603 module strstream {
604 header "strstream"
Eric Fiselierbdc20862016-12-05 23:16:07 +0000605 export *
Richard Smith31cfef02014-05-21 00:33:49 +0000606 }
607 module system_error {
608 header "system_error"
609 export *
610 }
611 module thread {
612 header "thread"
613 export *
614 }
615 module tuple {
616 header "tuple"
617 export *
618 }
619 module type_traits {
620 header "type_traits"
621 export *
622 }
623 module typeindex {
624 header "typeindex"
625 export *
626 }
627 module typeinfo {
628 header "typeinfo"
629 export *
630 }
631 module unordered_map {
632 header "unordered_map"
633 export initializer_list
634 export *
635 }
636 module unordered_set {
637 header "unordered_set"
638 export initializer_list
639 export *
640 }
641 module utility {
642 header "utility"
643 export initializer_list
644 export *
Christopher Di Bella8bbdde42021-06-02 19:46:20 +0000645
646 module __utility {
647 module to_underlying {
648 header "__utility/to_underlying.h"
649 }
650 }
Richard Smith31cfef02014-05-21 00:33:49 +0000651 }
652 module valarray {
653 header "valarray"
654 export initializer_list
655 export *
656 }
Eric Fiselier006458b2016-12-05 23:33:19 +0000657 module variant {
658 header "variant"
659 export *
660 }
Richard Smith31cfef02014-05-21 00:33:49 +0000661 module vector {
662 header "vector"
663 export initializer_list
664 export *
665 }
Eric Fiseliera604a7d2018-04-04 04:21:54 +0000666 module version {
667 header "version"
668 export *
669 }
Richard Smith31cfef02014-05-21 00:33:49 +0000670
671 // FIXME: These should be private.
Christopher Di Bella8bbdde42021-06-02 19:46:20 +0000672 module __availability { header "__availability" export * }
673 module __bit_reference { header "__bit_reference" export * }
674 module __bits { header "__bits" export * }
675 module __config { header "__config" export * }
676 module __debug { header "__debug" export * }
677 module __errc { header "__errc" export * }
678 module __function_like { header "__function_like.h" export * }
679 module __functional_base { header "__functional_base" export * }
680 // TODO: modularise __functional_(base_)?03
681 module __hash_table { header "__hash_table" export * }
682 // libcpp_version not modularised since it's just a version number
683 module __locale { header "__locale" export * }
684 module __mutex_base { header "__mutex_base" export * }
685 module __node_handle { header "__node_handle" export * }
686 module __nullptr { header "__nullptr" export * }
687 module __split_buffer { header "__split_buffer" export * }
688 module __std_stream { header "__std_stream" export * }
689 module __string { header "__string" export * }
690 module __threading_support { header "__threading_support" export * }
691 module __tree { header "__tree" export * }
692 module __tuple { header "__tuple" export * }
693 module __undef_macros { header "__undef_macros" export * }
Eric Fiselierb5b9e822016-12-05 23:55:34 +0000694
695 module experimental {
Eric Fiselier92ae1af2016-12-06 01:34:24 +0000696 requires cplusplus11
697
Eric Fiselierb5b9e822016-12-05 23:55:34 +0000698 module algorithm {
699 header "experimental/algorithm"
700 export *
701 }
Eric Fiselierf0426152017-05-25 23:39:29 +0000702 module coroutine {
Eric Fiseliere4a3dab2017-05-29 23:17:28 +0000703 requires coroutines
Eric Fiselierf0426152017-05-25 23:39:29 +0000704 header "experimental/coroutine"
705 export *
706 }
Eric Fiselierb5b9e822016-12-05 23:55:34 +0000707 module deque {
708 header "experimental/deque"
709 export *
710 }
Eric Fiselierb5b9e822016-12-05 23:55:34 +0000711 module filesystem {
712 header "experimental/filesystem"
713 export *
714 }
715 module forward_list {
716 header "experimental/forward_list"
717 export *
718 }
719 module functional {
720 header "experimental/functional"
721 export *
722 }
723 module iterator {
724 header "experimental/iterator"
725 export *
726 }
727 module list {
728 header "experimental/list"
729 export *
730 }
731 module map {
732 header "experimental/map"
733 export *
734 }
735 module memory_resource {
736 header "experimental/memory_resource"
737 export *
738 }
Eric Fiselierb5b9e822016-12-05 23:55:34 +0000739 module propagate_const {
740 header "experimental/propagate_const"
741 export *
742 }
Eric Fiselierb5b9e822016-12-05 23:55:34 +0000743 module regex {
744 header "experimental/regex"
745 export *
746 }
Tim Shen158e51b2018-04-23 21:54:06 +0000747 module simd {
748 header "experimental/simd"
749 export *
750 }
Eric Fiselierb5b9e822016-12-05 23:55:34 +0000751 module set {
752 header "experimental/set"
753 export *
754 }
Marshall Clowd2ad87e2018-07-24 03:01:02 +0000755 module span {
756 header "span"
757 export *
758 }
Eric Fiselierb5b9e822016-12-05 23:55:34 +0000759 module string {
760 header "experimental/string"
761 export *
762 }
Eric Fiselierb5b9e822016-12-05 23:55:34 +0000763 module type_traits {
764 header "experimental/type_traits"
765 export *
766 }
767 module unordered_map {
768 header "experimental/unordered_map"
769 export *
770 }
771 module unordered_set {
772 header "experimental/unordered_set"
773 export *
774 }
775 module utility {
776 header "experimental/utility"
777 export *
778 }
779 module vector {
780 header "experimental/vector"
781 export *
782 }
783 // FIXME these should be private
784 module __memory {
785 header "experimental/__memory"
786 export *
787 }
788 } // end experimental
Richard Smith31cfef02014-05-21 00:33:49 +0000789}