Eric Fiselier | 62b959c | 2016-12-08 06:37:41 +0000 | [diff] [blame] | 1 | // 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. |
| 4 | module std_config [system] [extern_c] { |
| 5 | header "__config" |
| 6 | } |
| 7 | |
Richard Smith | 31cfef0 | 2014-05-21 00:33:49 +0000 | [diff] [blame] | 8 | module std [system] { |
Eric Fiselier | 62b959c | 2016-12-08 06:37:41 +0000 | [diff] [blame] | 9 | export std_config |
Richard Smith | 31cfef0 | 2014-05-21 00:33:49 +0000 | [diff] [blame] | 10 | // 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 Lopes | 7fd29e0 | 2016-10-21 03:14:27 +0000 | [diff] [blame] | 14 | |
| 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 Fiselier | 5dddf72 | 2019-02-11 23:47:19 +0000 | [diff] [blame] | 27 | module fenv_h { |
| 28 | header "fenv.h" |
| 29 | export * |
| 30 | } |
Bruno Cardoso Lopes | 7fd29e0 | 2016-10-21 03:14:27 +0000 | [diff] [blame] | 31 | // <float.h> provided by compiler or C library. |
| 32 | module inttypes_h { |
| 33 | header "inttypes.h" |
| 34 | export stdint_h |
Bruno Cardoso Lopes | 7fd29e0 | 2016-10-21 03:14:27 +0000 | [diff] [blame] | 35 | export * |
| 36 | } |
| 37 | // <iso646.h> provided by compiler. |
| 38 | // <limits.h> provided by compiler or C library. |
Eric Fiselier | c621333 | 2016-11-19 01:14:15 +0000 | [diff] [blame] | 39 | module locale_h { |
| 40 | header "locale.h" |
Eric Fiselier | c621333 | 2016-11-19 01:14:15 +0000 | [diff] [blame] | 41 | export * |
| 42 | } |
Bruno Cardoso Lopes | 7fd29e0 | 2016-10-21 03:14:27 +0000 | [diff] [blame] | 43 | module math_h { |
| 44 | header "math.h" |
Bruno Cardoso Lopes | 7fd29e0 | 2016-10-21 03:14:27 +0000 | [diff] [blame] | 45 | export * |
| 46 | } |
| 47 | module setjmp_h { |
| 48 | header "setjmp.h" |
Bruno Cardoso Lopes | 7fd29e0 | 2016-10-21 03:14:27 +0000 | [diff] [blame] | 49 | export * |
| 50 | } |
| 51 | // FIXME: <stdalign.h> is missing. |
| 52 | // <signal.h> provided by C library. |
| 53 | // <stdarg.h> provided by compiler. |
Eric Fiselier | 5163fa1 | 2016-12-06 09:48:32 +0000 | [diff] [blame] | 54 | // <stdbool.h> provided by compiler. |
Bruno Cardoso Lopes | 7fd29e0 | 2016-10-21 03:14:27 +0000 | [diff] [blame] | 55 | module stddef_h { |
| 56 | // <stddef.h>'s __need_* macros require textual inclusion. |
| 57 | textual header "stddef.h" |
| 58 | } |
Eric Fiselier | cbda4fb | 2016-11-22 20:05:19 +0000 | [diff] [blame] | 59 | 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 Lopes | 7fd29e0 | 2016-10-21 03:14:27 +0000 | [diff] [blame] | 66 | module stdio_h { |
| 67 | // <stdio.h>'s __need_* macros require textual inclusion. |
| 68 | textual header "stdio.h" |
Bruno Cardoso Lopes | 7fd29e0 | 2016-10-21 03:14:27 +0000 | [diff] [blame] | 69 | export * |
Eric Fiselier | 3b73309 | 2016-12-06 07:40:46 +0000 | [diff] [blame] | 70 | export Darwin.C.stdio |
Bruno Cardoso Lopes | 7fd29e0 | 2016-10-21 03:14:27 +0000 | [diff] [blame] | 71 | } |
| 72 | module stdlib_h { |
| 73 | // <stdlib.h>'s __need_* macros require textual inclusion. |
| 74 | textual header "stdlib.h" |
Bruno Cardoso Lopes | 7fd29e0 | 2016-10-21 03:14:27 +0000 | [diff] [blame] | 75 | export * |
| 76 | } |
| 77 | module string_h { |
| 78 | header "string.h" |
Bruno Cardoso Lopes | 7fd29e0 | 2016-10-21 03:14:27 +0000 | [diff] [blame] | 79 | 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 Lopes | 7fd29e0 | 2016-10-21 03:14:27 +0000 | [diff] [blame] | 86 | export * |
| 87 | } |
| 88 | module wctype_h { |
| 89 | header "wctype.h" |
Bruno Cardoso Lopes | 7fd29e0 | 2016-10-21 03:14:27 +0000 | [diff] [blame] | 90 | 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 Lopes | 7fd29e0 | 2016-10-21 03:14:27 +0000 | [diff] [blame] | 125 | export * |
| 126 | } |
| 127 | module cfenv { |
| 128 | header "cfenv" |
Bruno Cardoso Lopes | 7fd29e0 | 2016-10-21 03:14:27 +0000 | [diff] [blame] | 129 | export * |
| 130 | } |
| 131 | module cfloat { |
| 132 | header "cfloat" |
Bruno Cardoso Lopes | 7fd29e0 | 2016-10-21 03:14:27 +0000 | [diff] [blame] | 133 | export * |
| 134 | } |
| 135 | module cinttypes { |
| 136 | header "cinttypes" |
| 137 | export cstdint |
Bruno Cardoso Lopes | 7fd29e0 | 2016-10-21 03:14:27 +0000 | [diff] [blame] | 138 | export * |
| 139 | } |
| 140 | module ciso646 { |
| 141 | header "ciso646" |
| 142 | export * |
| 143 | } |
| 144 | module climits { |
| 145 | header "climits" |
Bruno Cardoso Lopes | 7fd29e0 | 2016-10-21 03:14:27 +0000 | [diff] [blame] | 146 | export * |
| 147 | } |
| 148 | module clocale { |
| 149 | header "clocale" |
Bruno Cardoso Lopes | 7fd29e0 | 2016-10-21 03:14:27 +0000 | [diff] [blame] | 150 | export * |
| 151 | } |
| 152 | module cmath { |
| 153 | header "cmath" |
Bruno Cardoso Lopes | 7fd29e0 | 2016-10-21 03:14:27 +0000 | [diff] [blame] | 154 | export * |
| 155 | } |
| 156 | module csetjmp { |
| 157 | header "csetjmp" |
Bruno Cardoso Lopes | 7fd29e0 | 2016-10-21 03:14:27 +0000 | [diff] [blame] | 158 | export * |
| 159 | } |
| 160 | module csignal { |
| 161 | header "csignal" |
Bruno Cardoso Lopes | 7fd29e0 | 2016-10-21 03:14:27 +0000 | [diff] [blame] | 162 | export * |
| 163 | } |
| 164 | // FIXME: <cstdalign> is missing. |
| 165 | module cstdarg { |
| 166 | header "cstdarg" |
Bruno Cardoso Lopes | 7fd29e0 | 2016-10-21 03:14:27 +0000 | [diff] [blame] | 167 | export * |
| 168 | } |
| 169 | module cstdbool { |
| 170 | header "cstdbool" |
Bruno Cardoso Lopes | 7fd29e0 | 2016-10-21 03:14:27 +0000 | [diff] [blame] | 171 | export * |
| 172 | } |
| 173 | module cstddef { |
| 174 | header "cstddef" |
Bruno Cardoso Lopes | 7fd29e0 | 2016-10-21 03:14:27 +0000 | [diff] [blame] | 175 | export * |
| 176 | } |
| 177 | module cstdint { |
| 178 | header "cstdint" |
Eric Fiselier | cbda4fb | 2016-11-22 20:05:19 +0000 | [diff] [blame] | 179 | export depr.stdint_h |
Bruno Cardoso Lopes | 7fd29e0 | 2016-10-21 03:14:27 +0000 | [diff] [blame] | 180 | export * |
| 181 | } |
| 182 | module cstdio { |
| 183 | header "cstdio" |
Bruno Cardoso Lopes | 7fd29e0 | 2016-10-21 03:14:27 +0000 | [diff] [blame] | 184 | export * |
| 185 | } |
| 186 | module cstdlib { |
| 187 | header "cstdlib" |
Bruno Cardoso Lopes | 7fd29e0 | 2016-10-21 03:14:27 +0000 | [diff] [blame] | 188 | export * |
| 189 | } |
| 190 | module cstring { |
| 191 | header "cstring" |
Bruno Cardoso Lopes | 7fd29e0 | 2016-10-21 03:14:27 +0000 | [diff] [blame] | 192 | 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 Lopes | 7fd29e0 | 2016-10-21 03:14:27 +0000 | [diff] [blame] | 202 | export * |
| 203 | } |
| 204 | // FIXME: <cuchar> is missing. |
| 205 | module cwchar { |
| 206 | header "cwchar" |
Eric Fiselier | 3b73309 | 2016-12-06 07:40:46 +0000 | [diff] [blame] | 207 | export depr.stdio_h |
Bruno Cardoso Lopes | 7fd29e0 | 2016-10-21 03:14:27 +0000 | [diff] [blame] | 208 | export * |
| 209 | } |
| 210 | module cwctype { |
| 211 | header "cwctype" |
Bruno Cardoso Lopes | 7fd29e0 | 2016-10-21 03:14:27 +0000 | [diff] [blame] | 212 | export * |
| 213 | } |
| 214 | } |
| 215 | |
Richard Smith | 31cfef0 | 2014-05-21 00:33:49 +0000 | [diff] [blame] | 216 | module algorithm { |
| 217 | header "algorithm" |
| 218 | export initializer_list |
| 219 | export * |
Louis Dionne | a60dd87 | 2021-06-17 11:30:11 -0400 | [diff] [blame] | 220 | |
| 221 | module __algorithm { |
Christopher Di Bella | 60fc660 | 2021-07-13 19:44:07 +0000 | [diff] [blame] | 222 | 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" } |
| 249 | module includes { private header "__algorithm/includes.h" } |
| 250 | module inplace_merge { private header "__algorithm/inplace_merge.h" } |
| 251 | module is_heap { private header "__algorithm/is_heap.h" } |
| 252 | module is_heap_until { private header "__algorithm/is_heap_until.h" } |
| 253 | module is_partitioned { private header "__algorithm/is_partitioned.h" } |
| 254 | module is_permutation { private header "__algorithm/is_permutation.h" } |
| 255 | module is_sorted { private header "__algorithm/is_sorted.h" } |
| 256 | module is_sorted_until { private header "__algorithm/is_sorted_until.h" } |
| 257 | module iter_swap { private header "__algorithm/iter_swap.h" } |
| 258 | module lexicographical_compare { private header "__algorithm/lexicographical_compare.h" } |
| 259 | module lower_bound { private header "__algorithm/lower_bound.h" } |
| 260 | module make_heap { private header "__algorithm/make_heap.h" } |
| 261 | module max { private header "__algorithm/max.h" } |
| 262 | module max_element { private header "__algorithm/max_element.h" } |
| 263 | module merge { private header "__algorithm/merge.h" } |
| 264 | module min { private header "__algorithm/min.h" } |
| 265 | module min_element { private header "__algorithm/min_element.h" } |
| 266 | module minmax { private header "__algorithm/minmax.h" } |
| 267 | module minmax_element { private header "__algorithm/minmax_element.h" } |
| 268 | module mismatch { private header "__algorithm/mismatch.h" } |
| 269 | module move { private header "__algorithm/move.h" } |
| 270 | module move_backward { private header "__algorithm/move_backward.h" } |
| 271 | module next_permutation { private header "__algorithm/next_permutation.h" } |
| 272 | module none_of { private header "__algorithm/none_of.h" } |
| 273 | module nth_element { private header "__algorithm/nth_element.h" } |
| 274 | module partial_sort { private header "__algorithm/partial_sort.h" } |
| 275 | module partial_sort_copy { private header "__algorithm/partial_sort_copy.h" } |
| 276 | module partition { private header "__algorithm/partition.h" } |
| 277 | module partition_copy { private header "__algorithm/partition_copy.h" } |
| 278 | module partition_point { private header "__algorithm/partition_point.h" } |
| 279 | module pop_heap { private header "__algorithm/pop_heap.h" } |
| 280 | module prev_permutation { private header "__algorithm/prev_permutation.h" } |
| 281 | module push_heap { private header "__algorithm/push_heap.h" } |
| 282 | module remove { private header "__algorithm/remove.h" } |
| 283 | module remove_copy { private header "__algorithm/remove_copy.h" } |
| 284 | module remove_copy_if { private header "__algorithm/remove_copy_if.h" } |
| 285 | module remove_if { private header "__algorithm/remove_if.h" } |
| 286 | module replace { private header "__algorithm/replace.h" } |
| 287 | module replace_copy { private header "__algorithm/replace_copy.h" } |
| 288 | module replace_copy_if { private header "__algorithm/replace_copy_if.h" } |
| 289 | module replace_if { private header "__algorithm/replace_if.h" } |
| 290 | module reverse { private header "__algorithm/reverse.h" } |
| 291 | module reverse_copy { private header "__algorithm/reverse_copy.h" } |
| 292 | module rotate { private header "__algorithm/rotate.h" } |
| 293 | module rotate_copy { private header "__algorithm/rotate_copy.h" } |
| 294 | module sample { private header "__algorithm/sample.h" } |
| 295 | module search { private header "__algorithm/search.h" } |
| 296 | module search_n { private header "__algorithm/search_n.h" } |
| 297 | module set_difference { private header "__algorithm/set_difference.h" } |
| 298 | module set_intersection { private header "__algorithm/set_intersection.h" } |
| 299 | module set_symmetric_difference { private header "__algorithm/set_symmetric_difference.h" } |
| 300 | module set_union { private header "__algorithm/set_union.h" } |
| 301 | module shift_left { private header "__algorithm/shift_left.h" } |
| 302 | module shift_right { private header "__algorithm/shift_right.h" } |
| 303 | module shuffle { private header "__algorithm/shuffle.h" } |
| 304 | module sift_down { private header "__algorithm/sift_down.h" } |
| 305 | module sort { private header "__algorithm/sort.h" } |
| 306 | module sort_heap { private header "__algorithm/sort_heap.h" } |
| 307 | module stable_partition { private header "__algorithm/stable_partition.h" } |
| 308 | module stable_sort { private header "__algorithm/stable_sort.h" } |
| 309 | module swap_ranges { private header "__algorithm/swap_ranges.h" } |
| 310 | module transform { private header "__algorithm/transform.h" } |
| 311 | module unique { private header "__algorithm/unique.h" } |
| 312 | module unique_copy { private header "__algorithm/unique_copy.h" } |
| 313 | module unwrap_iter { private header "__algorithm/unwrap_iter.h" } |
| 314 | module upper_bound { private header "__algorithm/upper_bound.h" } |
Louis Dionne | a60dd87 | 2021-06-17 11:30:11 -0400 | [diff] [blame] | 315 | } |
Richard Smith | 31cfef0 | 2014-05-21 00:33:49 +0000 | [diff] [blame] | 316 | } |
Eric Fiselier | 006458b | 2016-12-05 23:33:19 +0000 | [diff] [blame] | 317 | module any { |
| 318 | header "any" |
| 319 | export * |
| 320 | } |
Richard Smith | 31cfef0 | 2014-05-21 00:33:49 +0000 | [diff] [blame] | 321 | module array { |
| 322 | header "array" |
| 323 | export initializer_list |
| 324 | export * |
| 325 | } |
| 326 | module atomic { |
| 327 | header "atomic" |
| 328 | export * |
Richard Smith | 31cfef0 | 2014-05-21 00:33:49 +0000 | [diff] [blame] | 329 | } |
Olivier Giroux | 161e6e8 | 2020-02-18 09:58:34 -0500 | [diff] [blame] | 330 | module barrier { |
Raphael Isemann | 95e3ba2 | 2020-02-24 20:20:54 +0100 | [diff] [blame] | 331 | requires cplusplus14 |
Olivier Giroux | 161e6e8 | 2020-02-18 09:58:34 -0500 | [diff] [blame] | 332 | header "barrier" |
| 333 | export * |
| 334 | } |
Marshall Clow | bf32ec9 | 2018-08-17 16:07:48 +0000 | [diff] [blame] | 335 | module bit { |
| 336 | header "bit" |
| 337 | export * |
Louis Dionne | 1462d4d | 2020-05-28 14:28:38 -0400 | [diff] [blame] | 338 | |
| 339 | module __bit { |
| 340 | module bit_cast { private header "__bit/bit_cast.h" } |
Nikolas Klauser | b52cfd9 | 2021-11-22 00:22:55 +0100 | [diff] [blame] | 341 | module byteswap { private header "__bit/byteswap.h" } |
Louis Dionne | 1462d4d | 2020-05-28 14:28:38 -0400 | [diff] [blame] | 342 | } |
Marshall Clow | bf32ec9 | 2018-08-17 16:07:48 +0000 | [diff] [blame] | 343 | } |
Richard Smith | 31cfef0 | 2014-05-21 00:33:49 +0000 | [diff] [blame] | 344 | module bitset { |
| 345 | header "bitset" |
| 346 | export string |
| 347 | export iosfwd |
| 348 | export * |
| 349 | } |
| 350 | // No submodule for cassert. It fundamentally needs repeated, textual inclusion. |
Zhihao Yuan | 7bf1905 | 2018-08-01 02:38:30 +0000 | [diff] [blame] | 351 | module charconv { |
| 352 | header "charconv" |
| 353 | export * |
Mark de Wever | fd2375f | 2021-08-30 19:47:55 +0200 | [diff] [blame] | 354 | |
| 355 | module __charconv { |
Arthur O'Dwyer | 89cb8d8 | 2021-12-05 18:56:58 -0500 | [diff] [blame] | 356 | module chars_format { private header "__charconv/chars_format.h" } |
Mark de Wever | fd2375f | 2021-08-30 19:47:55 +0200 | [diff] [blame] | 357 | module from_chars_result { private header "__charconv/from_chars_result.h" } |
Arthur O'Dwyer | 89cb8d8 | 2021-12-05 18:56:58 -0500 | [diff] [blame] | 358 | module to_chars_result { private header "__charconv/to_chars_result.h" } |
Mark de Wever | fd2375f | 2021-08-30 19:47:55 +0200 | [diff] [blame] | 359 | } |
| 360 | |
Zhihao Yuan | 7bf1905 | 2018-08-01 02:38:30 +0000 | [diff] [blame] | 361 | } |
Richard Smith | 31cfef0 | 2014-05-21 00:33:49 +0000 | [diff] [blame] | 362 | module chrono { |
| 363 | header "chrono" |
| 364 | export * |
| 365 | } |
Richard Smith | 31cfef0 | 2014-05-21 00:33:49 +0000 | [diff] [blame] | 366 | module codecvt { |
| 367 | header "codecvt" |
| 368 | export * |
| 369 | } |
Eric Fiselier | e0074fc | 2018-04-06 21:37:23 +0000 | [diff] [blame] | 370 | module compare { |
| 371 | header "compare" |
| 372 | export * |
Ruslan Arutyunyan | 1babff3 | 2021-07-28 22:05:46 -0400 | [diff] [blame] | 373 | |
| 374 | module __compare { |
| 375 | module common_comparison_category { private header "__compare/common_comparison_category.h" } |
Arthur O'Dwyer | 89cb8d8 | 2021-12-05 18:56:58 -0500 | [diff] [blame] | 376 | module compare_three_way { private header "__compare/compare_three_way.h" } |
| 377 | module compare_three_way_result { private header "__compare/compare_three_way_result.h" } |
| 378 | module is_eq { private header "__compare/is_eq.h" } |
| 379 | module ordering { private header "__compare/ordering.h" } |
| 380 | module partial_order { private header "__compare/partial_order.h" } |
| 381 | module strong_order { private header "__compare/strong_order.h" } |
| 382 | module synth_three_way { private header "__compare/synth_three_way.h" } |
| 383 | module three_way_comparable { private header "__compare/three_way_comparable.h" } |
| 384 | module weak_order { private header "__compare/weak_order.h" } |
Ruslan Arutyunyan | 1babff3 | 2021-07-28 22:05:46 -0400 | [diff] [blame] | 385 | } |
Eric Fiselier | e0074fc | 2018-04-06 21:37:23 +0000 | [diff] [blame] | 386 | } |
Richard Smith | 31cfef0 | 2014-05-21 00:33:49 +0000 | [diff] [blame] | 387 | module complex { |
| 388 | header "complex" |
| 389 | export * |
| 390 | } |
Eric Fiselier | d59a032 | 2020-04-08 18:00:13 -0400 | [diff] [blame] | 391 | module concepts { |
| 392 | header "concepts" |
| 393 | export * |
Arthur O'Dwyer | f72c477 | 2021-07-29 01:08:30 -0400 | [diff] [blame] | 394 | |
| 395 | module __concepts { |
Arthur O'Dwyer | 89cb8d8 | 2021-12-05 18:56:58 -0500 | [diff] [blame] | 396 | module arithmetic { private header "__concepts/arithmetic.h" } |
| 397 | module assignable { private header "__concepts/assignable.h" } |
| 398 | module boolean_testable { private header "__concepts/boolean_testable.h" } |
| 399 | module class_or_enum { private header "__concepts/class_or_enum.h" } |
| 400 | module common_reference_with { private header "__concepts/common_reference_with.h" } |
| 401 | module common_with { private header "__concepts/common_with.h" } |
| 402 | module constructible { private header "__concepts/constructible.h" } |
| 403 | module convertible_to { private header "__concepts/convertible_to.h" } |
| 404 | module copyable { private header "__concepts/copyable.h" } |
| 405 | module derived_from { private header "__concepts/derived_from.h" } |
| 406 | module destructible { private header "__concepts/destructible.h" } |
| 407 | module different_from { private header "__concepts/different_from.h" } |
| 408 | module equality_comparable { private header "__concepts/equality_comparable.h" } |
| 409 | module invocable { private header "__concepts/invocable.h" } |
| 410 | module movable { private header "__concepts/movable.h" } |
| 411 | module predicate { private header "__concepts/predicate.h" } |
| 412 | module regular { private header "__concepts/regular.h" } |
| 413 | module relation { private header "__concepts/relation.h" } |
| 414 | module same_as { private header "__concepts/same_as.h" } |
| 415 | module semiregular { private header "__concepts/semiregular.h" } |
| 416 | module swappable { private header "__concepts/swappable.h" } |
| 417 | module totally_ordered { private header "__concepts/totally_ordered.h" } |
Arthur O'Dwyer | f72c477 | 2021-07-29 01:08:30 -0400 | [diff] [blame] | 418 | } |
Eric Fiselier | d59a032 | 2020-04-08 18:00:13 -0400 | [diff] [blame] | 419 | } |
Richard Smith | 31cfef0 | 2014-05-21 00:33:49 +0000 | [diff] [blame] | 420 | module condition_variable { |
| 421 | header "condition_variable" |
| 422 | export * |
| 423 | } |
Chuanqi Xu | 6fdf619 | 2021-11-16 14:05:34 +0800 | [diff] [blame] | 424 | module coroutine { |
| 425 | requires coroutines |
| 426 | header "coroutine" |
| 427 | export compare |
| 428 | export * |
| 429 | |
| 430 | module __coroutine { |
Arthur O'Dwyer | 89cb8d8 | 2021-12-05 18:56:58 -0500 | [diff] [blame] | 431 | module coroutine_handle { private header "__coroutine/coroutine_handle.h" } |
| 432 | module coroutine_traits { private header "__coroutine/coroutine_traits.h" } |
| 433 | module trivial_awaitables { private header "__coroutine/trivial_awaitables.h" } |
| 434 | module noop_coroutine_handle { private header "__coroutine/noop_coroutine_handle.h" } |
Chuanqi Xu | 6fdf619 | 2021-11-16 14:05:34 +0800 | [diff] [blame] | 435 | } |
| 436 | } |
Richard Smith | 31cfef0 | 2014-05-21 00:33:49 +0000 | [diff] [blame] | 437 | module deque { |
| 438 | header "deque" |
| 439 | export initializer_list |
| 440 | export * |
| 441 | } |
| 442 | module exception { |
| 443 | header "exception" |
| 444 | export * |
| 445 | } |
Louis Dionne | 59d0b3c | 2019-08-05 18:29:14 +0000 | [diff] [blame] | 446 | module execution { |
| 447 | header "execution" |
| 448 | export * |
| 449 | } |
Eric Fiselier | 02cea5e | 2018-07-27 03:07:09 +0000 | [diff] [blame] | 450 | module filesystem { |
| 451 | header "filesystem" |
| 452 | export * |
Nikolas Klauser | 70bc096 | 2021-12-18 10:21:25 +0100 | [diff] [blame] | 453 | |
| 454 | module __filesystem { |
| 455 | module copy_options { private header "__filesystem/copy_options.h" } |
| 456 | module directory_entry { private header "__filesystem/directory_entry.h" } |
| 457 | module directory_iterator { private header "__filesystem/directory_iterator.h" } |
| 458 | module directory_options { private header "__filesystem/directory_options.h" } |
| 459 | module file_status { private header "__filesystem/file_status.h" } |
| 460 | module file_time_type { private header "__filesystem/file_time_type.h" } |
| 461 | module file_type { private header "__filesystem/file_type.h" } |
| 462 | module filesystem_error { private header "__filesystem/filesystem_error.h" } |
| 463 | module operations { private header "__filesystem/operations.h" } |
| 464 | module path_iterator { private header "__filesystem/path_iterator.h" } |
| 465 | module path { private header "__filesystem/path.h" } |
| 466 | module perm_options { private header "__filesystem/perm_options.h" } |
| 467 | module perms { private header "__filesystem/perms.h" } |
| 468 | module recursive_directory_iterator { private header "__filesystem/recursive_directory_iterator.h" } |
| 469 | module space_info { private header "__filesystem/space_info.h" } |
| 470 | module u8path { private header "__filesystem/u8path.h" } |
| 471 | } |
Eric Fiselier | 02cea5e | 2018-07-27 03:07:09 +0000 | [diff] [blame] | 472 | } |
Mark de Wever | df5fd83 | 2020-11-26 19:12:18 +0100 | [diff] [blame] | 473 | module format { |
| 474 | header "format" |
| 475 | export * |
Christopher Di Bella | 02fbd4e | 2021-06-12 06:13:44 +0000 | [diff] [blame] | 476 | |
| 477 | module __format { |
Arthur O'Dwyer | 89cb8d8 | 2021-12-05 18:56:58 -0500 | [diff] [blame] | 478 | module format_arg { private header "__format/format_arg.h" } |
| 479 | module format_args { private header "__format/format_args.h" } |
Mark de Wever | cba6137 | 2020-12-05 11:45:21 +0100 | [diff] [blame] | 480 | module format_context { |
| 481 | private header "__format/format_context.h" |
| 482 | export optional |
| 483 | export locale |
| 484 | } |
Arthur O'Dwyer | 89cb8d8 | 2021-12-05 18:56:58 -0500 | [diff] [blame] | 485 | module format_error { private header "__format/format_error.h" } |
| 486 | module format_fwd { private header "__format/format_fwd.h" } |
| 487 | module format_parse_context { private header "__format/format_parse_context.h" } |
| 488 | module format_string { private header "__format/format_string.h" } |
| 489 | module format_to_n_result { private header "__format/format_to_n_result.h" } |
| 490 | module formatter { private header "__format/formatter.h" } |
| 491 | module formatter_bool { private header "__format/formatter_bool.h" } |
| 492 | module formatter_char { private header "__format/formatter_char.h" } |
| 493 | module formatter_integer { private header "__format/formatter_integer.h" } |
| 494 | module formatter_integral { private header "__format/formatter_integral.h" } |
| 495 | module formatter_string { private header "__format/formatter_string.h" } |
Mark de Wever | 96ff50c | 2020-12-14 17:39:15 +0100 | [diff] [blame] | 496 | module parser_std_format_spec { private header "__format/parser_std_format_spec.h" } |
Christopher Di Bella | 02fbd4e | 2021-06-12 06:13:44 +0000 | [diff] [blame] | 497 | } |
Mark de Wever | df5fd83 | 2020-11-26 19:12:18 +0100 | [diff] [blame] | 498 | } |
Richard Smith | 31cfef0 | 2014-05-21 00:33:49 +0000 | [diff] [blame] | 499 | module forward_list { |
| 500 | header "forward_list" |
| 501 | export initializer_list |
| 502 | export * |
| 503 | } |
| 504 | module fstream { |
| 505 | header "fstream" |
| 506 | export * |
| 507 | } |
| 508 | module functional { |
| 509 | header "functional" |
| 510 | export * |
Christopher Di Bella | 55d7a82 | 2021-07-01 09:25:35 -0400 | [diff] [blame] | 511 | |
Louis Dionne | a60dd87 | 2021-06-17 11:30:11 -0400 | [diff] [blame] | 512 | module __functional { |
Christopher Di Bella | 60fc660 | 2021-07-13 19:44:07 +0000 | [diff] [blame] | 513 | module binary_function { private header "__functional/binary_function.h" } |
| 514 | module binary_negate { private header "__functional/binary_negate.h" } |
| 515 | module bind { private header "__functional/bind.h" } |
Louis Dionne | 067e22b | 2021-08-09 15:41:26 -0400 | [diff] [blame] | 516 | module bind_back { private header "__functional/bind_back.h" } |
Christopher Di Bella | 60fc660 | 2021-07-13 19:44:07 +0000 | [diff] [blame] | 517 | module bind_front { private header "__functional/bind_front.h" } |
| 518 | module binder1st { private header "__functional/binder1st.h" } |
| 519 | module binder2nd { private header "__functional/binder2nd.h" } |
Louis Dionne | 067e22b | 2021-08-09 15:41:26 -0400 | [diff] [blame] | 520 | module compose { private header "__functional/compose.h" } |
Christopher Di Bella | 60fc660 | 2021-07-13 19:44:07 +0000 | [diff] [blame] | 521 | module default_searcher { private header "__functional/default_searcher.h" } |
| 522 | module function { private header "__functional/function.h" } |
| 523 | module hash { private header "__functional/hash.h" } |
| 524 | module identity { private header "__functional/identity.h" } |
Christopher Di Bella | 60fc660 | 2021-07-13 19:44:07 +0000 | [diff] [blame] | 525 | module invoke { private header "__functional/invoke.h" } |
Louis Dionne | 067e22b | 2021-08-09 15:41:26 -0400 | [diff] [blame] | 526 | module is_transparent { private header "__functional/is_transparent.h" } |
Arthur O'Dwyer | 89cb8d8 | 2021-12-05 18:56:58 -0500 | [diff] [blame] | 527 | module mem_fn { private header "__functional/mem_fn.h" } |
| 528 | module mem_fun_ref { private header "__functional/mem_fun_ref.h" } |
Christopher Di Bella | 60fc660 | 2021-07-13 19:44:07 +0000 | [diff] [blame] | 529 | module not_fn { private header "__functional/not_fn.h" } |
| 530 | module operations { private header "__functional/operations.h" } |
| 531 | module perfect_forward { private header "__functional/perfect_forward.h" } |
| 532 | module pointer_to_binary_function { private header "__functional/pointer_to_binary_function.h" } |
| 533 | module pointer_to_unary_function { private header "__functional/pointer_to_unary_function.h" } |
| 534 | module ranges_operations { private header "__functional/ranges_operations.h" } |
| 535 | module reference_wrapper { private header "__functional/reference_wrapper.h" } |
| 536 | module unary_function { private header "__functional/unary_function.h" } |
| 537 | module unary_negate { private header "__functional/unary_negate.h" } |
| 538 | module unwrap_ref { private header "__functional/unwrap_ref.h" } |
| 539 | module weak_result_type { private header "__functional/weak_result_type.h" } |
Louis Dionne | a60dd87 | 2021-06-17 11:30:11 -0400 | [diff] [blame] | 540 | } |
Richard Smith | 31cfef0 | 2014-05-21 00:33:49 +0000 | [diff] [blame] | 541 | } |
| 542 | module future { |
| 543 | header "future" |
| 544 | export * |
| 545 | } |
| 546 | module initializer_list { |
| 547 | header "initializer_list" |
| 548 | export * |
| 549 | } |
| 550 | module iomanip { |
| 551 | header "iomanip" |
| 552 | export * |
| 553 | } |
| 554 | module ios { |
| 555 | header "ios" |
| 556 | export iosfwd |
| 557 | export * |
| 558 | } |
| 559 | module iosfwd { |
| 560 | header "iosfwd" |
| 561 | export * |
| 562 | } |
| 563 | module iostream { |
| 564 | header "iostream" |
| 565 | export ios |
| 566 | export streambuf |
| 567 | export istream |
| 568 | export ostream |
| 569 | export * |
| 570 | } |
| 571 | module istream { |
| 572 | header "istream" |
| 573 | // FIXME: should re-export ios, streambuf? |
| 574 | export * |
| 575 | } |
| 576 | module iterator { |
| 577 | header "iterator" |
| 578 | export * |
Christopher Di Bella | 02fbd4e | 2021-06-12 06:13:44 +0000 | [diff] [blame] | 579 | |
| 580 | module __iterator { |
Christopher Di Bella | 60fc660 | 2021-07-13 19:44:07 +0000 | [diff] [blame] | 581 | module access { private header "__iterator/access.h" } |
Christopher Di Bella | 9fff709 | 2021-06-29 03:53:44 +0000 | [diff] [blame] | 582 | module advance { |
| 583 | private header "__iterator/advance.h" |
| 584 | export __function_like |
| 585 | } |
Christopher Di Bella | 60fc660 | 2021-07-13 19:44:07 +0000 | [diff] [blame] | 586 | module back_insert_iterator { private header "__iterator/back_insert_iterator.h" } |
zoecarver | 6eb71a9 | 2021-05-27 09:23:19 -0700 | [diff] [blame] | 587 | module common_iterator { private header "__iterator/common_iterator.h" } |
Christopher Di Bella | 60fc660 | 2021-07-13 19:44:07 +0000 | [diff] [blame] | 588 | module concepts { private header "__iterator/concepts.h" } |
zoecarver | d3aca59 | 2021-07-13 11:06:10 -0700 | [diff] [blame] | 589 | module counted_iterator { private header "__iterator/counted_iterator.h" } |
Christopher Di Bella | 60fc660 | 2021-07-13 19:44:07 +0000 | [diff] [blame] | 590 | module data { private header "__iterator/data.h" } |
| 591 | module default_sentinel { private header "__iterator/default_sentinel.h" } |
| 592 | module distance { private header "__iterator/distance.h" } |
| 593 | module empty { private header "__iterator/empty.h" } |
| 594 | module erase_if_container { private header "__iterator/erase_if_container.h" } |
| 595 | module front_insert_iterator { private header "__iterator/front_insert_iterator.h" } |
| 596 | module incrementable_traits { private header "__iterator/incrementable_traits.h" } |
Nikolas Klauser | 764ac5e | 2022-01-04 19:55:37 +0100 | [diff] [blame] | 597 | module indirectly_comparable { private header "__iterator/indirectly_comparable.h" } |
Christopher Di Bella | 60fc660 | 2021-07-13 19:44:07 +0000 | [diff] [blame] | 598 | module insert_iterator { private header "__iterator/insert_iterator.h" } |
| 599 | module istream_iterator { private header "__iterator/istream_iterator.h" } |
| 600 | module istreambuf_iterator { private header "__iterator/istreambuf_iterator.h" } |
| 601 | module iter_move { private header "__iterator/iter_move.h" } |
| 602 | module iter_swap { private header "__iterator/iter_swap.h" } |
| 603 | module iterator { private header "__iterator/iterator.h" } |
| 604 | module iterator_traits { private header "__iterator/iterator_traits.h" } |
| 605 | module move_iterator { private header "__iterator/move_iterator.h" } |
Christopher Di Bella | 9fff709 | 2021-06-29 03:53:44 +0000 | [diff] [blame] | 606 | module next { |
| 607 | private header "__iterator/next.h" |
| 608 | export __function_like |
| 609 | } |
Christopher Di Bella | 60fc660 | 2021-07-13 19:44:07 +0000 | [diff] [blame] | 610 | module ostream_iterator { private header "__iterator/ostream_iterator.h" } |
| 611 | module ostreambuf_iterator { private header "__iterator/ostreambuf_iterator.h" } |
Christopher Di Bella | 9fff709 | 2021-06-29 03:53:44 +0000 | [diff] [blame] | 612 | module prev { |
| 613 | private header "__iterator/prev.h" |
| 614 | export __function_like |
| 615 | } |
Christopher Di Bella | 60fc660 | 2021-07-13 19:44:07 +0000 | [diff] [blame] | 616 | module projected { private header "__iterator/projected.h" } |
| 617 | module readable_traits { private header "__iterator/readable_traits.h" } |
| 618 | module reverse_access { private header "__iterator/reverse_access.h" } |
| 619 | module reverse_iterator { private header "__iterator/reverse_iterator.h" } |
| 620 | module size { private header "__iterator/size.h" } |
zoecarver | 23001f7 | 2021-08-11 11:16:27 -0700 | [diff] [blame] | 621 | module unreachable_sentinel { private header "__iterator/unreachable_sentinel.h" } |
Christopher Di Bella | 60fc660 | 2021-07-13 19:44:07 +0000 | [diff] [blame] | 622 | module wrap_iter { private header "__iterator/wrap_iter.h" } |
Christopher Di Bella | 02fbd4e | 2021-06-12 06:13:44 +0000 | [diff] [blame] | 623 | } |
Richard Smith | 31cfef0 | 2014-05-21 00:33:49 +0000 | [diff] [blame] | 624 | } |
Olivier Giroux | 161e6e8 | 2020-02-18 09:58:34 -0500 | [diff] [blame] | 625 | module latch { |
Raphael Isemann | 95e3ba2 | 2020-02-24 20:20:54 +0100 | [diff] [blame] | 626 | requires cplusplus14 |
Olivier Giroux | 161e6e8 | 2020-02-18 09:58:34 -0500 | [diff] [blame] | 627 | header "latch" |
| 628 | export * |
| 629 | } |
Richard Smith | 31cfef0 | 2014-05-21 00:33:49 +0000 | [diff] [blame] | 630 | module limits { |
| 631 | header "limits" |
| 632 | export * |
| 633 | } |
| 634 | module list { |
| 635 | header "list" |
| 636 | export initializer_list |
| 637 | export * |
| 638 | } |
| 639 | module locale { |
| 640 | header "locale" |
| 641 | export * |
| 642 | } |
| 643 | module map { |
| 644 | header "map" |
| 645 | export initializer_list |
| 646 | export * |
| 647 | } |
| 648 | module memory { |
| 649 | header "memory" |
| 650 | export * |
Christopher Di Bella | 02fbd4e | 2021-06-12 06:13:44 +0000 | [diff] [blame] | 651 | |
| 652 | module __memory { |
Konstantin Varlamov | 145c5df | 2021-12-14 14:11:37 -0800 | [diff] [blame] | 653 | module addressof { private header "__memory/addressof.h" } |
| 654 | module allocation_guard { private header "__memory/allocation_guard.h" } |
| 655 | module allocator { private header "__memory/allocator.h" } |
| 656 | module allocator_arg_t { private header "__memory/allocator_arg_t.h" } |
| 657 | module allocator_traits { private header "__memory/allocator_traits.h" } |
| 658 | module auto_ptr { private header "__memory/auto_ptr.h" } |
| 659 | module compressed_pair { private header "__memory/compressed_pair.h" } |
| 660 | module concepts { private header "__memory/concepts.h" } |
| 661 | module construct_at { private header "__memory/construct_at.h" } |
| 662 | module pointer_traits { private header "__memory/pointer_traits.h" } |
| 663 | module ranges_uninitialized_algorithms { |
| 664 | private header "__memory/ranges_uninitialized_algorithms.h" |
| 665 | export __function_like |
| 666 | } |
| 667 | module raw_storage_iterator { private header "__memory/raw_storage_iterator.h" } |
| 668 | module shared_ptr { private header "__memory/shared_ptr.h" } |
| 669 | module temporary_buffer { private header "__memory/temporary_buffer.h" } |
| 670 | module uninitialized_algorithms { private header "__memory/uninitialized_algorithms.h" } |
| 671 | module unique_ptr { private header "__memory/unique_ptr.h" } |
| 672 | module uses_allocator { private header "__memory/uses_allocator.h" } |
Konstantin Varlamov | 139228a | 2021-12-20 00:24:10 -0800 | [diff] [blame] | 673 | module voidify { private header "__memory/voidify.h" } |
Christopher Di Bella | 02fbd4e | 2021-06-12 06:13:44 +0000 | [diff] [blame] | 674 | } |
Richard Smith | 31cfef0 | 2014-05-21 00:33:49 +0000 | [diff] [blame] | 675 | } |
| 676 | module mutex { |
| 677 | header "mutex" |
| 678 | export * |
| 679 | } |
| 680 | module new { |
| 681 | header "new" |
| 682 | export * |
| 683 | } |
Raul Tambre | afcedea | 2020-06-19 12:43:33 +0530 | [diff] [blame] | 684 | module numbers { |
| 685 | header "numbers" |
| 686 | export * |
| 687 | } |
Richard Smith | 31cfef0 | 2014-05-21 00:33:49 +0000 | [diff] [blame] | 688 | module numeric { |
| 689 | header "numeric" |
| 690 | export * |
Christopher Di Bella | 0df29b3 | 2021-12-01 01:36:32 +0000 | [diff] [blame] | 691 | |
| 692 | module __numeric { |
| 693 | module accumulate { private header "__numeric/accumulate.h" } |
| 694 | module adjacent_difference { private header "__numeric/adjacent_difference.h" } |
| 695 | module exclusive_scan { private header "__numeric/exclusive_scan.h" } |
| 696 | module gcd_lcm { private header "__numeric/gcd_lcm.h" } |
| 697 | module inclusive_scan { private header "__numeric/inclusive_scan.h" } |
| 698 | module inner_product { private header "__numeric/inner_product.h" } |
| 699 | module iota { private header "__numeric/iota.h" } |
| 700 | module midpoint { private header "__numeric/midpoint.h" } |
| 701 | module partial_sum { private header "__numeric/partial_sum.h" } |
| 702 | module reduce { private header "__numeric/reduce.h" } |
| 703 | module transform_exclusive_scan { private header "__numeric/transform_exclusive_scan.h" } |
| 704 | module transform_inclusive_scan { private header "__numeric/transform_inclusive_scan.h" } |
| 705 | module transform_reduce { private header "__numeric/transform_reduce.h" } |
| 706 | } |
Richard Smith | 31cfef0 | 2014-05-21 00:33:49 +0000 | [diff] [blame] | 707 | } |
Eric Fiselier | 006458b | 2016-12-05 23:33:19 +0000 | [diff] [blame] | 708 | module optional { |
| 709 | header "optional" |
| 710 | export * |
| 711 | } |
Richard Smith | 31cfef0 | 2014-05-21 00:33:49 +0000 | [diff] [blame] | 712 | module ostream { |
| 713 | header "ostream" |
| 714 | // FIXME: should re-export ios, streambuf? |
| 715 | export * |
| 716 | } |
| 717 | module queue { |
| 718 | header "queue" |
| 719 | export initializer_list |
| 720 | export * |
| 721 | } |
| 722 | module random { |
| 723 | header "random" |
| 724 | export initializer_list |
| 725 | export * |
Louis Dionne | a60dd87 | 2021-06-17 11:30:11 -0400 | [diff] [blame] | 726 | |
| 727 | module __random { |
Arthur O'Dwyer | 89cb8d8 | 2021-12-05 18:56:58 -0500 | [diff] [blame] | 728 | module bernoulli_distribution { private header "__random/bernoulli_distribution.h" } |
| 729 | module binomial_distribution { private header "__random/binomial_distribution.h" } |
| 730 | module cauchy_distribution { private header "__random/cauchy_distribution.h" } |
| 731 | module chi_squared_distribution { private header "__random/chi_squared_distribution.h" } |
Louis Dionne | afbc331 | 2021-12-07 16:34:13 -0500 | [diff] [blame] | 732 | module clamp_to_integral { private header "__random/clamp_to_integral.h" } |
Arthur O'Dwyer | 89cb8d8 | 2021-12-05 18:56:58 -0500 | [diff] [blame] | 733 | module default_random_engine { private header "__random/default_random_engine.h" } |
| 734 | module discard_block_engine { private header "__random/discard_block_engine.h" } |
| 735 | module discrete_distribution { private header "__random/discrete_distribution.h" } |
| 736 | module exponential_distribution { private header "__random/exponential_distribution.h" } |
| 737 | module extreme_value_distribution { private header "__random/extreme_value_distribution.h" } |
| 738 | module fisher_f_distribution { private header "__random/fisher_f_distribution.h" } |
| 739 | module gamma_distribution { private header "__random/gamma_distribution.h" } |
| 740 | module generate_canonical { private header "__random/generate_canonical.h" } |
| 741 | module geometric_distribution { private header "__random/geometric_distribution.h" } |
| 742 | module independent_bits_engine { private header "__random/independent_bits_engine.h" } |
| 743 | module is_seed_sequence { private header "__random/is_seed_sequence.h" } |
| 744 | module knuth_b { private header "__random/knuth_b.h" } |
| 745 | module linear_congruential_engine { private header "__random/linear_congruential_engine.h" } |
| 746 | module log2 { private header "__random/log2.h" } |
| 747 | module lognormal_distribution { private header "__random/lognormal_distribution.h" } |
| 748 | module mersenne_twister_engine { private header "__random/mersenne_twister_engine.h" } |
| 749 | module negative_binomial_distribution { private header "__random/negative_binomial_distribution.h" } |
| 750 | module normal_distribution { private header "__random/normal_distribution.h" } |
Arthur O'Dwyer | c3a7373 | 2021-11-19 14:58:51 -0500 | [diff] [blame] | 751 | module piecewise_constant_distribution { private header "__random/piecewise_constant_distribution.h" } |
Arthur O'Dwyer | 89cb8d8 | 2021-12-05 18:56:58 -0500 | [diff] [blame] | 752 | module piecewise_linear_distribution { private header "__random/piecewise_linear_distribution.h" } |
| 753 | module poisson_distribution { private header "__random/poisson_distribution.h" } |
| 754 | module random_device { private header "__random/random_device.h" } |
| 755 | module ranlux { private header "__random/ranlux.h" } |
| 756 | module seed_seq { private header "__random/seed_seq.h" } |
| 757 | module shuffle_order_engine { private header "__random/shuffle_order_engine.h" } |
| 758 | module student_t_distribution { private header "__random/student_t_distribution.h" } |
| 759 | module subtract_with_carry_engine { private header "__random/subtract_with_carry_engine.h" } |
| 760 | module uniform_int_distribution { private header "__random/uniform_int_distribution.h" } |
| 761 | module uniform_random_bit_generator { private header "__random/uniform_random_bit_generator.h" } |
| 762 | module uniform_real_distribution { private header "__random/uniform_real_distribution.h" } |
| 763 | module weibull_distribution { private header "__random/weibull_distribution.h" } |
Louis Dionne | a60dd87 | 2021-06-17 11:30:11 -0400 | [diff] [blame] | 764 | } |
Richard Smith | 31cfef0 | 2014-05-21 00:33:49 +0000 | [diff] [blame] | 765 | } |
Mark de Wever | af59b2d | 2020-11-24 18:08:02 +0100 | [diff] [blame] | 766 | module ranges { |
| 767 | header "ranges" |
Christopher Di Bella | 66ce129 | 2021-04-11 05:08:32 +0000 | [diff] [blame] | 768 | export compare |
| 769 | export initializer_list |
| 770 | export iterator |
Mark de Wever | af59b2d | 2020-11-24 18:08:02 +0100 | [diff] [blame] | 771 | export * |
Christopher Di Bella | 02fbd4e | 2021-06-12 06:13:44 +0000 | [diff] [blame] | 772 | |
| 773 | module __ranges { |
Arthur O'Dwyer | 89cb8d8 | 2021-12-05 18:56:58 -0500 | [diff] [blame] | 774 | module access { private header "__ranges/access.h" } |
Louis Dionne | 8c2023c | 2021-08-11 17:36:35 -0400 | [diff] [blame] | 775 | module all { |
| 776 | private header "__ranges/all.h" |
| 777 | export functional.__functional.compose |
| 778 | export functional.__functional.perfect_forward |
| 779 | } |
Arthur O'Dwyer | 89cb8d8 | 2021-12-05 18:56:58 -0500 | [diff] [blame] | 780 | module common_view { private header "__ranges/common_view.h" } |
| 781 | module concepts { private header "__ranges/concepts.h" } |
| 782 | module copyable_box { private header "__ranges/copyable_box.h" } |
Konstantin Varlamov | 145c5df | 2021-12-14 14:11:37 -0800 | [diff] [blame] | 783 | module counted { |
| 784 | private header "__ranges/counted.h" |
| 785 | export span |
| 786 | } |
Arthur O'Dwyer | 89cb8d8 | 2021-12-05 18:56:58 -0500 | [diff] [blame] | 787 | module dangling { private header "__ranges/dangling.h" } |
| 788 | module data { private header "__ranges/data.h" } |
| 789 | module drop_view { private header "__ranges/drop_view.h" } |
| 790 | module empty { private header "__ranges/empty.h" } |
| 791 | module empty_view { private header "__ranges/empty_view.h" } |
Christopher Di Bella | 60fc660 | 2021-07-13 19:44:07 +0000 | [diff] [blame] | 792 | module enable_borrowed_range { private header "__ranges/enable_borrowed_range.h" } |
Arthur O'Dwyer | 89cb8d8 | 2021-12-05 18:56:58 -0500 | [diff] [blame] | 793 | module enable_view { private header "__ranges/enable_view.h" } |
| 794 | module iota_view { private header "__ranges/iota_view.h" } |
| 795 | module join_view { private header "__ranges/join_view.h" } |
Louis Dionne | b64bcf9 | 2021-07-19 12:12:49 -0400 | [diff] [blame] | 796 | module non_propagating_cache { private header "__ranges/non_propagating_cache.h" } |
Arthur O'Dwyer | 89cb8d8 | 2021-12-05 18:56:58 -0500 | [diff] [blame] | 797 | module range_adaptor { private header "__ranges/range_adaptor.h" } |
| 798 | module ref_view { private header "__ranges/ref_view.h" } |
| 799 | module reverse_view { private header "__ranges/reverse_view.h" } |
| 800 | module size { private header "__ranges/size.h" } |
| 801 | module single_view { private header "__ranges/single_view.h" } |
| 802 | module subrange { private header "__ranges/subrange.h" } |
| 803 | module take_view { private header "__ranges/take_view.h" } |
Louis Dionne | 8c2023c | 2021-08-11 17:36:35 -0400 | [diff] [blame] | 804 | module transform_view { |
| 805 | private header "__ranges/transform_view.h" |
| 806 | export functional.__functional.bind_back |
| 807 | export functional.__functional.perfect_forward |
| 808 | } |
Arthur O'Dwyer | 89cb8d8 | 2021-12-05 18:56:58 -0500 | [diff] [blame] | 809 | module view_interface { private header "__ranges/view_interface.h" } |
Christopher Di Bella | 02fbd4e | 2021-06-12 06:13:44 +0000 | [diff] [blame] | 810 | } |
Mark de Wever | af59b2d | 2020-11-24 18:08:02 +0100 | [diff] [blame] | 811 | } |
Richard Smith | 31cfef0 | 2014-05-21 00:33:49 +0000 | [diff] [blame] | 812 | module ratio { |
| 813 | header "ratio" |
| 814 | export * |
| 815 | } |
| 816 | module regex { |
| 817 | header "regex" |
| 818 | export initializer_list |
| 819 | export * |
| 820 | } |
| 821 | module scoped_allocator { |
| 822 | header "scoped_allocator" |
| 823 | export * |
| 824 | } |
Olivier Giroux | 161e6e8 | 2020-02-18 09:58:34 -0500 | [diff] [blame] | 825 | module semaphore { |
Raphael Isemann | 95e3ba2 | 2020-02-24 20:20:54 +0100 | [diff] [blame] | 826 | requires cplusplus14 |
Olivier Giroux | 161e6e8 | 2020-02-18 09:58:34 -0500 | [diff] [blame] | 827 | header "semaphore" |
| 828 | export * |
| 829 | } |
Richard Smith | 31cfef0 | 2014-05-21 00:33:49 +0000 | [diff] [blame] | 830 | module set { |
| 831 | header "set" |
| 832 | export initializer_list |
| 833 | export * |
| 834 | } |
Christopher Di Bella | a75331d | 2021-07-15 06:41:17 +0000 | [diff] [blame] | 835 | module shared_mutex { |
| 836 | header "shared_mutex" |
| 837 | export version |
| 838 | } |
| 839 | module span { |
| 840 | header "span" |
| 841 | export ranges.__ranges.enable_borrowed_range |
| 842 | export version |
| 843 | } |
Richard Smith | 31cfef0 | 2014-05-21 00:33:49 +0000 | [diff] [blame] | 844 | module sstream { |
| 845 | header "sstream" |
| 846 | // FIXME: should re-export istream, ostream, ios, streambuf, string? |
| 847 | export * |
| 848 | } |
| 849 | module stack { |
| 850 | header "stack" |
| 851 | export initializer_list |
| 852 | export * |
| 853 | } |
| 854 | module stdexcept { |
| 855 | header "stdexcept" |
| 856 | export * |
| 857 | } |
| 858 | module streambuf { |
| 859 | header "streambuf" |
| 860 | export * |
| 861 | } |
| 862 | module string { |
| 863 | header "string" |
| 864 | export initializer_list |
Eric Fiselier | 2d357f7 | 2016-12-05 23:53:23 +0000 | [diff] [blame] | 865 | export string_view |
| 866 | export __string |
| 867 | export * |
| 868 | } |
| 869 | module string_view { |
| 870 | header "string_view" |
| 871 | export initializer_list |
| 872 | export __string |
Richard Smith | 31cfef0 | 2014-05-21 00:33:49 +0000 | [diff] [blame] | 873 | export * |
| 874 | } |
| 875 | module strstream { |
| 876 | header "strstream" |
Eric Fiselier | bdc2086 | 2016-12-05 23:16:07 +0000 | [diff] [blame] | 877 | export * |
Richard Smith | 31cfef0 | 2014-05-21 00:33:49 +0000 | [diff] [blame] | 878 | } |
| 879 | module system_error { |
| 880 | header "system_error" |
| 881 | export * |
| 882 | } |
| 883 | module thread { |
| 884 | header "thread" |
| 885 | export * |
Louis Dionne | af2d2a8 | 2021-11-17 10:59:31 -0500 | [diff] [blame] | 886 | |
| 887 | module __thread { |
| 888 | module poll_with_backoff { private header "__thread/poll_with_backoff.h" } |
| 889 | } |
Richard Smith | 31cfef0 | 2014-05-21 00:33:49 +0000 | [diff] [blame] | 890 | } |
| 891 | module tuple { |
| 892 | header "tuple" |
| 893 | export * |
| 894 | } |
| 895 | module type_traits { |
| 896 | header "type_traits" |
Christopher Di Bella | 599a6c6 | 2021-06-09 23:10:17 +0000 | [diff] [blame] | 897 | export functional.__functional.unwrap_ref |
Richard Smith | 31cfef0 | 2014-05-21 00:33:49 +0000 | [diff] [blame] | 898 | export * |
| 899 | } |
| 900 | module typeindex { |
| 901 | header "typeindex" |
| 902 | export * |
| 903 | } |
| 904 | module typeinfo { |
| 905 | header "typeinfo" |
| 906 | export * |
| 907 | } |
| 908 | module unordered_map { |
| 909 | header "unordered_map" |
| 910 | export initializer_list |
| 911 | export * |
| 912 | } |
| 913 | module unordered_set { |
| 914 | header "unordered_set" |
| 915 | export initializer_list |
| 916 | export * |
| 917 | } |
| 918 | module utility { |
| 919 | header "utility" |
| 920 | export initializer_list |
| 921 | export * |
Christopher Di Bella | 02fbd4e | 2021-06-12 06:13:44 +0000 | [diff] [blame] | 922 | |
| 923 | module __utility { |
Arthur O'Dwyer | 89cb8d8 | 2021-12-05 18:56:58 -0500 | [diff] [blame] | 924 | module as_const { private header "__utility/as_const.h" } |
Arthur O'Dwyer | 423e14b | 2021-12-13 19:21:38 -0500 | [diff] [blame] | 925 | module auto_cast { private header "__utility/auto_cast.h" } |
Arthur O'Dwyer | 89cb8d8 | 2021-12-05 18:56:58 -0500 | [diff] [blame] | 926 | module cmp { private header "__utility/cmp.h" } |
Arthur O'Dwyer | 89cb8d8 | 2021-12-05 18:56:58 -0500 | [diff] [blame] | 927 | module declval { private header "__utility/declval.h" } |
| 928 | module exchange { private header "__utility/exchange.h" } |
| 929 | module forward { private header "__utility/forward.h" } |
| 930 | module in_place { private header "__utility/in_place.h" } |
| 931 | module integer_sequence { private header "__utility/integer_sequence.h" } |
| 932 | module move { private header "__utility/move.h" } |
| 933 | module pair { private header "__utility/pair.h" } |
Christopher Di Bella | 60fc660 | 2021-07-13 19:44:07 +0000 | [diff] [blame] | 934 | module piecewise_construct { private header "__utility/piecewise_construct.h" } |
Arthur O'Dwyer | 89cb8d8 | 2021-12-05 18:56:58 -0500 | [diff] [blame] | 935 | module priority_tag { private header "__utility/priority_tag.h" } |
| 936 | module rel_ops { private header "__utility/rel_ops.h" } |
| 937 | module swap { private header "__utility/swap.h" } |
| 938 | module to_underlying { private header "__utility/to_underlying.h" } |
Louis Dionne | d9db498 | 2021-12-14 10:18:19 -0500 | [diff] [blame] | 939 | module transaction { private header "__utility/transaction.h" } |
Christopher Di Bella | 02fbd4e | 2021-06-12 06:13:44 +0000 | [diff] [blame] | 940 | } |
Richard Smith | 31cfef0 | 2014-05-21 00:33:49 +0000 | [diff] [blame] | 941 | } |
| 942 | module valarray { |
| 943 | header "valarray" |
| 944 | export initializer_list |
| 945 | export * |
| 946 | } |
Eric Fiselier | 006458b | 2016-12-05 23:33:19 +0000 | [diff] [blame] | 947 | module variant { |
| 948 | header "variant" |
| 949 | export * |
Mark de Wever | 3b26975 | 2021-07-07 21:27:27 +0200 | [diff] [blame] | 950 | |
| 951 | module __variant { |
Christopher Di Bella | 60fc660 | 2021-07-13 19:44:07 +0000 | [diff] [blame] | 952 | module monostate { private header "__variant/monostate.h" } |
Mark de Wever | 3b26975 | 2021-07-07 21:27:27 +0200 | [diff] [blame] | 953 | } |
Eric Fiselier | 006458b | 2016-12-05 23:33:19 +0000 | [diff] [blame] | 954 | } |
Richard Smith | 31cfef0 | 2014-05-21 00:33:49 +0000 | [diff] [blame] | 955 | module vector { |
| 956 | header "vector" |
| 957 | export initializer_list |
| 958 | export * |
| 959 | } |
Eric Fiselier | a604a7d | 2018-04-04 04:21:54 +0000 | [diff] [blame] | 960 | module version { |
| 961 | header "version" |
| 962 | export * |
| 963 | } |
Richard Smith | 31cfef0 | 2014-05-21 00:33:49 +0000 | [diff] [blame] | 964 | |
Christopher Di Bella | 02fbd4e | 2021-06-12 06:13:44 +0000 | [diff] [blame] | 965 | // __config not modularised due to a bug in Clang |
Richard Smith | 31cfef0 | 2014-05-21 00:33:49 +0000 | [diff] [blame] | 966 | // FIXME: These should be private. |
Christopher Di Bella | 60fc660 | 2021-07-13 19:44:07 +0000 | [diff] [blame] | 967 | module __availability { private header "__availability" export * } |
| 968 | module __bit_reference { private header "__bit_reference" export * } |
| 969 | module __bits { private header "__bits" export * } |
Arthur O'Dwyer | 33f2e93 | 2021-12-05 13:21:01 -0500 | [diff] [blame] | 970 | module __debug { header "__debug" export * } |
Christopher Di Bella | 60fc660 | 2021-07-13 19:44:07 +0000 | [diff] [blame] | 971 | module __errc { private header "__errc" export * } |
| 972 | module __function_like { private header "__function_like.h" export * } |
Arthur O'Dwyer | 33f2e93 | 2021-12-05 13:21:01 -0500 | [diff] [blame] | 973 | module __hash_table { header "__hash_table" export * } |
Christopher Di Bella | 60fc660 | 2021-07-13 19:44:07 +0000 | [diff] [blame] | 974 | module __locale { private header "__locale" export * } |
Louis Dionne | 8925814 | 2021-08-23 15:32:36 -0400 | [diff] [blame] | 975 | module __mbstate { private header "__mbstate_t.h" export * } |
Christopher Di Bella | 60fc660 | 2021-07-13 19:44:07 +0000 | [diff] [blame] | 976 | module __mutex_base { private header "__mutex_base" export * } |
| 977 | module __node_handle { private header "__node_handle" export * } |
Arthur O'Dwyer | 33f2e93 | 2021-12-05 13:21:01 -0500 | [diff] [blame] | 978 | module __nullptr { header "__nullptr" export * } |
Christopher Di Bella | 60fc660 | 2021-07-13 19:44:07 +0000 | [diff] [blame] | 979 | module __split_buffer { private header "__split_buffer" export * } |
| 980 | module __std_stream { private header "__std_stream" export * } |
| 981 | module __string { private header "__string" export * } |
Arthur O'Dwyer | 33f2e93 | 2021-12-05 13:21:01 -0500 | [diff] [blame] | 982 | module __threading_support { header "__threading_support" export * } |
| 983 | module __tree { header "__tree" export * } |
Christopher Di Bella | 60fc660 | 2021-07-13 19:44:07 +0000 | [diff] [blame] | 984 | module __tuple { private header "__tuple" export * } |
Arthur O'Dwyer | 33f2e93 | 2021-12-05 13:21:01 -0500 | [diff] [blame] | 985 | module __undef_macros { header "__undef_macros" export * } |
Eric Fiselier | b5b9e82 | 2016-12-05 23:55:34 +0000 | [diff] [blame] | 986 | |
| 987 | module experimental { |
Eric Fiselier | 92ae1af | 2016-12-06 01:34:24 +0000 | [diff] [blame] | 988 | requires cplusplus11 |
| 989 | |
Eric Fiselier | b5b9e82 | 2016-12-05 23:55:34 +0000 | [diff] [blame] | 990 | module algorithm { |
| 991 | header "experimental/algorithm" |
| 992 | export * |
| 993 | } |
Eric Fiselier | f042615 | 2017-05-25 23:39:29 +0000 | [diff] [blame] | 994 | module coroutine { |
Eric Fiselier | e4a3dab | 2017-05-29 23:17:28 +0000 | [diff] [blame] | 995 | requires coroutines |
Eric Fiselier | f042615 | 2017-05-25 23:39:29 +0000 | [diff] [blame] | 996 | header "experimental/coroutine" |
| 997 | export * |
| 998 | } |
Eric Fiselier | b5b9e82 | 2016-12-05 23:55:34 +0000 | [diff] [blame] | 999 | module deque { |
| 1000 | header "experimental/deque" |
| 1001 | export * |
| 1002 | } |
Eric Fiselier | b5b9e82 | 2016-12-05 23:55:34 +0000 | [diff] [blame] | 1003 | module filesystem { |
| 1004 | header "experimental/filesystem" |
| 1005 | export * |
| 1006 | } |
| 1007 | module forward_list { |
| 1008 | header "experimental/forward_list" |
| 1009 | export * |
| 1010 | } |
| 1011 | module functional { |
| 1012 | header "experimental/functional" |
| 1013 | export * |
| 1014 | } |
| 1015 | module iterator { |
| 1016 | header "experimental/iterator" |
| 1017 | export * |
| 1018 | } |
| 1019 | module list { |
| 1020 | header "experimental/list" |
| 1021 | export * |
| 1022 | } |
| 1023 | module map { |
| 1024 | header "experimental/map" |
| 1025 | export * |
| 1026 | } |
| 1027 | module memory_resource { |
| 1028 | header "experimental/memory_resource" |
| 1029 | export * |
| 1030 | } |
Eric Fiselier | b5b9e82 | 2016-12-05 23:55:34 +0000 | [diff] [blame] | 1031 | module propagate_const { |
| 1032 | header "experimental/propagate_const" |
| 1033 | export * |
| 1034 | } |
Eric Fiselier | b5b9e82 | 2016-12-05 23:55:34 +0000 | [diff] [blame] | 1035 | module regex { |
| 1036 | header "experimental/regex" |
| 1037 | export * |
| 1038 | } |
Tim Shen | 158e51b | 2018-04-23 21:54:06 +0000 | [diff] [blame] | 1039 | module simd { |
| 1040 | header "experimental/simd" |
| 1041 | export * |
| 1042 | } |
Eric Fiselier | b5b9e82 | 2016-12-05 23:55:34 +0000 | [diff] [blame] | 1043 | module set { |
| 1044 | header "experimental/set" |
| 1045 | export * |
| 1046 | } |
Marshall Clow | d2ad87e | 2018-07-24 03:01:02 +0000 | [diff] [blame] | 1047 | module span { |
| 1048 | header "span" |
| 1049 | export * |
| 1050 | } |
Eric Fiselier | b5b9e82 | 2016-12-05 23:55:34 +0000 | [diff] [blame] | 1051 | module string { |
| 1052 | header "experimental/string" |
| 1053 | export * |
| 1054 | } |
Eric Fiselier | b5b9e82 | 2016-12-05 23:55:34 +0000 | [diff] [blame] | 1055 | module type_traits { |
| 1056 | header "experimental/type_traits" |
| 1057 | export * |
| 1058 | } |
| 1059 | module unordered_map { |
| 1060 | header "experimental/unordered_map" |
| 1061 | export * |
| 1062 | } |
| 1063 | module unordered_set { |
| 1064 | header "experimental/unordered_set" |
| 1065 | export * |
| 1066 | } |
| 1067 | module utility { |
| 1068 | header "experimental/utility" |
| 1069 | export * |
| 1070 | } |
| 1071 | module vector { |
| 1072 | header "experimental/vector" |
| 1073 | export * |
| 1074 | } |
| 1075 | // FIXME these should be private |
| 1076 | module __memory { |
| 1077 | header "experimental/__memory" |
| 1078 | export * |
| 1079 | } |
| 1080 | } // end experimental |
Richard Smith | 31cfef0 | 2014-05-21 00:33:49 +0000 | [diff] [blame] | 1081 | } |