1// This module contains headers related to the configuration of the library. These headers 2// are free of any dependency on the rest of libc++. 3module std_config [system] { 4 // generated via CMake 5 textual header "__config" 6 textual header "__configuration/abi.h" 7 textual header "__configuration/availability.h" 8 textual header "__configuration/compiler.h" 9 textual header "__configuration/language.h" 10 textual header "__configuration/platform.h" 11 textual header "version" 12} 13 14module std_core [system] { 15 module cstddef { 16 module byte { header "__cstddef/byte.h" } 17 module max_align_t { 18 header "__cstddef/max_align_t.h" 19 export * 20 } 21 module nullptr_t { header "__cstddef/nullptr_t.h" } 22 module ptrdiff_t { header "__cstddef/ptrdiff_t.h" } 23 module size_t { header "__cstddef/size_t.h" } 24 } 25 26 module cstdint { 27 header "cstdint" 28 export * 29 } 30 31 module fwd { 32 module byte { header "__fwd/byte.h" } 33 module functional { header "__fwd/functional.h" } 34 module pair { header "__fwd/pair.h" } 35 module tuple { header "__fwd/tuple.h" } 36 } 37 38 module limits { 39 header "limits" 40 export * 41 } 42 43 module math { 44 module abs { header "__math/abs.h" } 45 module copysign { header "__math/copysign.h" } 46 module error_functions { header "__math/error_functions.h" } 47 module exponential_functions { header "__math/exponential_functions.h" } 48 module fdim { header "__math/fdim.h" } 49 module fma { header "__math/fma.h" } 50 module gamma { header "__math/gamma.h" } 51 module hyperbolic_functions { header "__math/hyperbolic_functions.h" } 52 module hypot { header "__math/hypot.h" } 53 module inverse_hyperbolic_functions { header "__math/inverse_hyperbolic_functions.h" } 54 module inverse_trigonometric_functions { header "__math/inverse_trigonometric_functions.h" } 55 module logarithms { header "__math/logarithms.h" } 56 module min_max { header "__math/min_max.h" } 57 module modulo { header "__math/modulo.h" } 58 module remainder { header "__math/remainder.h" } 59 module roots { header "__math/roots.h" } 60 module rounding_functions { header "__math/rounding_functions.h" } 61 module special_functions { header "__math/special_functions.h" } 62 module traits { header "__math/traits.h" } 63 module trigonometric_functions { header "__math/trigonometric_functions.h" } 64 } 65 66 module type_traits { 67 module add_cv_quals { header "__type_traits/add_cv_quals.h" } 68 module add_pointer { header "__type_traits/add_pointer.h" } 69 module add_reference { header "__type_traits/add_reference.h" } 70 module aligned_storage { header "__type_traits/aligned_storage.h" } 71 module aligned_union { header "__type_traits/aligned_union.h" } 72 module alignment_of { header "__type_traits/alignment_of.h" } 73 module can_extract_key { header "__type_traits/can_extract_key.h" } 74 module common_reference { header "__type_traits/common_reference.h" } 75 module common_type { 76 header "__type_traits/common_type.h" 77 // We need to export those because common_type inherits from either of those based on __builtin_common_type. 78 export std_core.type_traits.type_identity 79 export std_core.utility_core.empty 80 } 81 module conditional { header "__type_traits/conditional.h" } 82 module conjunction { header "__type_traits/conjunction.h" } 83 module container_traits { header "__type_traits/container_traits.h" } 84 module copy_cv { header "__type_traits/copy_cv.h" } 85 module copy_cvref { header "__type_traits/copy_cvref.h" } 86 module datasizeof { header "__type_traits/datasizeof.h" } 87 module decay { header "__type_traits/decay.h" } 88 module dependent_type { header "__type_traits/dependent_type.h" } 89 module desugars_to { header "__type_traits/desugars_to.h" } 90 module detected_or { header "__type_traits/detected_or.h" } 91 module disjunction { header "__type_traits/disjunction.h" } 92 module enable_if { header "__type_traits/enable_if.h" } 93 module extent { header "__type_traits/extent.h" } 94 module has_unique_object_representation { header "__type_traits/has_unique_object_representation.h" } 95 module has_virtual_destructor { header "__type_traits/has_virtual_destructor.h" } 96 module integer_traits { header "__type_traits/integer_traits.h" } 97 module integral_constant { header "__type_traits/integral_constant.h" } 98 module invoke { header "__type_traits/invoke.h" } 99 module is_abstract { 100 header "__type_traits/is_abstract.h" 101 export std_core.type_traits.integral_constant 102 } 103 module is_aggregate { 104 header "__type_traits/is_aggregate.h" 105 export std_core.type_traits.integral_constant 106 } 107 module is_allocator { 108 header "__type_traits/is_allocator.h" 109 export std_core.type_traits.integral_constant 110 } 111 module is_always_bitcastable { 112 header "__type_traits/is_always_bitcastable.h" 113 export std_core.type_traits.integral_constant 114 } 115 module is_arithmetic { 116 header "__type_traits/is_arithmetic.h" 117 export std_core.type_traits.integral_constant 118 } 119 module is_array { 120 header "__type_traits/is_array.h" 121 export std_core.type_traits.integral_constant 122 } 123 module is_assignable { 124 header "__type_traits/is_assignable.h" 125 export std_core.type_traits.integral_constant 126 } 127 module is_base_of { 128 header "__type_traits/is_base_of.h" 129 export std_core.type_traits.integral_constant 130 } 131 module is_bounded_array { 132 header "__type_traits/is_bounded_array.h" 133 export std_core.type_traits.integral_constant 134 } 135 module is_callable { 136 header "__type_traits/is_callable.h" 137 export std_core.type_traits.integral_constant 138 } 139 module is_char_like_type { 140 header "__type_traits/is_char_like_type.h" 141 export std_core.type_traits.integral_constant 142 } 143 module is_class { 144 header "__type_traits/is_class.h" 145 export std_core.type_traits.integral_constant 146 } 147 module is_compound { 148 header "__type_traits/is_compound.h" 149 export std_core.type_traits.integral_constant 150 } 151 module is_const { 152 header "__type_traits/is_const.h" 153 export std_core.type_traits.integral_constant 154 } 155 module is_constant_evaluated { 156 header "__type_traits/is_constant_evaluated.h" 157 export std_core.type_traits.integral_constant 158 } 159 module is_constructible { 160 header "__type_traits/is_constructible.h" 161 export std_core.type_traits.integral_constant 162 } 163 module is_convertible { 164 header "__type_traits/is_convertible.h" 165 export std_core.type_traits.integral_constant 166 } 167 module is_core_convertible { 168 header "__type_traits/is_core_convertible.h" 169 export std_core.type_traits.integral_constant 170 } 171 module is_destructible { 172 header "__type_traits/is_destructible.h" 173 export std_core.type_traits.integral_constant 174 } 175 module is_empty { 176 header "__type_traits/is_empty.h" 177 export std_core.type_traits.integral_constant 178 } 179 module is_enum { 180 header "__type_traits/is_enum.h" 181 export std_core.type_traits.integral_constant 182 } 183 module is_equality_comparable { 184 header "__type_traits/is_equality_comparable.h" 185 export std_core.type_traits.integral_constant 186 } 187 module is_execution_policy { 188 header "__type_traits/is_execution_policy.h" 189 export std_core.type_traits.integral_constant 190 } 191 module is_final { 192 header "__type_traits/is_final.h" 193 export std_core.type_traits.integral_constant 194 } 195 module is_floating_point { 196 header "__type_traits/is_floating_point.h" 197 export std_core.type_traits.integral_constant 198 } 199 module is_function { 200 header "__type_traits/is_function.h" 201 export std_core.type_traits.integral_constant 202 } 203 module is_fundamental { 204 header "__type_traits/is_fundamental.h" 205 export std_core.type_traits.integral_constant 206 } 207 module is_implicit_lifetime { 208 header "__type_traits/is_implicit_lifetime.h" 209 export std_core.type_traits.integral_constant 210 } 211 module is_implicitly_default_constructible { 212 header "__type_traits/is_implicitly_default_constructible.h" 213 export std_core.type_traits.integral_constant 214 } 215 module is_integral { 216 header "__type_traits/is_integral.h" 217 export std_core.type_traits.integral_constant 218 } 219 module is_literal_type { 220 header "__type_traits/is_literal_type.h" 221 export std_core.type_traits.integral_constant 222 } 223 module is_member_pointer { 224 header "__type_traits/is_member_pointer.h" 225 export std_core.type_traits.integral_constant 226 } 227 module is_nothrow_assignable { 228 header "__type_traits/is_nothrow_assignable.h" 229 export std_core.type_traits.integral_constant 230 } 231 module is_nothrow_constructible { 232 header "__type_traits/is_nothrow_constructible.h" 233 export std_core.type_traits.integral_constant 234 } 235 module is_nothrow_destructible { 236 header "__type_traits/is_nothrow_destructible.h" 237 export std_core.type_traits.integral_constant 238 } 239 module is_null_pointer { 240 header "__type_traits/is_null_pointer.h" 241 export std_core.type_traits.integral_constant 242 } 243 module is_object { 244 header "__type_traits/is_object.h" 245 export std_core.type_traits.integral_constant 246 } 247 module is_pod { 248 header "__type_traits/is_pod.h" 249 export std_core.type_traits.integral_constant 250 } 251 module is_pointer { 252 header "__type_traits/is_pointer.h" 253 export std_core.type_traits.integral_constant 254 } 255 module is_polymorphic { 256 header "__type_traits/is_polymorphic.h" 257 export std_core.type_traits.integral_constant 258 } 259 module is_primary_template { 260 header "__type_traits/is_primary_template.h" 261 export std_core.type_traits.integral_constant 262 } 263 module is_reference_wrapper { 264 header "__type_traits/is_reference_wrapper.h" 265 export std_core.type_traits.integral_constant 266 } 267 module is_reference { 268 header "__type_traits/is_reference.h" 269 export std_core.type_traits.integral_constant 270 } 271 module is_referenceable { 272 header "__type_traits/is_referenceable.h" 273 export std_core.type_traits.integral_constant 274 } 275 module is_replaceable { 276 header "__type_traits/is_replaceable.h" 277 export std_core.type_traits.integral_constant 278 } 279 module is_same { 280 header "__type_traits/is_same.h" 281 export std_core.type_traits.integral_constant 282 } 283 module is_scalar { 284 header "__type_traits/is_scalar.h" 285 export std_core.type_traits.integral_constant 286 } 287 module is_signed { 288 header "__type_traits/is_signed.h" 289 export std_core.type_traits.integral_constant 290 } 291 module is_specialization { 292 header "__type_traits/is_specialization.h" 293 export std_core.type_traits.integral_constant 294 } 295 module is_standard_layout { 296 header "__type_traits/is_standard_layout.h" 297 export std_core.type_traits.integral_constant 298 } 299 module is_swappable { 300 header "__type_traits/is_swappable.h" 301 export std_core.type_traits.integral_constant 302 } 303 module is_trivial { 304 header "__type_traits/is_trivial.h" 305 export std_core.type_traits.integral_constant 306 } 307 module is_trivially_assignable { 308 header "__type_traits/is_trivially_assignable.h" 309 export std_core.type_traits.integral_constant 310 } 311 module is_trivially_constructible { 312 header "__type_traits/is_trivially_constructible.h" 313 export std_core.type_traits.integral_constant 314 } 315 module is_trivially_copyable { 316 header "__type_traits/is_trivially_copyable.h" 317 export std_core.type_traits.integral_constant 318 } 319 module is_trivially_destructible { 320 header "__type_traits/is_trivially_destructible.h" 321 export std_core.type_traits.integral_constant 322 } 323 module is_trivially_lexicographically_comparable { 324 header "__type_traits/is_trivially_lexicographically_comparable.h" 325 export std_core.type_traits.integral_constant 326 } 327 module is_trivially_relocatable { 328 header "__type_traits/is_trivially_relocatable.h" 329 export std_core.type_traits.integral_constant 330 } 331 module is_unbounded_array { 332 header "__type_traits/is_unbounded_array.h" 333 export std_core.type_traits.integral_constant 334 } 335 module is_union { 336 header "__type_traits/is_union.h" 337 export std_core.type_traits.integral_constant 338 } 339 module is_unsigned { 340 header "__type_traits/is_unsigned.h" 341 export std_core.type_traits.integral_constant 342 } 343 module is_valid_expansion { 344 header "__type_traits/is_valid_expansion.h" 345 export std_core.type_traits.integral_constant 346 } 347 module is_void { 348 header "__type_traits/is_void.h" 349 export std_core.type_traits.integral_constant 350 } 351 module is_volatile { 352 header "__type_traits/is_volatile.h" 353 export std_core.type_traits.integral_constant 354 } 355 module lazy { header "__type_traits/lazy.h" } 356 module make_32_64_or_128_bit { header "__type_traits/make_32_64_or_128_bit.h" } 357 module make_const_lvalue_ref { header "__type_traits/make_const_lvalue_ref.h" } 358 module make_signed { header "__type_traits/make_signed.h" } 359 module make_unsigned { header "__type_traits/make_unsigned.h" } 360 module maybe_const { header "__type_traits/maybe_const.h" } 361 module nat { header "__type_traits/nat.h" } 362 module negation { header "__type_traits/negation.h" } 363 module promote { header "__type_traits/promote.h" } 364 module rank { header "__type_traits/rank.h" } 365 module reference_constructs_from_temporary { 366 header "__type_traits/reference_constructs_from_temporary.h" 367 export std_core.type_traits.integral_constant 368 } 369 module reference_converts_from_temporary { 370 header "__type_traits/reference_converts_from_temporary.h" 371 export std_core.type_traits.integral_constant 372 } 373 module remove_all_extents { header "__type_traits/remove_all_extents.h" } 374 module remove_const_ref { header "__type_traits/remove_const_ref.h" } 375 module remove_const { header "__type_traits/remove_const.h" } 376 module remove_cv { header "__type_traits/remove_cv.h" } 377 module remove_cvref { header "__type_traits/remove_cvref.h" } 378 module remove_extent { header "__type_traits/remove_extent.h" } 379 module remove_pointer { header "__type_traits/remove_pointer.h" } 380 module remove_reference { header "__type_traits/remove_reference.h" } 381 module remove_volatile { header "__type_traits/remove_volatile.h" } 382 module result_of { header "__type_traits/result_of.h" } 383 module strip_signature { header "__type_traits/strip_signature.h" } 384 module type_identity { header "__type_traits/type_identity.h" } 385 module type_list { header "__type_traits/type_list.h" } 386 module underlying_type { header "__type_traits/underlying_type.h" } 387 module unwrap_ref { header "__type_traits/unwrap_ref.h" } 388 module void_t { header "__type_traits/void_t.h" } 389 390 header "type_traits" 391 export * 392 } // module type_traits 393 394 // Only the truly dependency-free parts of __utility are here 395 module utility_core { 396 module declval { header "__utility/declval.h" } 397 module empty { header "__utility/empty.h" } 398 module forward { header "__utility/forward.h" } 399 } 400} // module std_core 401 402module std [system] { 403 module algorithm { 404 module adjacent_find { header "__algorithm/adjacent_find.h" } 405 module all_of { header "__algorithm/all_of.h" } 406 module any_of { header "__algorithm/any_of.h" } 407 module binary_search { header "__algorithm/binary_search.h" } 408 module clamp { header "__algorithm/clamp.h" } 409 module comp_ref_type { header "__algorithm/comp_ref_type.h" } 410 module comp { header "__algorithm/comp.h" } 411 module copy_backward { header "__algorithm/copy_backward.h" } 412 module copy_if { header "__algorithm/copy_if.h" } 413 module copy_move_common { header "__algorithm/copy_move_common.h" } 414 module copy_n { 415 header "__algorithm/copy_n.h" 416 export std.iterator_traits 417 } 418 module copy { header "__algorithm/copy.h" } 419 module count_if { header "__algorithm/count_if.h" } 420 module count { header "__algorithm/count.h" } 421 module equal_range { header "__algorithm/equal_range.h" } 422 module equal { header "__algorithm/equal.h" } 423 module fill_n { header "__algorithm/fill_n.h" } 424 module fill { header "__algorithm/fill.h" } 425 module find_end { header "__algorithm/find_end.h" } 426 module find_first_of { header "__algorithm/find_first_of.h" } 427 module find_if_not { header "__algorithm/find_if_not.h" } 428 module find_if { header "__algorithm/find_if.h" } 429 module find_segment_if { header "__algorithm/find_segment_if.h" } 430 module find { header "__algorithm/find.h" } 431 module for_each_n { header "__algorithm/for_each_n.h" } 432 module for_each_n_segment { header "__algorithm/for_each_n_segment.h" } 433 module for_each_segment { header "__algorithm/for_each_segment.h" } 434 module for_each { header "__algorithm/for_each.h" } 435 module generate_n { header "__algorithm/generate_n.h" } 436 module generate { header "__algorithm/generate.h" } 437 module half_positive { header "__algorithm/half_positive.h" } 438 module in_found_result { header "__algorithm/in_found_result.h" } 439 module in_fun_result { header "__algorithm/in_fun_result.h" } 440 module in_in_out_result { header "__algorithm/in_in_out_result.h" } 441 module in_in_result { header "__algorithm/in_in_result.h" } 442 module in_out_out_result { header "__algorithm/in_out_out_result.h" } 443 module in_out_result { header "__algorithm/in_out_result.h" } 444 module includes { header "__algorithm/includes.h" } 445 module inplace_merge { header "__algorithm/inplace_merge.h" } 446 module is_heap_until { header "__algorithm/is_heap_until.h" } 447 module is_heap { header "__algorithm/is_heap.h" } 448 module is_partitioned { header "__algorithm/is_partitioned.h" } 449 module is_permutation { header "__algorithm/is_permutation.h" } 450 module is_sorted_until { header "__algorithm/is_sorted_until.h" } 451 module is_sorted { header "__algorithm/is_sorted.h" } 452 module iter_swap { header "__algorithm/iter_swap.h" } 453 module iterator_operations { 454 header "__algorithm/iterator_operations.h" 455 export std.iterator.advance 456 export std.iterator.distance 457 export std.iterator.iter_move 458 export std.iterator.iter_swap 459 export std.iterator.next 460 export std.iterator.prev 461 } 462 module lexicographical_compare_three_way { header "__algorithm/lexicographical_compare_three_way.h" } 463 module lexicographical_compare { header "__algorithm/lexicographical_compare.h" } 464 module lower_bound { header "__algorithm/lower_bound.h" } 465 module make_heap { header "__algorithm/make_heap.h" } 466 module make_projected { header "__algorithm/make_projected.h" } 467 module max_element { header "__algorithm/max_element.h" } 468 module max { header "__algorithm/max.h" } 469 module merge { header "__algorithm/merge.h" } 470 module min_element { header "__algorithm/min_element.h" } 471 module min_max_result { header "__algorithm/min_max_result.h" } 472 module min { header "__algorithm/min.h" } 473 module minmax_element { header "__algorithm/minmax_element.h" } 474 module minmax { 475 header "__algorithm/minmax.h" 476 export std.utility.pair // return type 477 } 478 module mismatch { 479 header "__algorithm/mismatch.h" 480 export std.utility.pair // return type 481 } 482 module move_backward { header "__algorithm/move_backward.h" } 483 module move { header "__algorithm/move.h" } 484 module next_permutation { header "__algorithm/next_permutation.h" } 485 module none_of { header "__algorithm/none_of.h" } 486 module nth_element { header "__algorithm/nth_element.h" } 487 module out_value_result { header "__algorithm/out_value_result.h" } 488 module partial_sort_copy { header "__algorithm/partial_sort_copy.h" } 489 module partial_sort { header "__algorithm/partial_sort.h" } 490 module partition_copy { header "__algorithm/partition_copy.h" } 491 module partition_point { header "__algorithm/partition_point.h" } 492 module partition { header "__algorithm/partition.h" } 493 module pop_heap { header "__algorithm/pop_heap.h" } 494 module prev_permutation { header "__algorithm/prev_permutation.h" } 495 module pstl { header "__algorithm/pstl.h" } 496 module push_heap { header "__algorithm/push_heap.h" } 497 module radix_sort { header "__algorithm/radix_sort.h" } 498 module ranges_adjacent_find { header "__algorithm/ranges_adjacent_find.h" } 499 module ranges_all_of { header "__algorithm/ranges_all_of.h" } 500 module ranges_any_of { header "__algorithm/ranges_any_of.h" } 501 module ranges_binary_search { 502 header "__algorithm/ranges_binary_search.h" 503 export std.functional.ranges_operations 504 } 505 module ranges_clamp { 506 header "__algorithm/ranges_clamp.h" 507 export std.functional.ranges_operations 508 } 509 module ranges_contains_subrange { 510 header "__algorithm/ranges_contains_subrange.h" 511 } 512 module ranges_contains { 513 header "__algorithm/ranges_contains.h" 514 } 515 module ranges_copy_backward { 516 header "__algorithm/ranges_copy_backward.h" 517 export std.algorithm.in_out_result 518 } 519 module ranges_copy_if { 520 header "__algorithm/ranges_copy_if.h" 521 export std.algorithm.in_out_result 522 } 523 module ranges_copy_n { 524 header "__algorithm/ranges_copy_n.h" 525 export std.algorithm.in_out_result 526 } 527 module ranges_copy { 528 header "__algorithm/ranges_copy.h" 529 export std.algorithm.in_out_result 530 } 531 module ranges_count_if { header "__algorithm/ranges_count_if.h" } 532 module ranges_count { header "__algorithm/ranges_count.h" } 533 module ranges_ends_with { header "__algorithm/ranges_ends_with.h" } 534 module ranges_equal_range { 535 header "__algorithm/ranges_equal_range.h" 536 export std.functional.ranges_operations 537 } 538 module ranges_equal { 539 header "__algorithm/ranges_equal.h" 540 export std.functional.identity 541 } 542 module ranges_fill_n { header "__algorithm/ranges_fill_n.h" } 543 module ranges_fill { header "__algorithm/ranges_fill.h" } 544 module ranges_find_end { 545 header "__algorithm/ranges_find_end.h" 546 export std.ranges.subrange // return type 547 } 548 module ranges_find_first_of { header "__algorithm/ranges_find_first_of.h" } 549 module ranges_find_if_not { header "__algorithm/ranges_find_if_not.h" } 550 module ranges_find_if { header "__algorithm/ranges_find_if.h" } 551 module ranges_find_last { 552 header "__algorithm/ranges_find_last.h" 553 export std.ranges.subrange // return type 554 } 555 module ranges_find { header "__algorithm/ranges_find.h" } 556 module ranges_fold { header "__algorithm/ranges_fold.h" } 557 module ranges_for_each_n { 558 header "__algorithm/ranges_for_each_n.h" 559 export std.algorithm.in_fun_result 560 } 561 module ranges_for_each { 562 header "__algorithm/ranges_for_each.h" 563 export std.algorithm.in_fun_result 564 } 565 module ranges_generate_n { 566 header "__algorithm/ranges_generate_n.h" 567 } 568 module ranges_generate { 569 header "__algorithm/ranges_generate.h" 570 } 571 module ranges_includes { 572 header "__algorithm/ranges_includes.h" 573 export std.functional.ranges_operations 574 } 575 module ranges_inplace_merge { 576 header "__algorithm/ranges_inplace_merge.h" 577 export std.functional.ranges_operations 578 } 579 module ranges_is_heap_until { 580 header "__algorithm/ranges_is_heap_until.h" 581 export std.functional.ranges_operations 582 } 583 module ranges_is_heap { 584 header "__algorithm/ranges_is_heap.h" 585 export std.functional.ranges_operations 586 } 587 module ranges_is_partitioned { 588 header "__algorithm/ranges_is_partitioned.h" 589 } 590 module ranges_is_permutation { 591 header "__algorithm/ranges_is_permutation.h" 592 } 593 module ranges_is_sorted_until { 594 header "__algorithm/ranges_is_sorted_until.h" 595 export std.functional.ranges_operations 596 } 597 module ranges_is_sorted { 598 header "__algorithm/ranges_is_sorted.h" 599 export std.functional.ranges_operations 600 } 601 module ranges_iterator_concept { 602 header "__algorithm/ranges_iterator_concept.h" 603 } 604 module ranges_lexicographical_compare { 605 header "__algorithm/ranges_lexicographical_compare.h" 606 export std.functional.ranges_operations 607 } 608 module ranges_lower_bound { 609 header "__algorithm/ranges_lower_bound.h" 610 export std.functional.ranges_operations 611 } 612 module ranges_make_heap { 613 header "__algorithm/ranges_make_heap.h" 614 export std.functional.ranges_operations 615 } 616 module ranges_max_element { 617 header "__algorithm/ranges_max_element.h" 618 export std.functional.ranges_operations 619 } 620 module ranges_max { 621 header "__algorithm/ranges_max.h" 622 export std.functional.ranges_operations 623 } 624 module ranges_merge { 625 header "__algorithm/ranges_merge.h" 626 export std.functional.ranges_operations 627 export std.algorithm.in_in_out_result 628 } 629 module ranges_min_element { 630 header "__algorithm/ranges_min_element.h" 631 export std.functional.ranges_operations 632 } 633 module ranges_min { 634 header "__algorithm/ranges_min.h" 635 export std.functional.ranges_operations 636 } 637 module ranges_minmax_element { 638 header "__algorithm/ranges_minmax_element.h" 639 export std.functional.ranges_operations 640 export std.algorithm.min_max_result 641 } 642 module ranges_minmax { 643 header "__algorithm/ranges_minmax.h" 644 export std.functional.ranges_operations 645 export std.algorithm.min_max_result 646 } 647 module ranges_mismatch { 648 header "__algorithm/ranges_mismatch.h" 649 export std.algorithm.in_in_result 650 } 651 module ranges_move_backward { 652 header "__algorithm/ranges_move_backward.h" 653 export std.algorithm.in_out_result 654 } 655 module ranges_move { 656 header "__algorithm/ranges_move.h" 657 export std.algorithm.in_out_result 658 } 659 module ranges_next_permutation { 660 header "__algorithm/ranges_next_permutation.h" 661 export std.functional.ranges_operations 662 export std.algorithm.in_found_result 663 } 664 module ranges_none_of { 665 header "__algorithm/ranges_none_of.h" 666 } 667 module ranges_nth_element { 668 header "__algorithm/ranges_nth_element.h" 669 export std.functional.ranges_operations 670 } 671 module ranges_partial_sort_copy { 672 header "__algorithm/ranges_partial_sort_copy.h" 673 export std.functional.ranges_operations 674 } 675 module ranges_partial_sort { 676 header "__algorithm/ranges_partial_sort.h" 677 export std.functional.ranges_operations 678 } 679 module ranges_partition_copy { 680 header "__algorithm/ranges_partition_copy.h" 681 export std.algorithm.in_out_out_result 682 } 683 module ranges_partition_point { 684 header "__algorithm/ranges_partition_point.h" 685 } 686 module ranges_partition { 687 header "__algorithm/ranges_partition.h" 688 export std.ranges.subrange // return type 689 } 690 module ranges_pop_heap { 691 header "__algorithm/ranges_pop_heap.h" 692 export std.functional.ranges_operations 693 } 694 module ranges_prev_permutation { 695 header "__algorithm/ranges_prev_permutation.h" 696 export std.functional.ranges_operations 697 export std.algorithm.in_found_result 698 } 699 module ranges_push_heap { 700 header "__algorithm/ranges_push_heap.h" 701 export std.functional.ranges_operations 702 } 703 module ranges_remove_copy_if { 704 header "__algorithm/ranges_remove_copy_if.h" 705 export std.algorithm.in_out_result 706 } 707 module ranges_remove_copy { 708 header "__algorithm/ranges_remove_copy.h" 709 export std.algorithm.in_out_result 710 } 711 module ranges_remove_if { 712 header "__algorithm/ranges_remove_if.h" 713 } 714 module ranges_remove { 715 header "__algorithm/ranges_remove.h" 716 export std.ranges.subrange // return type 717 } 718 module ranges_replace_copy_if { 719 header "__algorithm/ranges_replace_copy_if.h" 720 export std.algorithm.in_out_result 721 } 722 module ranges_replace_copy { 723 header "__algorithm/ranges_replace_copy.h" 724 export std.algorithm.in_out_result 725 } 726 module ranges_replace_if { 727 header "__algorithm/ranges_replace_if.h" 728 } 729 module ranges_replace { 730 header "__algorithm/ranges_replace.h" 731 } 732 module ranges_reverse_copy { 733 header "__algorithm/ranges_reverse_copy.h" 734 export std.algorithm.in_out_result 735 } 736 module ranges_reverse { 737 header "__algorithm/ranges_reverse.h" 738 } 739 module ranges_rotate_copy { 740 header "__algorithm/ranges_rotate_copy.h" 741 export std.ranges.subrange // return type 742 } 743 module ranges_rotate { header "__algorithm/ranges_rotate.h" } 744 module ranges_sample { header "__algorithm/ranges_sample.h" } 745 module ranges_search_n { 746 header "__algorithm/ranges_search_n.h" 747 export std.ranges.subrange // return type 748 } 749 module ranges_search { 750 header "__algorithm/ranges_search.h" 751 export std.ranges.subrange // return type 752 } 753 module ranges_set_difference { 754 header "__algorithm/ranges_set_difference.h" 755 export std.functional.ranges_operations 756 export std.algorithm.in_out_result 757 } 758 module ranges_set_intersection { 759 header "__algorithm/ranges_set_intersection.h" 760 export std.functional.ranges_operations 761 export std.algorithm.in_in_out_result 762 } 763 module ranges_set_symmetric_difference { 764 header "__algorithm/ranges_set_symmetric_difference.h" 765 export std.functional.ranges_operations 766 export std.algorithm.in_in_out_result 767 } 768 module ranges_set_union { 769 header "__algorithm/ranges_set_union.h" 770 export std.functional.ranges_operations 771 export std.algorithm.in_in_out_result 772 } 773 module ranges_shuffle { 774 header "__algorithm/ranges_shuffle.h" 775 } 776 module ranges_sort_heap { 777 header "__algorithm/ranges_sort_heap.h" 778 export std.functional.ranges_operations 779 } 780 module ranges_sort { 781 header "__algorithm/ranges_sort.h" 782 export std.functional.ranges_operations 783 export std.algorithm.sort 784 export std.algorithm.make_projected 785 } 786 module ranges_stable_partition { 787 header "__algorithm/ranges_stable_partition.h" 788 export std.ranges.subrange // return type 789 } 790 module ranges_stable_sort { 791 header "__algorithm/ranges_stable_sort.h" 792 export std.functional.ranges_operations 793 } 794 module ranges_starts_with { 795 header "__algorithm/ranges_starts_with.h" 796 } 797 module ranges_swap_ranges { 798 header "__algorithm/ranges_swap_ranges.h" 799 export std.algorithm.in_in_result 800 } 801 module ranges_transform { 802 header "__algorithm/ranges_transform.h" 803 export std.algorithm.in_out_result 804 export std.algorithm.in_in_out_result 805 } 806 module ranges_unique_copy { 807 header "__algorithm/ranges_unique_copy.h" 808 } 809 module ranges_unique { 810 header "__algorithm/ranges_unique.h" 811 } 812 module ranges_upper_bound { 813 header "__algorithm/ranges_upper_bound.h" 814 export std.functional.ranges_operations 815 } 816 module remove_copy_if { header "__algorithm/remove_copy_if.h" } 817 module remove_copy { header "__algorithm/remove_copy.h" } 818 module remove_if { header "__algorithm/remove_if.h" } 819 module remove { header "__algorithm/remove.h" } 820 module replace_copy_if { header "__algorithm/replace_copy_if.h" } 821 module replace_copy { header "__algorithm/replace_copy.h" } 822 module replace_if { header "__algorithm/replace_if.h" } 823 module replace { header "__algorithm/replace.h" } 824 module reverse_copy { header "__algorithm/reverse_copy.h" } 825 module reverse { header "__algorithm/reverse.h" } 826 module rotate_copy { header "__algorithm/rotate_copy.h" } 827 module rotate { header "__algorithm/rotate.h" } 828 module sample { header "__algorithm/sample.h" } 829 module search_n { header "__algorithm/search_n.h" } 830 module search { header "__algorithm/search.h" } 831 module set_difference { header "__algorithm/set_difference.h" } 832 module set_intersection { header "__algorithm/set_intersection.h" } 833 module set_symmetric_difference { header "__algorithm/set_symmetric_difference.h" } 834 module set_union { header "__algorithm/set_union.h" } 835 module shift_left { header "__algorithm/shift_left.h" } 836 module shift_right { header "__algorithm/shift_right.h" } 837 module shuffle { header "__algorithm/shuffle.h" } 838 module sift_down { header "__algorithm/sift_down.h" } 839 module simd_utils { header "__algorithm/simd_utils.h" } 840 module sort_heap { header "__algorithm/sort_heap.h" } 841 module sort { header "__algorithm/sort.h" } 842 module stable_partition { header "__algorithm/stable_partition.h" } 843 module stable_sort { 844 header "__algorithm/stable_sort.h" 845 export std.memory.unique_temporary_buffer // TODO: Workaround for https://github.com/llvm/llvm-project/issues/120108 846 } 847 module swap_ranges { header "__algorithm/swap_ranges.h" } 848 module three_way_comp_ref_type { header "__algorithm/three_way_comp_ref_type.h" } 849 module transform { header "__algorithm/transform.h" } 850 module uniform_random_bit_generator_adaptor { header "__algorithm/uniform_random_bit_generator_adaptor.h" } 851 module unique_copy { header "__algorithm/unique_copy.h" } 852 module unique { header "__algorithm/unique.h" } 853 module unwrap_iter { header "__algorithm/unwrap_iter.h" } 854 module unwrap_range { header "__algorithm/unwrap_range.h" } 855 module upper_bound { header "__algorithm/upper_bound.h" } 856 857 header "algorithm" 858 export * 859 } // module algorithm 860 861 module any { 862 header "any" 863 export * 864 } 865 866 module array { 867 module fwd { header "__fwd/array.h" } 868 869 header "array" 870 export * 871 export std.iterator.reverse_iterator 872 } 873 874 module atomic { 875 module aliases { header "__atomic/aliases.h" } 876 module atomic_flag { header "__atomic/atomic_flag.h" } 877 module atomic_init { header "__atomic/atomic_init.h" } 878 module atomic_lock_free { header "__atomic/atomic_lock_free.h" } 879 module atomic_ref { header "__atomic/atomic_ref.h" } 880 module atomic_sync { header "__atomic/atomic_sync.h" } 881 module atomic { 882 header "__atomic/atomic.h" 883 export std.atomic.atomic_base // most of std::atomic methods are defined there 884 } 885 module check_memory_order { header "__atomic/check_memory_order.h" } 886 module contention_t { header "__atomic/contention_t.h" } 887 module fence { header "__atomic/fence.h" } 888 module is_always_lock_free { header "__atomic/is_always_lock_free.h" } 889 module kill_dependency { header "__atomic/kill_dependency.h" } 890 module memory_order { header "__atomic/memory_order.h" } 891 module to_gcc_order { header "__atomic/to_gcc_order.h" } 892 893 module support { 894 header "__atomic/support.h" 895 textual header "__atomic/support/c11.h" 896 textual header "__atomic/support/gcc.h" 897 } 898 899 header "atomic" 900 export * 901 } 902 903 module barrier { 904 header "barrier" 905 export * 906 } 907 908 module bit { 909 module bit_cast { header "__bit/bit_cast.h" } 910 module bit_ceil { header "__bit/bit_ceil.h" } 911 module bit_floor { header "__bit/bit_floor.h" } 912 module bit_log2 { header "__bit/bit_log2.h" } 913 module bit_width { header "__bit/bit_width.h" } 914 module blsr { header "__bit/blsr.h" } 915 module byteswap { header "__bit/byteswap.h" } 916 module countl { header "__bit/countl.h" } 917 module countr { header "__bit/countr.h" } 918 module endian { header "__bit/endian.h" } 919 module has_single_bit { header "__bit/has_single_bit.h" } 920 module invert_if { header "__bit/invert_if.h" } 921 module popcount { header "__bit/popcount.h" } 922 module rotate { header "__bit/rotate.h" } 923 924 header "bit" 925 export * 926 } 927 928 module bitset { 929 header "bitset" 930 export * 931 } 932 933 module charconv { 934 module chars_format { header "__charconv/chars_format.h" } 935 module from_chars_floating_point { header "__charconv/from_chars_floating_point.h" } 936 module from_chars_integral { header "__charconv/from_chars_integral.h" } 937 module from_chars_result { 938 header "__charconv/from_chars_result.h" 939 export std.system_error.errc 940 } 941 module tables { header "__charconv/tables.h" } 942 module to_chars { header "__charconv/to_chars.h" } 943 module to_chars_base_10 { header "__charconv/to_chars_base_10.h" } 944 module to_chars_floating_point { header "__charconv/to_chars_floating_point.h" } 945 module to_chars_integral { 946 header "__charconv/to_chars_integral.h" 947 export std.charconv.to_chars_result 948 } 949 module to_chars_result { header "__charconv/to_chars_result.h" } 950 module traits { header "__charconv/traits.h" } 951 952 header "charconv" 953 export * 954 } 955 956 module chrono { 957 module calendar { header "__chrono/calendar.h" } 958 module concepts { header "__chrono/concepts.h" } 959 module convert_to_timespec { header "__chrono/convert_to_timespec.h" } 960 module convert_to_tm { header "__chrono/convert_to_tm.h" } 961 module day { header "__chrono/day.h" } 962 module duration { header "__chrono/duration.h" } 963 module exception { header "__chrono/exception.h" } 964 module file_clock { header "__chrono/file_clock.h" } 965 module formatter { header "__chrono/formatter.h" } 966 module gps_clock { 967 header "__chrono/gps_clock.h" 968 export std.chrono.time_point 969 } 970 module hh_mm_ss { header "__chrono/hh_mm_ss.h" } 971 module high_resolution_clock { 972 header "__chrono/high_resolution_clock.h" 973 export * 974 } 975 module leap_second { 976 header "__chrono/leap_second.h" 977 } 978 module literals { 979 header "__chrono/literals.h" 980 } 981 module local_info { 982 header "__chrono/local_info.h" 983 export std.chrono.sys_info 984 } 985 module month_weekday { header "__chrono/month_weekday.h" } 986 module month { header "__chrono/month.h" } 987 module monthday { header "__chrono/monthday.h" } 988 module ostream { header "__chrono/ostream.h" } 989 module parser_std_format_spec { header "__chrono/parser_std_format_spec.h" } 990 module statically_widen { header "__chrono/statically_widen.h" } 991 module steady_clock { 992 header "__chrono/steady_clock.h" 993 export std.chrono.time_point 994 } 995 module sys_info { 996 header "__chrono/sys_info.h" 997 } 998 module system_clock { 999 header "__chrono/system_clock.h" 1000 export std.chrono.time_point 1001 } 1002 module tai_clock { 1003 header "__chrono/tai_clock.h" 1004 export std.chrono.time_point 1005 } 1006 module time_point { header "__chrono/time_point.h" } 1007 module time_zone_link { header "__chrono/time_zone_link.h" } 1008 module time_zone { header "__chrono/time_zone.h" } 1009 module tzdb_list { 1010 header "__chrono/tzdb_list.h" 1011 export std.forward_list // forward_list iterators are used to implement this API 1012 export std.string_view // by-value argument of type std::string_view 1013 } 1014 module tzdb { 1015 header "__chrono/tzdb.h" 1016 export std.string // public data member of type std::string 1017 export std.vector // public data members of type std::vector 1018 } 1019 module utc_clock { 1020 header "__chrono/utc_clock.h" 1021 export std.chrono.time_point 1022 } 1023 module weekday { header "__chrono/weekday.h" } 1024 module year_month_day { header "__chrono/year_month_day.h" } 1025 module year_month_weekday { header "__chrono/year_month_weekday.h" } 1026 module year_month { header "__chrono/year_month.h" } 1027 module year { header "__chrono/year.h" } 1028 module zoned_time { header "__chrono/zoned_time.h" } 1029 1030 header "chrono" 1031 export * 1032 } // module chrono 1033 1034 module codecvt { 1035 header "codecvt" 1036 export * 1037 } 1038 1039 module compare { 1040 module common_comparison_category { header "__compare/common_comparison_category.h" } 1041 module compare_partial_order_fallback { header "__compare/compare_partial_order_fallback.h" } 1042 module compare_strong_order_fallback { header "__compare/compare_strong_order_fallback.h" } 1043 module compare_three_way { header "__compare/compare_three_way.h" } 1044 module compare_three_way_result { header "__compare/compare_three_way_result.h" } 1045 module compare_weak_order_fallback { header "__compare/compare_weak_order_fallback.h" } 1046 module is_eq { header "__compare/is_eq.h" } 1047 module ordering { header "__compare/ordering.h" } 1048 module partial_order { header "__compare/partial_order.h" } 1049 module strong_order { header "__compare/strong_order.h" } 1050 module synth_three_way { header "__compare/synth_three_way.h" } 1051 module three_way_comparable { header "__compare/three_way_comparable.h" } 1052 module weak_order { header "__compare/weak_order.h" } 1053 1054 header "compare" 1055 export * 1056 } 1057 1058 module complex { 1059 module fwd { header "__fwd/complex.h" } 1060 1061 header "complex" 1062 export * 1063 } 1064 1065 module concepts { 1066 module arithmetic { header "__concepts/arithmetic.h" } 1067 module assignable { header "__concepts/assignable.h" } 1068 module boolean_testable { header "__concepts/boolean_testable.h" } 1069 module class_or_enum { header "__concepts/class_or_enum.h" } 1070 module common_reference_with { header "__concepts/common_reference_with.h" } 1071 module common_with { header "__concepts/common_with.h" } 1072 module constructible { header "__concepts/constructible.h" } 1073 module convertible_to { header "__concepts/convertible_to.h" } 1074 module copyable { header "__concepts/copyable.h" } 1075 module derived_from { header "__concepts/derived_from.h" } 1076 module destructible { header "__concepts/destructible.h" } 1077 module different_from { header "__concepts/different_from.h" } 1078 module equality_comparable { header "__concepts/equality_comparable.h" } 1079 module invocable { header "__concepts/invocable.h" } 1080 module movable { header "__concepts/movable.h" } 1081 module predicate { header "__concepts/predicate.h" } 1082 module regular { header "__concepts/regular.h" } 1083 module relation { header "__concepts/relation.h" } 1084 module same_as { header "__concepts/same_as.h" } 1085 module semiregular { header "__concepts/semiregular.h" } 1086 module swappable { header "__concepts/swappable.h" } 1087 module totally_ordered { header "__concepts/totally_ordered.h" } 1088 1089 header "concepts" 1090 export * 1091 } 1092 1093 module condition_variable { 1094 module condition_variable { header "__condition_variable/condition_variable.h" } 1095 1096 header "condition_variable" 1097 export * 1098 } 1099 1100 module cassert { 1101 textual header "cassert" // NDEBUG requires textual inclusion 1102 } 1103 1104 module ccomplex { 1105 header "ccomplex" 1106 export * 1107 } 1108 1109 module cctype { 1110 header "cctype" 1111 export * 1112 } 1113 1114 module cerrno { 1115 header "cerrno" 1116 export * 1117 } 1118 1119 module cfenv { 1120 header "cfenv" 1121 export * 1122 } 1123 1124 module cfloat { 1125 header "cfloat" 1126 export * 1127 } 1128 1129 module cinttypes { 1130 header "cinttypes" 1131 export * 1132 } 1133 1134 module ciso646 { 1135 header "ciso646" 1136 export * 1137 } 1138 1139 module climits { 1140 header "climits" 1141 export * 1142 } 1143 1144 module clocale { 1145 header "clocale" 1146 export * 1147 } 1148 1149 module cmath { 1150 header "cmath" 1151 export * 1152 } 1153 1154 // TODO: Make non-textual. This seems to cause problems when compiling against Glibc. 1155 module csetjmp { 1156 textual header "csetjmp" 1157 } 1158 1159 module csignal { 1160 header "csignal" 1161 export * 1162 } 1163 1164 module cstdalign { 1165 header "cstdalign" 1166 export * 1167 } 1168 1169 module cstdarg { 1170 header "cstdarg" 1171 export * 1172 } 1173 1174 module cstdbool { 1175 header "cstdbool" 1176 export * 1177 } 1178 1179 module cstddef { 1180 header "cstddef" 1181 export * 1182 } 1183 1184 module cstdio { 1185 header "cstdio" 1186 export * 1187 } 1188 1189 module cstdlib { 1190 header "cstdlib" 1191 export * 1192 } 1193 1194 module cstring { 1195 header "cstring" 1196 export * 1197 } 1198 1199 module ctgmath { 1200 header "ctgmath" 1201 export * 1202 } 1203 1204 module ctime { 1205 header "ctime" 1206 export * 1207 } 1208 1209 module cuchar { 1210 header "cuchar" 1211 export * 1212 } 1213 1214 module cwchar { 1215 header "cwchar" 1216 export * 1217 } 1218 1219 module cwctype { 1220 header "cwctype" 1221 export * 1222 } 1223 1224 module deque { 1225 module fwd { header "__fwd/deque.h" } 1226 1227 header "deque" 1228 export * 1229 export std.iterator.reverse_iterator 1230 } 1231 1232 module exception { 1233 module exception { header "__exception/exception.h" } 1234 module exception_ptr { header "__exception/exception_ptr.h" } 1235 module nested_exception { header "__exception/nested_exception.h" } 1236 module operations { header "__exception/operations.h" } 1237 module terminate { header "__exception/terminate.h" } 1238 1239 header "exception" 1240 export * 1241 } 1242 1243 module execution { 1244 header "execution" 1245 export * 1246 } 1247 1248 module expected { 1249 module bad_expected_access { header "__expected/bad_expected_access.h" } 1250 module expected { header "__expected/expected.h" } 1251 module unexpect { header "__expected/unexpect.h" } 1252 module unexpected { header "__expected/unexpected.h" } 1253 1254 header "expected" 1255 export * 1256 } 1257 1258 module filesystem { 1259 module copy_options { header "__filesystem/copy_options.h" } 1260 module directory_entry { header "__filesystem/directory_entry.h" } 1261 module directory_iterator { 1262 header "__filesystem/directory_iterator.h" 1263 // This is a workaround for https://github.com/llvm/llvm-project/issues/120108. 1264 export * 1265 } 1266 module directory_options { header "__filesystem/directory_options.h" } 1267 module file_status { header "__filesystem/file_status.h" } 1268 module file_time_type { header "__filesystem/file_time_type.h" } 1269 module file_type { header "__filesystem/file_type.h" } 1270 module filesystem_error { header "__filesystem/filesystem_error.h" } 1271 module operations { header "__filesystem/operations.h" } 1272 module path_iterator { header "__filesystem/path_iterator.h" } 1273 module path { 1274 header "__filesystem/path.h" 1275 export std.string // returned by various methods of filesystem::path 1276 } 1277 module perm_options { header "__filesystem/perm_options.h" } 1278 module perms { header "__filesystem/perms.h" } 1279 module recursive_directory_iterator { header "__filesystem/recursive_directory_iterator.h" } 1280 module space_info { header "__filesystem/space_info.h" } 1281 module u8path { header "__filesystem/u8path.h" } 1282 1283 header "filesystem" 1284 export * 1285 } 1286 1287 module flat_map { 1288 module flat_map { 1289 header "__flat_map/flat_map.h" 1290 export std.vector.vector 1291 export std.vector.fwd 1292 } 1293 module flat_multimap { 1294 header "__flat_map/flat_multimap.h" 1295 export std.vector.vector 1296 export std.vector.fwd 1297 } 1298 module key_value_iterator { header "__flat_map/key_value_iterator.h" } 1299 module sorted_equivalent { header "__flat_map/sorted_equivalent.h" } 1300 module sorted_unique { header "__flat_map/sorted_unique.h" } 1301 module utils { header "__flat_map/utils.h" } 1302 1303 header "flat_map" 1304 export * 1305 export std.algorithm.ranges_sort 1306 export std.iterator.reverse_iterator 1307 export std.ranges.zip_view 1308 export std.tuple 1309 } 1310 1311 module flat_set { 1312 module flat_set { 1313 header "__flat_set/flat_set.h" 1314 header "__flat_set/flat_multiset.h" 1315 export std.vector.vector 1316 export std.vector.fwd 1317 } 1318 module ra_iterator { header "__flat_set/ra_iterator.h" } 1319 module utils { header "__flat_set/utils.h" } 1320 1321 header "flat_set" 1322 export std.flat_map.sorted_unique 1323 export std.flat_map.sorted_equivalent 1324 export * 1325 export std.algorithm.ranges_sort 1326 export std.iterator.reverse_iterator 1327 export std.ranges.zip_view 1328 export std.tuple 1329 } 1330 1331 module format { 1332 module buffer { 1333 header "__format/buffer.h" 1334 export std.iterator.back_insert_iterator 1335 } 1336 module concepts { header "__format/concepts.h" } 1337 module container_adaptor { header "__format/container_adaptor.h" } 1338 module enable_insertable { header "__format/enable_insertable.h" } 1339 module escaped_output_table { header "__format/escaped_output_table.h" } 1340 module extended_grapheme_cluster_table { header "__format/extended_grapheme_cluster_table.h" } 1341 module format_arg { header "__format/format_arg.h" } 1342 module format_arg_store { header "__format/format_arg_store.h" } 1343 module format_args { header "__format/format_args.h" } 1344 module format_context { 1345 header "__format/format_context.h" 1346 export std.optional // default argument for __format_context_create 1347 } 1348 module format_error { 1349 header "__format/format_error.h" 1350 } 1351 module format_functions { 1352 header "__format/format_functions.h" 1353 export std.string // returned by the functions in that header 1354 } 1355 module format_parse_context { header "__format/format_parse_context.h" } 1356 module format_string { header "__format/format_string.h" } 1357 module format_to_n_result { header "__format/format_to_n_result.h" } 1358 module formatter { header "__format/formatter.h" } 1359 module formatter_bool { header "__format/formatter_bool.h" } 1360 module formatter_char { header "__format/formatter_char.h" } 1361 module formatter_floating_point { header "__format/formatter_floating_point.h" } 1362 module formatter_integer { header "__format/formatter_integer.h" } 1363 module formatter_integral { header "__format/formatter_integral.h" } 1364 module formatter_output { header "__format/formatter_output.h" } 1365 module formatter_pointer { header "__format/formatter_pointer.h" } 1366 module formatter_string { header "__format/formatter_string.h" } 1367 module formatter_tuple { header "__format/formatter_tuple.h" } 1368 module fwd { header "__fwd/format.h" } 1369 module indic_conjunct_break_table { header "__format/indic_conjunct_break_table.h" } 1370 module parser_std_format_spec { header "__format/parser_std_format_spec.h" } 1371 module range_default_formatter { header "__format/range_default_formatter.h" } 1372 module range_formatter { header "__format/range_formatter.h" } 1373 module unicode { header "__format/unicode.h" } 1374 module width_estimation_table { header "__format/width_estimation_table.h" } 1375 module write_escaped { header "__format/write_escaped.h" } 1376 1377 header "format" 1378 export * 1379 } // module format 1380 1381 module forward_list { 1382 header "forward_list" 1383 export * 1384 export std.iterator.reverse_iterator 1385 } 1386 1387 module fstream { 1388 module fwd { header "__fwd/fstream.h" } 1389 1390 header "fstream" 1391 export * 1392 } 1393 1394 module functional { 1395 module binary_function { header "__functional/binary_function.h" } 1396 module binary_negate { header "__functional/binary_negate.h" } 1397 module bind_back { 1398 header "__functional/bind_back.h" 1399 export std.functional.perfect_forward // inherited from and using its operators 1400 } 1401 module bind_front { 1402 header "__functional/bind_front.h" 1403 export std.functional.perfect_forward // inherited from and using its operators 1404 } 1405 module bind { header "__functional/bind.h" } 1406 module binder1st { header "__functional/binder1st.h" } 1407 module binder2nd { header "__functional/binder2nd.h" } 1408 module boyer_moore_searcher { 1409 header "__functional/boyer_moore_searcher.h" 1410 export std.memory.shared_ptr 1411 } 1412 module compose { 1413 header "__functional/compose.h" 1414 export std.functional.perfect_forward // inherited from and using its operators 1415 } 1416 module default_searcher { header "__functional/default_searcher.h" } 1417 module function { header "__functional/function.h" } 1418 module hash { header "__functional/hash.h" } 1419 module identity { header "__functional/identity.h" } 1420 module invoke { header "__functional/invoke.h" } 1421 module is_transparent { header "__functional/is_transparent.h" } 1422 module mem_fn { header "__functional/mem_fn.h" } 1423 module mem_fun_ref { header "__functional/mem_fun_ref.h" } 1424 module not_fn { 1425 header "__functional/not_fn.h" 1426 export std.functional.perfect_forward // inherited from and using its operators 1427 } 1428 module operations { 1429 header "__functional/operations.h" 1430 export std_core.fwd.functional 1431 } 1432 module perfect_forward { 1433 header "__functional/perfect_forward.h" 1434 export std.tuple 1435 } 1436 module pointer_to_binary_function { header "__functional/pointer_to_binary_function.h" } 1437 module pointer_to_unary_function { header "__functional/pointer_to_unary_function.h" } 1438 module ranges_operations { header "__functional/ranges_operations.h" } 1439 module reference_wrapper { header "__functional/reference_wrapper.h" } 1440 module unary_function { header "__functional/unary_function.h" } 1441 module unary_negate { header "__functional/unary_negate.h" } 1442 module weak_result_type { header "__functional/weak_result_type.h" } 1443 1444 header "functional" 1445 export * 1446 } // module functional 1447 1448 module future { 1449 header "future" 1450 export * 1451 } 1452 1453 module initializer_list { 1454 header "initializer_list" 1455 export * 1456 } 1457 1458 module iomanip { 1459 header "iomanip" 1460 export * 1461 } 1462 1463 module ios { 1464 module fwd { header "__fwd/ios.h" } 1465 module fpos { header "__ios/fpos.h" } 1466 1467 header "ios" 1468 export * 1469 } 1470 1471 module iosfwd { 1472 header "iosfwd" 1473 export * 1474 } 1475 1476 module iostream { 1477 header "iostream" 1478 export * 1479 } 1480 1481 module istream { 1482 module fwd { header "__fwd/istream.h" } 1483 1484 header "istream" 1485 export std.ios // base class 1486 } 1487 1488 module iterator { 1489 module access { header "__iterator/access.h" } 1490 module advance { header "__iterator/advance.h" } 1491 module aliasing_iterator { header "__iterator/aliasing_iterator.h" } 1492 module back_insert_iterator { header "__iterator/back_insert_iterator.h" } 1493 module bounded_iter { header "__iterator/bounded_iter.h" } 1494 module common_iterator { header "__iterator/common_iterator.h" } 1495 module concepts { 1496 header "__iterator/concepts.h" 1497 export std_core.type_traits.common_reference 1498 } 1499 module counted_iterator { header "__iterator/counted_iterator.h" } 1500 module cpp17_iterator_concepts { header "__iterator/cpp17_iterator_concepts.h" } 1501 module data { header "__iterator/data.h" } 1502 module default_sentinel { header "__iterator/default_sentinel.h" } 1503 module distance { header "__iterator/distance.h" } 1504 module empty { header "__iterator/empty.h" } 1505 module erase_if_container { header "__iterator/erase_if_container.h" } 1506 module front_insert_iterator { header "__iterator/front_insert_iterator.h" } 1507 module incrementable_traits { header "__iterator/incrementable_traits.h" } 1508 module indirectly_comparable { header "__iterator/indirectly_comparable.h" } 1509 module insert_iterator { header "__iterator/insert_iterator.h" } 1510 module istream_iterator { header "__iterator/istream_iterator.h" } 1511 module istreambuf_iterator { 1512 header "__iterator/istreambuf_iterator.h" 1513 export std.string.char_traits 1514 } 1515 module iter_move { header "__iterator/iter_move.h" } 1516 module iter_swap { header "__iterator/iter_swap.h" } 1517 module iterator_traits { 1518 header "__iterator/iterator_traits.h" 1519 export std_core.type_traits.integral_constant 1520 export std_core.type_traits.is_convertible 1521 } 1522 module iterator_with_data { header "__iterator/iterator_with_data.h" } 1523 module iterator { header "__iterator/iterator.h" } 1524 module mergeable { header "__iterator/mergeable.h" } 1525 module move_iterator { header "__iterator/move_iterator.h" } 1526 module move_sentinel { header "__iterator/move_sentinel.h" } 1527 module next { header "__iterator/next.h" } 1528 module ostream_iterator { header "__iterator/ostream_iterator.h" } 1529 module ostreambuf_iterator { 1530 header "__iterator/ostreambuf_iterator.h" 1531 export iosfwd // for default template argument of ostreambuf_iterator 1532 } 1533 module permutable { header "__iterator/permutable.h" } 1534 module prev { header "__iterator/prev.h" } 1535 module product_iterator { header "__iterator/product_iterator.h" } 1536 module projected { header "__iterator/projected.h" } 1537 module ranges_iterator_traits { header "__iterator/ranges_iterator_traits.h" } 1538 module readable_traits { header "__iterator/readable_traits.h" } 1539 module reverse_access { header "__iterator/reverse_access.h" } 1540 module reverse_iterator { header "__iterator/reverse_iterator.h" } 1541 module segmented_iterator { header "__iterator/segmented_iterator.h" } 1542 module size { header "__iterator/size.h" } 1543 module sortable { header "__iterator/sortable.h" } 1544 module static_bounded_iter { header "__iterator/static_bounded_iter.h" } 1545 module unreachable_sentinel { header "__iterator/unreachable_sentinel.h" } 1546 module wrap_iter { header "__iterator/wrap_iter.h" } 1547 1548 header "iterator" 1549 export * 1550 } 1551 1552 module latch { 1553 header "latch" 1554 export * 1555 } 1556 1557 module list { 1558 header "list" 1559 export * 1560 export std.iterator.reverse_iterator 1561 } 1562 1563 module locale { 1564 header "locale" 1565 module check_grouping { header "__locale_dir/check_grouping.h" } 1566 module get_c_locale { header "__locale_dir/get_c_locale.h" } 1567 module messages { header "__locale_dir/messages.h" } 1568 module money { header "__locale_dir/money.h" } 1569 module num { header "__locale_dir/num.h" } 1570 module pad_and_output { header "__locale_dir/pad_and_output.h" } 1571 module scan_keyword { header "__locale_dir/scan_keyword.h" } 1572 module time { header "__locale_dir/time.h" } 1573 module wbuffer_convert { header "__locale_dir/wbuffer_convert.h" } 1574 module wstring_convert { header "__locale_dir/wstring_convert.h" } 1575 1576 module support { 1577 header "__locale_dir/locale_base_api.h" 1578 export * 1579 } 1580 1581 module support_impl { 1582 textual header "__locale_dir/support/apple.h" 1583 textual header "__locale_dir/support/bsd_like.h" 1584 textual header "__locale_dir/support/freebsd.h" 1585 textual header "__locale_dir/support/fuchsia.h" 1586 textual header "__locale_dir/support/linux.h" 1587 textual header "__locale_dir/support/no_locale/characters.h" 1588 textual header "__locale_dir/support/no_locale/strtonum.h" 1589 textual header "__locale_dir/support/windows.h" 1590 } 1591 1592 module locale_base_api { 1593 textual header "__locale_dir/locale_base_api/android.h" 1594 textual header "__locale_dir/locale_base_api/bsd_locale_fallbacks.h" 1595 textual header "__locale_dir/locale_base_api/ibm.h" 1596 textual header "__locale_dir/locale_base_api/musl.h" 1597 textual header "__locale_dir/locale_base_api/openbsd.h" 1598 } 1599 export * 1600 } 1601 1602 // TODO: Understand why this needs to live in its own module 1603 module locale_base [system] { 1604 header "__locale" 1605 export * 1606 } 1607 1608 module map { 1609 module fwd { header "__fwd/map.h" } 1610 header "map" 1611 export * 1612 export std.iterator.reverse_iterator 1613 } 1614 1615 module mdspan { 1616 module aligned_accessor { header "__mdspan/aligned_accessor.h" } 1617 module default_accessor { header "__mdspan/default_accessor.h" } 1618 module extents { header "__mdspan/extents.h" } 1619 module fwd { header "__fwd/mdspan.h" } 1620 module layout_left { header "__mdspan/layout_left.h" } 1621 module layout_right { header "__mdspan/layout_right.h" } 1622 module layout_stride { header "__mdspan/layout_stride.h" } 1623 module mdspan { 1624 header "__mdspan/mdspan.h" 1625 export std.array // returned by some methods 1626 } 1627 1628 header "mdspan" 1629 export * 1630 } 1631 1632 module memory { 1633 module addressof { header "__memory/addressof.h" } 1634 module align { header "__memory/align.h" } 1635 module aligned_alloc { header "__memory/aligned_alloc.h" } 1636 module allocate_at_least { header "__memory/allocate_at_least.h" } 1637 module allocation_guard { header "__memory/allocation_guard.h" } 1638 module allocator { 1639 header "__memory/allocator.h" 1640 export * // TODO: Workaround for https://github.com/llvm/llvm-project/issues/120108 1641 } 1642 module allocator_arg_t { header "__memory/allocator_arg_t.h" } 1643 module allocator_destructor { header "__memory/allocator_destructor.h" } 1644 module allocator_traits { header "__memory/allocator_traits.h" } 1645 module array_cookie { header "__memory/array_cookie.h" } 1646 module assume_aligned { header "__memory/assume_aligned.h" } 1647 module auto_ptr { header "__memory/auto_ptr.h" } 1648 module compressed_pair { header "__memory/compressed_pair.h" } 1649 module concepts { header "__memory/concepts.h" } 1650 module construct_at { header "__memory/construct_at.h" } 1651 module destroy { header "__memory/destroy.h" } 1652 module destruct_n { header "__memory/destruct_n.h" } 1653 module fwd { header "__fwd/memory.h" } 1654 module inout_ptr { header "__memory/inout_ptr.h" } 1655 module is_sufficiently_aligned { header "__memory/is_sufficiently_aligned.h" } 1656 module noexcept_move_assign_container { header "__memory/noexcept_move_assign_container.h" } 1657 module out_ptr { header "__memory/out_ptr.h" } 1658 module pointer_traits { header "__memory/pointer_traits.h" } 1659 module ranges_construct_at { header "__memory/ranges_construct_at.h" } 1660 module ranges_destroy { header "__memory/ranges_destroy.h" } 1661 module ranges_uninitialized_algorithms { 1662 header "__memory/ranges_uninitialized_algorithms.h" 1663 export std.algorithm.in_out_result 1664 } 1665 module raw_storage_iterator { header "__memory/raw_storage_iterator.h" } 1666 module shared_count { header "__memory/shared_count.h" } 1667 module shared_ptr { header "__memory/shared_ptr.h" } 1668 module swap_allocator { header "__memory/swap_allocator.h" } 1669 module temp_value { header "__memory/temp_value.h" } 1670 module temporary_buffer { 1671 header "__memory/temporary_buffer.h" 1672 export std.utility.pair // return type of std::get_temporary_buffer() 1673 } 1674 module uninitialized_algorithms { 1675 header "__memory/uninitialized_algorithms.h" 1676 export std.utility.pair 1677 } 1678 module unique_ptr { 1679 header "__memory/unique_ptr.h" 1680 } 1681 module unique_temporary_buffer { 1682 header "__memory/unique_temporary_buffer.h" 1683 export std.memory.unique_ptr 1684 export std_core.type_traits.is_constant_evaluated 1685 export * // TODO: Workaround for https://github.com/llvm/llvm-project/issues/120108 1686 } 1687 module uses_allocator { header "__memory/uses_allocator.h" } 1688 module uses_allocator_construction { header "__memory/uses_allocator_construction.h" } 1689 1690 header "memory" 1691 export * 1692 } 1693 1694 module memory_resource { 1695 module fwd { header "__fwd/memory_resource.h" } 1696 module memory_resource { header "__memory_resource/memory_resource.h" } 1697 module monotonic_buffer_resource { header "__memory_resource/monotonic_buffer_resource.h" } 1698 module polymorphic_allocator { header "__memory_resource/polymorphic_allocator.h" } 1699 module pool_options { header "__memory_resource/pool_options.h" } 1700 module synchronized_pool_resource { header "__memory_resource/synchronized_pool_resource.h" } 1701 module unsynchronized_pool_resource { header "__memory_resource/unsynchronized_pool_resource.h" } 1702 1703 header "memory_resource" 1704 export * 1705 } 1706 1707 module mutex { 1708 module lock_guard { header "__mutex/lock_guard.h" } 1709 module mutex { header "__mutex/mutex.h" } 1710 module once_flag { header "__mutex/once_flag.h" } 1711 module tag_types { header "__mutex/tag_types.h" } 1712 module unique_lock { header "__mutex/unique_lock.h" } 1713 1714 header "mutex" 1715 export * 1716 } 1717 1718 module new { 1719 header "new" 1720 module align_val_t { header "__new/align_val_t.h" } 1721 module allocate { 1722 header "__new/allocate.h" 1723 export std.utility.element_count // used as part of the API 1724 export * // TODO: Workaround for https://github.com/llvm/llvm-project/issues/120108 1725 } 1726 module destroying_delete_t { header "__new/destroying_delete_t.h" } 1727 module exceptions { header "__new/exceptions.h" } 1728 module global_new_delete { 1729 header "__new/global_new_delete.h" 1730 1731 export std.new.nothrow_t 1732 } 1733 module interference_size { header "__new/interference_size.h" } 1734 module launder { header "__new/launder.h" } 1735 module new_handler { header "__new/new_handler.h" } 1736 module nothrow_t { header "__new/nothrow_t.h" } 1737 module placement_new_delete { header "__new/placement_new_delete.h" } 1738 1739 export * 1740 } 1741 1742 module numbers { 1743 header "numbers" 1744 export * 1745 } 1746 1747 module numeric { 1748 module accumulate { header "__numeric/accumulate.h" } 1749 module adjacent_difference { header "__numeric/adjacent_difference.h" } 1750 module exclusive_scan { header "__numeric/exclusive_scan.h" } 1751 module gcd_lcm { header "__numeric/gcd_lcm.h" } 1752 module inclusive_scan { header "__numeric/inclusive_scan.h" } 1753 module inner_product { header "__numeric/inner_product.h" } 1754 module iota { header "__numeric/iota.h" } 1755 module midpoint { header "__numeric/midpoint.h" } 1756 module partial_sum { header "__numeric/partial_sum.h" } 1757 module pstl { header "__numeric/pstl.h" } 1758 module reduce { header "__numeric/reduce.h" } 1759 module ranges_iota { header "__numeric/ranges_iota.h" } 1760 module saturation_arithmetic { header "__numeric/saturation_arithmetic.h" } 1761 module transform_exclusive_scan { header "__numeric/transform_exclusive_scan.h" } 1762 module transform_inclusive_scan { header "__numeric/transform_inclusive_scan.h" } 1763 module transform_reduce { header "__numeric/transform_reduce.h" } 1764 1765 header "numeric" 1766 export * 1767 } 1768 1769 module optional { 1770 header "optional" 1771 export * 1772 } 1773 1774 module ostream { 1775 module basic_ostream { 1776 header "__ostream/basic_ostream.h" 1777 export std.ios // base class 1778 } 1779 module fwd { 1780 header "__fwd/ostream.h" 1781 } 1782 module print { 1783 header "__ostream/print.h" 1784 export * 1785 } 1786 module put_character_sequence { header "__ostream/put_character_sequence.h" } 1787 1788 header "ostream" 1789 export * 1790 } 1791 1792 module print { 1793 header "print" 1794 export * 1795 } 1796 1797 module queue { 1798 module fwd { header "__fwd/queue.h" } 1799 1800 header "queue" 1801 export * 1802 } 1803 1804 module random { 1805 module bernoulli_distribution { header "__random/bernoulli_distribution.h" } 1806 module binomial_distribution { header "__random/binomial_distribution.h" } 1807 module cauchy_distribution { header "__random/cauchy_distribution.h" } 1808 module chi_squared_distribution { header "__random/chi_squared_distribution.h" } 1809 module clamp_to_integral { header "__random/clamp_to_integral.h" } 1810 module default_random_engine { header "__random/default_random_engine.h" } 1811 module discard_block_engine { header "__random/discard_block_engine.h" } 1812 module discrete_distribution { header "__random/discrete_distribution.h" } 1813 module exponential_distribution { header "__random/exponential_distribution.h" } 1814 module extreme_value_distribution { header "__random/extreme_value_distribution.h" } 1815 module fisher_f_distribution { header "__random/fisher_f_distribution.h" } 1816 module gamma_distribution { header "__random/gamma_distribution.h" } 1817 module generate_canonical { header "__random/generate_canonical.h" } 1818 module geometric_distribution { header "__random/geometric_distribution.h" } 1819 module independent_bits_engine { header "__random/independent_bits_engine.h" } 1820 module is_seed_sequence { header "__random/is_seed_sequence.h" } 1821 module is_valid { 1822 header "__random/is_valid.h" 1823 export std_core.type_traits.integral_constant 1824 } 1825 module knuth_b { header "__random/knuth_b.h" } 1826 module linear_congruential_engine { header "__random/linear_congruential_engine.h" } 1827 module log2 { header "__random/log2.h" } 1828 module lognormal_distribution { header "__random/lognormal_distribution.h" } 1829 module mersenne_twister_engine { header "__random/mersenne_twister_engine.h" } 1830 module negative_binomial_distribution { header "__random/negative_binomial_distribution.h" } 1831 module normal_distribution { header "__random/normal_distribution.h" } 1832 module piecewise_constant_distribution { header "__random/piecewise_constant_distribution.h" } 1833 module piecewise_linear_distribution { header "__random/piecewise_linear_distribution.h" } 1834 module poisson_distribution { header "__random/poisson_distribution.h" } 1835 module random_device { header "__random/random_device.h" } 1836 module ranlux { header "__random/ranlux.h" } 1837 module seed_seq { header "__random/seed_seq.h" } 1838 module shuffle_order_engine { header "__random/shuffle_order_engine.h" } 1839 module student_t_distribution { header "__random/student_t_distribution.h" } 1840 module subtract_with_carry_engine { header "__random/subtract_with_carry_engine.h" } 1841 module uniform_int_distribution { header "__random/uniform_int_distribution.h" } 1842 module uniform_random_bit_generator { header "__random/uniform_random_bit_generator.h" } 1843 module uniform_real_distribution { header "__random/uniform_real_distribution.h" } 1844 module weibull_distribution { header "__random/weibull_distribution.h" } 1845 1846 header "random" 1847 export * 1848 } 1849 1850 module ranges { 1851 module access { header "__ranges/access.h" } 1852 module all { header "__ranges/all.h" } 1853 module as_rvalue_view { header "__ranges/as_rvalue_view.h" } 1854 module chunk_by_view { 1855 header "__ranges/chunk_by_view.h" 1856 export std.functional.bind_back 1857 } 1858 module common_view { header "__ranges/common_view.h" } 1859 module concepts { header "__ranges/concepts.h" } 1860 module container_compatible_range { header "__ranges/container_compatible_range.h" } 1861 module counted { 1862 header "__ranges/counted.h" 1863 export std.span // return type of views::counted 1864 export std.ranges.subrange // return type of views::counted 1865 } 1866 module dangling { 1867 header "__ranges/dangling.h" 1868 } 1869 module data { 1870 header "__ranges/data.h" 1871 } 1872 module drop_view { 1873 header "__ranges/drop_view.h" 1874 export std.functional.bind_back 1875 } 1876 module drop_while_view { 1877 header "__ranges/drop_while_view.h" 1878 export std.functional.bind_back 1879 } 1880 module elements_view { header "__ranges/elements_view.h" } 1881 module empty { header "__ranges/empty.h" } 1882 module empty_view { header "__ranges/empty_view.h" } 1883 module enable_borrowed_range { header "__ranges/enable_borrowed_range.h" } 1884 module enable_view { header "__ranges/enable_view.h" } 1885 module filter_view { 1886 header "__ranges/filter_view.h" 1887 export std.functional.bind_back 1888 } 1889 module from_range { header "__ranges/from_range.h" } 1890 module iota_view { header "__ranges/iota_view.h" } 1891 module istream_view { header "__ranges/istream_view.h" } 1892 module join_view { header "__ranges/join_view.h" } 1893 module join_with_view { header "__ranges/join_with_view.h" } 1894 module lazy_split_view { 1895 header "__ranges/lazy_split_view.h" 1896 export std.functional.bind_back 1897 } 1898 module movable_box { header "__ranges/movable_box.h" } 1899 module non_propagating_cache { header "__ranges/non_propagating_cache.h" } 1900 module owning_view { header "__ranges/owning_view.h" } 1901 module range_adaptor { header "__ranges/range_adaptor.h" } 1902 module rbegin { header "__ranges/rbegin.h" } 1903 module ref_view { header "__ranges/ref_view.h" } 1904 module rend { header "__ranges/rend.h" } 1905 module repeat_view { header "__ranges/repeat_view.h" } 1906 module reverse_view { header "__ranges/reverse_view.h" } 1907 module single_view { header "__ranges/single_view.h" } 1908 module size { header "__ranges/size.h" } 1909 module split_view { 1910 header "__ranges/split_view.h" 1911 export std.functional.bind_back 1912 } 1913 module subrange { 1914 header "__ranges/subrange.h" 1915 export std.ranges.subrange_fwd 1916 } 1917 module subrange_fwd { 1918 header "__fwd/subrange.h" 1919 } 1920 module take_view { 1921 header "__ranges/take_view.h" 1922 export std.functional.bind_back 1923 } 1924 module take_while_view { 1925 header "__ranges/take_while_view.h" 1926 export std.functional.bind_back 1927 } 1928 module to { 1929 header "__ranges/to.h" 1930 export std.functional.bind_back 1931 } 1932 module transform_view { 1933 header "__ranges/transform_view.h" 1934 export std.functional.bind_back 1935 } 1936 module view_interface { 1937 header "__ranges/view_interface.h" 1938 } 1939 module views { 1940 header "__ranges/views.h" 1941 } 1942 module zip_view { 1943 header "__ranges/zip_view.h" 1944 export std.utility.pair 1945 } 1946 1947 header "ranges" 1948 export * 1949 } // module ranges 1950 1951 module ratio { 1952 header "ratio" 1953 export * 1954 } 1955 1956 module regex { 1957 header "regex" 1958 export * 1959 export std.iterator.reverse_iterator 1960 } 1961 1962 module scoped_allocator { 1963 header "scoped_allocator" 1964 export * 1965 } 1966 1967 module semaphore { 1968 header "semaphore" 1969 export * 1970 } 1971 1972 module set { 1973 module fwd { header "__fwd/set.h" } 1974 header "set" 1975 export * 1976 export std.iterator.reverse_iterator 1977 } 1978 1979 module shared_mutex { 1980 header "shared_mutex" 1981 export * 1982 } 1983 1984 module source_location { 1985 header "source_location" 1986 export * 1987 } 1988 1989 module span { 1990 module fwd { header "__fwd/span.h" } 1991 1992 header "span" 1993 export * 1994 export std.iterator.reverse_iterator 1995 } 1996 1997 module sstream { 1998 module fwd { header "__fwd/sstream.h" } 1999 2000 header "sstream" 2001 export * 2002 } 2003 2004 module stack { 2005 module fwd { header "__fwd/stack.h" } 2006 2007 header "stack" 2008 export * 2009 } 2010 2011 module stdexcept { 2012 header "stdexcept" 2013 export * 2014 } 2015 2016 module stop_token { 2017 module atomic_unique_lock { header "__stop_token/atomic_unique_lock.h" } 2018 module intrusive_list_view { header "__stop_token/intrusive_list_view.h" } 2019 module intrusive_shared_ptr { header "__stop_token/intrusive_shared_ptr.h" } 2020 module stop_callback { header "__stop_token/stop_callback.h" } 2021 module stop_source { header "__stop_token/stop_source.h" } 2022 module stop_state { header "__stop_token/stop_state.h" } 2023 module stop_token { header "__stop_token/stop_token.h" } 2024 2025 header "stop_token" 2026 export * 2027 } 2028 2029 module streambuf { 2030 module fwd { header "__fwd/streambuf.h" } 2031 2032 header "streambuf" 2033 export * 2034 } 2035 2036 module string { 2037 module char_traits { header "__string/char_traits.h" } 2038 module constexpr_c_functions { 2039 header "__string/constexpr_c_functions.h" 2040 export std.utility.element_count // used as part of the constexpr C function's API 2041 } 2042 module extern_template_lists { header "__string/extern_template_lists.h" } 2043 module fwd { header "__fwd/string.h" } 2044 2045 header "string" 2046 export * 2047 export std.iterator.reverse_iterator 2048 } 2049 2050 module string_view { 2051 module fwd { header "__fwd/string_view.h" } 2052 2053 header "string_view" 2054 export * 2055 export std.iterator.reverse_iterator 2056 } 2057 2058 module strstream { 2059 header "strstream" 2060 export * 2061 } 2062 2063 module syncstream { 2064 header "syncstream" 2065 export * 2066 } 2067 2068 module system_error { 2069 module errc { header "__system_error/errc.h" } 2070 module error_category { header "__system_error/error_category.h" } 2071 module error_code { 2072 header "__system_error/error_code.h" 2073 export std.system_error.error_category // methods of error_code return that type 2074 } 2075 module error_condition { header "__system_error/error_condition.h" } 2076 module system_error { header "__system_error/system_error.h" } 2077 module throw_system_error { header "__system_error/throw_system_error.h" } 2078 2079 header "system_error" 2080 export * 2081 } 2082 2083 module thread { 2084 module formatter { header "__thread/formatter.h" } 2085 module id { header "__thread/id.h" } 2086 module jthread { header "__thread/jthread.h" } 2087 module poll_with_backoff { header "__thread/poll_with_backoff.h" } 2088 module this_thread { header "__thread/this_thread.h" } 2089 module thread { header "__thread/thread.h" } 2090 module timed_backoff_policy { header "__thread/timed_backoff_policy.h" } 2091 2092 module support { 2093 header "__thread/support.h" 2094 export * 2095 } 2096 module support_impl { 2097 textual header "__thread/support/c11.h" 2098 textual header "__thread/support/external.h" 2099 textual header "__thread/support/pthread.h" 2100 textual header "__thread/support/windows.h" 2101 } 2102 2103 header "thread" 2104 export * 2105 } 2106 2107 module tuple { 2108 module find_index { header "__tuple/find_index.h" } 2109 module ignore { header "__tuple/ignore.h" } 2110 module make_tuple_types { header "__tuple/make_tuple_types.h" } 2111 module sfinae_helpers { header "__tuple/sfinae_helpers.h" } 2112 module tuple_element { header "__tuple/tuple_element.h" } 2113 module tuple_indices { header "__tuple/tuple_indices.h" } 2114 module tuple_like_ext { header "__tuple/tuple_like_ext.h" } 2115 module tuple_like_no_subrange { header "__tuple/tuple_like_no_subrange.h" } 2116 module tuple_like { header "__tuple/tuple_like.h" } 2117 module tuple_size { header "__tuple/tuple_size.h" } 2118 module tuple_types { header "__tuple/tuple_types.h" } 2119 2120 header "tuple" 2121 export * 2122 } 2123 2124 module typeindex { 2125 header "typeindex" 2126 export * 2127 } 2128 2129 module typeinfo { 2130 header "typeinfo" 2131 export * 2132 } 2133 2134 module unordered_map { 2135 header "unordered_map" 2136 export * 2137 export std.iterator.reverse_iterator 2138 } 2139 2140 module unordered_set { 2141 header "unordered_set" 2142 export * 2143 export std.iterator.reverse_iterator 2144 } 2145 2146 module utility { 2147 module as_const { header "__utility/as_const.h" } 2148 module as_lvalue { header "__utility/as_lvalue.h" } 2149 module auto_cast { 2150 header "__utility/auto_cast.h" 2151 export std_core.type_traits.decay // the macro expansion uses that trait 2152 } 2153 module cmp { header "__utility/cmp.h" } 2154 module convert_to_integral { header "__utility/convert_to_integral.h" } 2155 module element_count { header "__utility/element_count.h" } 2156 module exception_guard { header "__utility/exception_guard.h" } 2157 module exchange { header "__utility/exchange.h" } 2158 module forward_like { header "__utility/forward_like.h" } 2159 module in_place { 2160 header "__utility/in_place.h" 2161 export std_core.type_traits.integral_constant 2162 } 2163 module integer_sequence { header "__utility/integer_sequence.h" } 2164 module is_pointer_in_range { header "__utility/is_pointer_in_range.h" } 2165 module is_valid_range { header "__utility/is_valid_range.h" } 2166 module move { header "__utility/move.h" } 2167 module no_destroy { header "__utility/no_destroy.h" } 2168 module pair { header "__utility/pair.h" } 2169 module piecewise_construct { header "__utility/piecewise_construct.h" } 2170 module priority_tag { header "__utility/priority_tag.h" } 2171 module private_constructor_tag { header "__utility/private_constructor_tag.h" } 2172 module rel_ops { header "__utility/rel_ops.h" } 2173 module scope_guard { header "__utility/scope_guard.h" } 2174 module small_buffer { header "__utility/small_buffer.h" } 2175 module swap { header "__utility/swap.h" } 2176 module to_underlying { header "__utility/to_underlying.h" } 2177 module unreachable { header "__utility/unreachable.h" } 2178 2179 header "utility" 2180 export * 2181 } 2182 2183 module valarray { 2184 header "valarray" 2185 export * 2186 } 2187 2188 module variant { 2189 module fwd { header "__fwd/variant.h" } 2190 module monostate { header "__variant/monostate.h" } 2191 2192 header "variant" 2193 export * 2194 } 2195 2196 module vector { 2197 module fwd { header "__fwd/vector.h" } 2198 2199 module comparison { header "__vector/comparison.h" } 2200 module container_traits { header "__vector/container_traits.h" } 2201 module erase { header "__vector/erase.h" } 2202 module vector_bool_formatter { 2203 header "__vector/vector_bool_formatter.h" 2204 2205 export std.format.formatter 2206 } 2207 module pmr { 2208 header "__vector/pmr.h" 2209 2210 export std.memory_resource.polymorphic_allocator 2211 } 2212 module swap { header "__vector/swap.h" } 2213 module vector_bool { 2214 header "__vector/vector_bool.h" 2215 export std.bit_reference 2216 export std.memory.allocator 2217 export std.vector.comparison 2218 export std.vector.fwd 2219 export std.vector.swap 2220 } 2221 module vector { 2222 header "__vector/vector.h" 2223 export std.iterator.bounded_iter 2224 export std.iterator.wrap_iter 2225 export std.memory.allocator 2226 export std.vector.comparison 2227 export std.vector.fwd 2228 export std.vector.swap 2229 } 2230 2231 header "vector" 2232 export std.iterator.reverse_iterator 2233 export * 2234 } 2235 2236 // Experimental C++ Standard Library interfaces 2237 module experimental { 2238 module iterator { header "experimental/iterator" } 2239 module memory { header "experimental/memory" } 2240 module propagate_const { header "experimental/propagate_const" } 2241 module type_traits { header "experimental/type_traits" } 2242 module utility { header "experimental/utility" } 2243 module simd { 2244 private header "experimental/__simd/aligned_tag.h" 2245 private header "experimental/__simd/declaration.h" 2246 private header "experimental/__simd/reference.h" 2247 private header "experimental/__simd/scalar.h" 2248 private header "experimental/__simd/simd_mask.h" 2249 private header "experimental/__simd/simd.h" 2250 private header "experimental/__simd/traits.h" 2251 private header "experimental/__simd/utility.h" 2252 private header "experimental/__simd/vec_ext.h" 2253 header "experimental/simd" 2254 export * 2255 } 2256 } 2257 2258 // Implementation detail headers that are private to libc++. These modules 2259 // must not be directly imported. 2260 module debug_utils { 2261 module randomize_range { header "__debug_utils/randomize_range.h" } 2262 module sanitizers { header "__debug_utils/sanitizers.h" } 2263 module strict_weak_ordering_check { header "__debug_utils/strict_weak_ordering_check.h" } 2264 } 2265 2266 module get_fwd { 2267 header "__fwd/get.h" 2268 export std_core.fwd.pair 2269 export std_core.fwd.tuple 2270 export std.array.fwd 2271 export std.complex.fwd 2272 export std.ranges.subrange_fwd 2273 export std.variant.fwd 2274 } 2275 2276 module pstl { 2277 module backend_fwd { 2278 header "__pstl/backend_fwd.h" 2279 } 2280 module backend { 2281 header "__pstl/backend.h" 2282 export * // need to export everything from whatever backend is currently configured 2283 } 2284 module backends { 2285 module default { 2286 header "__pstl/backends/default.h" 2287 export std_core.utility_core.empty 2288 } 2289 module libdispatch { 2290 header "__pstl/backends/libdispatch.h" 2291 export std.pstl.cpu_algos 2292 export std_core.utility_core.empty 2293 } 2294 module serial { 2295 header "__pstl/backends/serial.h" 2296 export std_core.utility_core.empty 2297 } 2298 module std_thread { 2299 header "__pstl/backends/std_thread.h" 2300 export std.pstl.cpu_algos 2301 export std_core.utility_core.empty 2302 } 2303 } 2304 module cpu_algos { 2305 module any_of { 2306 header "__pstl/cpu_algos/any_of.h" 2307 } 2308 module cpu_traits { 2309 header "__pstl/cpu_algos/cpu_traits.h" 2310 } 2311 module fill { 2312 header "__pstl/cpu_algos/fill.h" 2313 export std_core.utility_core.empty 2314 } 2315 module find_if { 2316 header "__pstl/cpu_algos/find_if.h" 2317 } 2318 module for_each { 2319 header "__pstl/cpu_algos/for_each.h" 2320 export std_core.utility_core.empty 2321 } 2322 module merge { 2323 header "__pstl/cpu_algos/merge.h" 2324 } 2325 module stable_sort { 2326 header "__pstl/cpu_algos/stable_sort.h" 2327 export std_core.utility_core.empty 2328 } 2329 module transform { 2330 header "__pstl/cpu_algos/transform.h" 2331 } 2332 module transform_reduce { 2333 header "__pstl/cpu_algos/transform_reduce.h" 2334 } 2335 } 2336 module dispatch { header "__pstl/dispatch.h" } 2337 module handle_exception { header "__pstl/handle_exception.h" } 2338 } 2339 2340 // Miscellaneous modules for top-level headers 2341 module bit_reference_fwd { 2342 header "__fwd/bit_reference.h" 2343 } 2344 module bit_reference { 2345 header "__bit_reference" 2346 export std.bit_reference_fwd 2347 } 2348 module hash_table { header "__hash_table" } 2349 module node_handle { header "__node_handle" } 2350 module split_buffer { header "__split_buffer" } 2351 module tree { header "__tree" } 2352 module std_mbstate_t { 2353 header "__std_mbstate_t.h" 2354 export * 2355 } 2356 module verbose_abort { 2357 header "__verbose_abort" 2358 } 2359 module verbose_trap { 2360 header "__verbose_trap" 2361 } 2362 module internal_assert { 2363 header "__assert" 2364 export * 2365 } 2366 module assertion_handler { 2367 header "__assertion_handler" // generated via CMake 2368 export * 2369 } 2370 2371 module undef_macros { 2372 textual header "__undef_macros" 2373 } 2374 2375 // This module needs to appear after __tree to work around issues with modules in Objective-C++ mode. 2376 module coroutine { 2377 module coroutine_handle { header "__coroutine/coroutine_handle.h" } 2378 module coroutine_traits { header "__coroutine/coroutine_traits.h" } 2379 module noop_coroutine_handle { header "__coroutine/noop_coroutine_handle.h" } 2380 module trivial_awaitables { header "__coroutine/trivial_awaitables.h" } 2381 2382 header "coroutine" 2383 export * 2384 } 2385} // module std 2386 2387// C compatibility headers 2388// 2389// These modules need to be their own top-level modules because they depend on the system-provided 2390// headers (via include_next), which are then free to include other C headers provided by libc++. 2391// If we group these headers in a single module, we would end up with circular dependencies. 2392module std_complex_h [system] { 2393 header "complex.h" 2394 export * 2395} 2396module std_ctype_h [system] { 2397 header "ctype.h" 2398 export * 2399} 2400module std_errno_h [system] { 2401 header "errno.h" 2402 export * 2403} 2404module std_fenv_h [system] { 2405 header "fenv.h" 2406 export * 2407} 2408module std_float_h [system] { 2409 header "float.h" 2410 export * 2411} 2412module std_inttypes_h [system] { 2413 header "inttypes.h" 2414 export * 2415} 2416module std_math_h [system] { 2417 header "math.h" 2418 export * 2419} 2420module std_stdatomic_h [system] { 2421 header "stdatomic.h" 2422 export * 2423} 2424module std_stdbool_h [system] { 2425 // <stdbool.h>'s __bool_true_false_are_defined macro requires textual inclusion. 2426 textual header "stdbool.h" 2427} 2428module std_stddef_h [system] { 2429 // <stddef.h> supports being included multiple times with different pre-defined macros 2430 textual header "stddef.h" 2431} 2432module std_stdio_h [system] { 2433 // <stdio.h> supports being included multiple times with different pre-defined macros 2434 textual header "stdio.h" 2435} 2436module std_stdlib_h [system] { 2437 // <stdlib.h> supports being included multiple times with different pre-defined macros 2438 textual header "stdlib.h" 2439} 2440module std_string_h [system] { 2441 header "string.h" 2442 export * 2443} 2444module std_tgmath_h [system] { 2445 header "tgmath.h" 2446 export * 2447} 2448module std_uchar_h [system] { 2449 header "uchar.h" 2450 export * 2451} 2452module std_wchar_h [system] { 2453 // <wchar.h> supports being included multiple times with different pre-defined macros 2454 textual header "wchar.h" 2455} 2456module std_wctype_h [system] { 2457 header "wctype.h" 2458 export * 2459} 2460 2461// This header is used by other C compatibility headers so it needs to be in its own module. 2462module std_private_mbstate_t [system] { 2463 header "__mbstate_t.h" 2464 export * 2465} 2466