Skip to content

Commit d3ba807

Browse files
hahnjoAxel-Naumann
authored andcommitted
[modulemap] Extend for C++20 with gcc13
Add more headers to solve merging issues with C++20.
1 parent f162e33 commit d3ba807

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

interpreter/cling/include/cling/std.modulemap

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -304,6 +304,11 @@ module "std" [system] {
304304
// export *
305305
// header "setjmp.h"
306306
// }
307+
module "span" {
308+
requires cplusplus20
309+
export *
310+
header "span"
311+
}
307312
module "sstream" {
308313
export *
309314
header "sstream"
@@ -446,6 +451,11 @@ module "std" [system] {
446451
export *
447452
header "bits/exception_defines.h"
448453
}
454+
module "bits_invoke_h" {
455+
export *
456+
export bits_move_h
457+
header "bits/invoke.h"
458+
}
449459
module "bits/ios_base.h" {
450460
export *
451461
header "bits/ios_base.h"
@@ -459,6 +469,10 @@ module "std" [system] {
459469
export *
460470
header "bits/locale_facets.h"
461471
}
472+
module "bits_move_h" {
473+
export *
474+
header "bits/move.h"
475+
}
462476
module "bits_stl_algobase_h" {
463477
export *
464478
header "bits/stl_algobase.h"
@@ -516,6 +530,13 @@ module "std" [system] {
516530
export initializer_list
517531
header "bits/ranges_base.h"
518532
}
533+
module "bits/ranges_util.h" [optional] {
534+
requires cplusplus20
535+
export *
536+
export bits_invoke_h
537+
export utility
538+
header "bits/ranges_util.h"
539+
}
519540
module "bits_stl_algo_h" {
520541
export *
521542
header "bits/stl_algo.h"

0 commit comments

Comments
 (0)