1*0b57cec5SDimitry Andric// define the module for __config outside of the top level 'std' module 2*0b57cec5SDimitry Andric// since __config may be included from C headers which may create an 3*0b57cec5SDimitry Andric// include cycle. 4*0b57cec5SDimitry Andricmodule std_config [system] [extern_c] { 5*0b57cec5SDimitry Andric header "__config" 6*0b57cec5SDimitry Andric} 7*0b57cec5SDimitry Andric 8*0b57cec5SDimitry Andricmodule std [system] { 9*0b57cec5SDimitry Andric export std_config 10*0b57cec5SDimitry Andric // FIXME: The standard does not require that each of these submodules 11*0b57cec5SDimitry Andric // re-exports its imported modules. We should provide an alternative form of 12*0b57cec5SDimitry Andric // export that issues a warning if a name from the submodule is used, and 13*0b57cec5SDimitry Andric // use that to provide a 'strict mode' for libc++. 14*0b57cec5SDimitry Andric 15*0b57cec5SDimitry Andric // Deprecated C-compatibility headers. These can all be included from within 16*0b57cec5SDimitry Andric // an 'extern "C"' context. 17*0b57cec5SDimitry Andric module depr [extern_c] { 18*0b57cec5SDimitry Andric // <assert.h> provided by C library. 19*0b57cec5SDimitry Andric module ctype_h { 20*0b57cec5SDimitry Andric header "ctype.h" 21*0b57cec5SDimitry Andric export * 22*0b57cec5SDimitry Andric } 23*0b57cec5SDimitry Andric module errno_h { 24*0b57cec5SDimitry Andric header "errno.h" 25*0b57cec5SDimitry Andric export * 26*0b57cec5SDimitry Andric } 27*0b57cec5SDimitry Andric module fenv_h { 28*0b57cec5SDimitry Andric header "fenv.h" 29*0b57cec5SDimitry Andric export * 30*0b57cec5SDimitry Andric } 31*0b57cec5SDimitry Andric // <float.h> provided by compiler or C library. 32*0b57cec5SDimitry Andric module inttypes_h { 33*0b57cec5SDimitry Andric header "inttypes.h" 34*0b57cec5SDimitry Andric export stdint_h 35*0b57cec5SDimitry Andric export * 36*0b57cec5SDimitry Andric } 37*0b57cec5SDimitry Andric // <iso646.h> provided by compiler. 38*0b57cec5SDimitry Andric // <limits.h> provided by compiler or C library. 39*0b57cec5SDimitry Andric module locale_h { 40*0b57cec5SDimitry Andric header "locale.h" 41*0b57cec5SDimitry Andric export * 42*0b57cec5SDimitry Andric } 43*0b57cec5SDimitry Andric module math_h { 44*0b57cec5SDimitry Andric header "math.h" 45*0b57cec5SDimitry Andric export * 46*0b57cec5SDimitry Andric } 47*0b57cec5SDimitry Andric module setjmp_h { 48*0b57cec5SDimitry Andric header "setjmp.h" 49*0b57cec5SDimitry Andric export * 50*0b57cec5SDimitry Andric } 51*0b57cec5SDimitry Andric // FIXME: <stdalign.h> is missing. 52*0b57cec5SDimitry Andric // <signal.h> provided by C library. 53*0b57cec5SDimitry Andric // <stdarg.h> provided by compiler. 54*0b57cec5SDimitry Andric // <stdbool.h> provided by compiler. 55*0b57cec5SDimitry Andric module stddef_h { 56*0b57cec5SDimitry Andric // <stddef.h>'s __need_* macros require textual inclusion. 57*0b57cec5SDimitry Andric textual header "stddef.h" 58*0b57cec5SDimitry Andric } 59*0b57cec5SDimitry Andric module stdint_h { 60*0b57cec5SDimitry Andric header "stdint.h" 61*0b57cec5SDimitry Andric export * 62*0b57cec5SDimitry Andric // FIXME: This module only exists on OS X and for some reason the 63*0b57cec5SDimitry Andric // wildcard above doesn't export it. 64*0b57cec5SDimitry Andric export Darwin.C.stdint 65*0b57cec5SDimitry Andric } 66*0b57cec5SDimitry Andric module stdio_h { 67*0b57cec5SDimitry Andric // <stdio.h>'s __need_* macros require textual inclusion. 68*0b57cec5SDimitry Andric textual header "stdio.h" 69*0b57cec5SDimitry Andric export * 70*0b57cec5SDimitry Andric export Darwin.C.stdio 71*0b57cec5SDimitry Andric } 72*0b57cec5SDimitry Andric module stdlib_h { 73*0b57cec5SDimitry Andric // <stdlib.h>'s __need_* macros require textual inclusion. 74*0b57cec5SDimitry Andric textual header "stdlib.h" 75*0b57cec5SDimitry Andric export * 76*0b57cec5SDimitry Andric } 77*0b57cec5SDimitry Andric module string_h { 78*0b57cec5SDimitry Andric header "string.h" 79*0b57cec5SDimitry Andric export * 80*0b57cec5SDimitry Andric } 81*0b57cec5SDimitry Andric // FIXME: <uchar.h> is missing. 82*0b57cec5SDimitry Andric // <time.h> provided by C library. 83*0b57cec5SDimitry Andric module wchar_h { 84*0b57cec5SDimitry Andric // <wchar.h>'s __need_* macros require textual inclusion. 85*0b57cec5SDimitry Andric textual header "wchar.h" 86*0b57cec5SDimitry Andric export * 87*0b57cec5SDimitry Andric } 88*0b57cec5SDimitry Andric module wctype_h { 89*0b57cec5SDimitry Andric header "wctype.h" 90*0b57cec5SDimitry Andric export * 91*0b57cec5SDimitry Andric } 92*0b57cec5SDimitry Andric } 93*0b57cec5SDimitry Andric 94*0b57cec5SDimitry Andric // <complex.h> and <tgmath.h> are not C headers in any real sense, do not 95*0b57cec5SDimitry Andric // allow their use in extern "C" contexts. 96*0b57cec5SDimitry Andric module complex_h { 97*0b57cec5SDimitry Andric header "complex.h" 98*0b57cec5SDimitry Andric export ccomplex 99*0b57cec5SDimitry Andric export * 100*0b57cec5SDimitry Andric } 101*0b57cec5SDimitry Andric module tgmath_h { 102*0b57cec5SDimitry Andric header "tgmath.h" 103*0b57cec5SDimitry Andric export ccomplex 104*0b57cec5SDimitry Andric export cmath 105*0b57cec5SDimitry Andric export * 106*0b57cec5SDimitry Andric } 107*0b57cec5SDimitry Andric 108*0b57cec5SDimitry Andric // C compatibility headers. 109*0b57cec5SDimitry Andric module compat { 110*0b57cec5SDimitry Andric module cassert { 111*0b57cec5SDimitry Andric // <cassert>'s use of NDEBUG requires textual inclusion. 112*0b57cec5SDimitry Andric textual header "cassert" 113*0b57cec5SDimitry Andric } 114*0b57cec5SDimitry Andric module ccomplex { 115*0b57cec5SDimitry Andric header "ccomplex" 116*0b57cec5SDimitry Andric export complex 117*0b57cec5SDimitry Andric export * 118*0b57cec5SDimitry Andric } 119*0b57cec5SDimitry Andric module cctype { 120*0b57cec5SDimitry Andric header "cctype" 121*0b57cec5SDimitry Andric export * 122*0b57cec5SDimitry Andric } 123*0b57cec5SDimitry Andric module cerrno { 124*0b57cec5SDimitry Andric header "cerrno" 125*0b57cec5SDimitry Andric export * 126*0b57cec5SDimitry Andric } 127*0b57cec5SDimitry Andric module cfenv { 128*0b57cec5SDimitry Andric header "cfenv" 129*0b57cec5SDimitry Andric export * 130*0b57cec5SDimitry Andric } 131*0b57cec5SDimitry Andric module cfloat { 132*0b57cec5SDimitry Andric header "cfloat" 133*0b57cec5SDimitry Andric export * 134*0b57cec5SDimitry Andric } 135*0b57cec5SDimitry Andric module cinttypes { 136*0b57cec5SDimitry Andric header "cinttypes" 137*0b57cec5SDimitry Andric export cstdint 138*0b57cec5SDimitry Andric export * 139*0b57cec5SDimitry Andric } 140*0b57cec5SDimitry Andric module ciso646 { 141*0b57cec5SDimitry Andric header "ciso646" 142*0b57cec5SDimitry Andric export * 143*0b57cec5SDimitry Andric } 144*0b57cec5SDimitry Andric module climits { 145*0b57cec5SDimitry Andric header "climits" 146*0b57cec5SDimitry Andric export * 147*0b57cec5SDimitry Andric } 148*0b57cec5SDimitry Andric module clocale { 149*0b57cec5SDimitry Andric header "clocale" 150*0b57cec5SDimitry Andric export * 151*0b57cec5SDimitry Andric } 152*0b57cec5SDimitry Andric module cmath { 153*0b57cec5SDimitry Andric header "cmath" 154*0b57cec5SDimitry Andric export * 155*0b57cec5SDimitry Andric } 156*0b57cec5SDimitry Andric module csetjmp { 157*0b57cec5SDimitry Andric header "csetjmp" 158*0b57cec5SDimitry Andric export * 159*0b57cec5SDimitry Andric } 160*0b57cec5SDimitry Andric module csignal { 161*0b57cec5SDimitry Andric header "csignal" 162*0b57cec5SDimitry Andric export * 163*0b57cec5SDimitry Andric } 164*0b57cec5SDimitry Andric // FIXME: <cstdalign> is missing. 165*0b57cec5SDimitry Andric module cstdarg { 166*0b57cec5SDimitry Andric header "cstdarg" 167*0b57cec5SDimitry Andric export * 168*0b57cec5SDimitry Andric } 169*0b57cec5SDimitry Andric module cstdbool { 170*0b57cec5SDimitry Andric header "cstdbool" 171*0b57cec5SDimitry Andric export * 172*0b57cec5SDimitry Andric } 173*0b57cec5SDimitry Andric module cstddef { 174*0b57cec5SDimitry Andric header "cstddef" 175*0b57cec5SDimitry Andric export * 176*0b57cec5SDimitry Andric } 177*0b57cec5SDimitry Andric module cstdint { 178*0b57cec5SDimitry Andric header "cstdint" 179*0b57cec5SDimitry Andric export depr.stdint_h 180*0b57cec5SDimitry Andric export * 181*0b57cec5SDimitry Andric } 182*0b57cec5SDimitry Andric module cstdio { 183*0b57cec5SDimitry Andric header "cstdio" 184*0b57cec5SDimitry Andric export * 185*0b57cec5SDimitry Andric } 186*0b57cec5SDimitry Andric module cstdlib { 187*0b57cec5SDimitry Andric header "cstdlib" 188*0b57cec5SDimitry Andric export * 189*0b57cec5SDimitry Andric } 190*0b57cec5SDimitry Andric module cstring { 191*0b57cec5SDimitry Andric header "cstring" 192*0b57cec5SDimitry Andric export * 193*0b57cec5SDimitry Andric } 194*0b57cec5SDimitry Andric module ctgmath { 195*0b57cec5SDimitry Andric header "ctgmath" 196*0b57cec5SDimitry Andric export ccomplex 197*0b57cec5SDimitry Andric export cmath 198*0b57cec5SDimitry Andric export * 199*0b57cec5SDimitry Andric } 200*0b57cec5SDimitry Andric module ctime { 201*0b57cec5SDimitry Andric header "ctime" 202*0b57cec5SDimitry Andric export * 203*0b57cec5SDimitry Andric } 204*0b57cec5SDimitry Andric // FIXME: <cuchar> is missing. 205*0b57cec5SDimitry Andric module cwchar { 206*0b57cec5SDimitry Andric header "cwchar" 207*0b57cec5SDimitry Andric export depr.stdio_h 208*0b57cec5SDimitry Andric export * 209*0b57cec5SDimitry Andric } 210*0b57cec5SDimitry Andric module cwctype { 211*0b57cec5SDimitry Andric header "cwctype" 212*0b57cec5SDimitry Andric export * 213*0b57cec5SDimitry Andric } 214*0b57cec5SDimitry Andric } 215*0b57cec5SDimitry Andric 216*0b57cec5SDimitry Andric module algorithm { 217*0b57cec5SDimitry Andric header "algorithm" 218*0b57cec5SDimitry Andric export initializer_list 219*0b57cec5SDimitry Andric export * 220*0b57cec5SDimitry Andric } 221*0b57cec5SDimitry Andric module any { 222*0b57cec5SDimitry Andric header "any" 223*0b57cec5SDimitry Andric export * 224*0b57cec5SDimitry Andric } 225*0b57cec5SDimitry Andric module array { 226*0b57cec5SDimitry Andric header "array" 227*0b57cec5SDimitry Andric export initializer_list 228*0b57cec5SDimitry Andric export * 229*0b57cec5SDimitry Andric } 230*0b57cec5SDimitry Andric module atomic { 231*0b57cec5SDimitry Andric header "atomic" 232*0b57cec5SDimitry Andric export * 233*0b57cec5SDimitry Andric } 2345ffd83dbSDimitry Andric module barrier { 2355ffd83dbSDimitry Andric requires cplusplus14 2365ffd83dbSDimitry Andric header "barrier" 2375ffd83dbSDimitry Andric export * 2385ffd83dbSDimitry Andric } 239*0b57cec5SDimitry Andric module bit { 240*0b57cec5SDimitry Andric header "bit" 241*0b57cec5SDimitry Andric export * 242*0b57cec5SDimitry Andric } 243*0b57cec5SDimitry Andric module bitset { 244*0b57cec5SDimitry Andric header "bitset" 245*0b57cec5SDimitry Andric export string 246*0b57cec5SDimitry Andric export iosfwd 247*0b57cec5SDimitry Andric export * 248*0b57cec5SDimitry Andric } 249*0b57cec5SDimitry Andric // No submodule for cassert. It fundamentally needs repeated, textual inclusion. 250*0b57cec5SDimitry Andric module charconv { 251*0b57cec5SDimitry Andric header "charconv" 252*0b57cec5SDimitry Andric export * 253*0b57cec5SDimitry Andric } 254*0b57cec5SDimitry Andric module chrono { 255*0b57cec5SDimitry Andric header "chrono" 256*0b57cec5SDimitry Andric export * 257*0b57cec5SDimitry Andric } 258*0b57cec5SDimitry Andric module codecvt { 259*0b57cec5SDimitry Andric header "codecvt" 260*0b57cec5SDimitry Andric export * 261*0b57cec5SDimitry Andric } 262*0b57cec5SDimitry Andric module compare { 263*0b57cec5SDimitry Andric header "compare" 264*0b57cec5SDimitry Andric export * 265*0b57cec5SDimitry Andric } 266*0b57cec5SDimitry Andric module complex { 267*0b57cec5SDimitry Andric header "complex" 268*0b57cec5SDimitry Andric export * 269*0b57cec5SDimitry Andric } 2705ffd83dbSDimitry Andric module concepts { 2715ffd83dbSDimitry Andric header "concepts" 2725ffd83dbSDimitry Andric export * 2735ffd83dbSDimitry Andric } 274*0b57cec5SDimitry Andric module condition_variable { 275*0b57cec5SDimitry Andric header "condition_variable" 276*0b57cec5SDimitry Andric export * 277*0b57cec5SDimitry Andric } 278*0b57cec5SDimitry Andric module deque { 279*0b57cec5SDimitry Andric header "deque" 280*0b57cec5SDimitry Andric export initializer_list 281*0b57cec5SDimitry Andric export * 282*0b57cec5SDimitry Andric } 283*0b57cec5SDimitry Andric module exception { 284*0b57cec5SDimitry Andric header "exception" 285*0b57cec5SDimitry Andric export * 286*0b57cec5SDimitry Andric } 287e40139ffSDimitry Andric module execution { 288e40139ffSDimitry Andric header "execution" 289e40139ffSDimitry Andric export * 290e40139ffSDimitry Andric } 291*0b57cec5SDimitry Andric module filesystem { 292*0b57cec5SDimitry Andric header "filesystem" 293*0b57cec5SDimitry Andric export * 294*0b57cec5SDimitry Andric } 295*0b57cec5SDimitry Andric module forward_list { 296*0b57cec5SDimitry Andric header "forward_list" 297*0b57cec5SDimitry Andric export initializer_list 298*0b57cec5SDimitry Andric export * 299*0b57cec5SDimitry Andric } 300*0b57cec5SDimitry Andric module fstream { 301*0b57cec5SDimitry Andric header "fstream" 302*0b57cec5SDimitry Andric export * 303*0b57cec5SDimitry Andric } 304*0b57cec5SDimitry Andric module functional { 305*0b57cec5SDimitry Andric header "functional" 306*0b57cec5SDimitry Andric export * 307*0b57cec5SDimitry Andric } 308*0b57cec5SDimitry Andric module future { 309*0b57cec5SDimitry Andric header "future" 310*0b57cec5SDimitry Andric export * 311*0b57cec5SDimitry Andric } 312*0b57cec5SDimitry Andric module initializer_list { 313*0b57cec5SDimitry Andric header "initializer_list" 314*0b57cec5SDimitry Andric export * 315*0b57cec5SDimitry Andric } 316*0b57cec5SDimitry Andric module iomanip { 317*0b57cec5SDimitry Andric header "iomanip" 318*0b57cec5SDimitry Andric export * 319*0b57cec5SDimitry Andric } 320*0b57cec5SDimitry Andric module ios { 321*0b57cec5SDimitry Andric header "ios" 322*0b57cec5SDimitry Andric export iosfwd 323*0b57cec5SDimitry Andric export * 324*0b57cec5SDimitry Andric } 325*0b57cec5SDimitry Andric module iosfwd { 326*0b57cec5SDimitry Andric header "iosfwd" 327*0b57cec5SDimitry Andric export * 328*0b57cec5SDimitry Andric } 329*0b57cec5SDimitry Andric module iostream { 330*0b57cec5SDimitry Andric header "iostream" 331*0b57cec5SDimitry Andric export ios 332*0b57cec5SDimitry Andric export streambuf 333*0b57cec5SDimitry Andric export istream 334*0b57cec5SDimitry Andric export ostream 335*0b57cec5SDimitry Andric export * 336*0b57cec5SDimitry Andric } 337*0b57cec5SDimitry Andric module istream { 338*0b57cec5SDimitry Andric header "istream" 339*0b57cec5SDimitry Andric // FIXME: should re-export ios, streambuf? 340*0b57cec5SDimitry Andric export * 341*0b57cec5SDimitry Andric } 342*0b57cec5SDimitry Andric module iterator { 343*0b57cec5SDimitry Andric header "iterator" 344*0b57cec5SDimitry Andric export * 345*0b57cec5SDimitry Andric } 3465ffd83dbSDimitry Andric module latch { 3475ffd83dbSDimitry Andric requires cplusplus14 3485ffd83dbSDimitry Andric header "latch" 3495ffd83dbSDimitry Andric export * 3505ffd83dbSDimitry Andric } 351*0b57cec5SDimitry Andric module limits { 352*0b57cec5SDimitry Andric header "limits" 353*0b57cec5SDimitry Andric export * 354*0b57cec5SDimitry Andric } 355*0b57cec5SDimitry Andric module list { 356*0b57cec5SDimitry Andric header "list" 357*0b57cec5SDimitry Andric export initializer_list 358*0b57cec5SDimitry Andric export * 359*0b57cec5SDimitry Andric } 360*0b57cec5SDimitry Andric module locale { 361*0b57cec5SDimitry Andric header "locale" 362*0b57cec5SDimitry Andric export * 363*0b57cec5SDimitry Andric } 364*0b57cec5SDimitry Andric module map { 365*0b57cec5SDimitry Andric header "map" 366*0b57cec5SDimitry Andric export initializer_list 367*0b57cec5SDimitry Andric export * 368*0b57cec5SDimitry Andric } 369*0b57cec5SDimitry Andric module memory { 370*0b57cec5SDimitry Andric header "memory" 371*0b57cec5SDimitry Andric export * 372*0b57cec5SDimitry Andric } 373*0b57cec5SDimitry Andric module mutex { 374*0b57cec5SDimitry Andric header "mutex" 375*0b57cec5SDimitry Andric export * 376*0b57cec5SDimitry Andric } 377*0b57cec5SDimitry Andric module new { 378*0b57cec5SDimitry Andric header "new" 379*0b57cec5SDimitry Andric export * 380*0b57cec5SDimitry Andric } 3815ffd83dbSDimitry Andric module numbers { 3825ffd83dbSDimitry Andric header "numbers" 3835ffd83dbSDimitry Andric export * 3845ffd83dbSDimitry Andric } 385*0b57cec5SDimitry Andric module numeric { 386*0b57cec5SDimitry Andric header "numeric" 387*0b57cec5SDimitry Andric export * 388*0b57cec5SDimitry Andric } 389*0b57cec5SDimitry Andric module optional { 390*0b57cec5SDimitry Andric header "optional" 391*0b57cec5SDimitry Andric export * 392*0b57cec5SDimitry Andric } 393*0b57cec5SDimitry Andric module ostream { 394*0b57cec5SDimitry Andric header "ostream" 395*0b57cec5SDimitry Andric // FIXME: should re-export ios, streambuf? 396*0b57cec5SDimitry Andric export * 397*0b57cec5SDimitry Andric } 398*0b57cec5SDimitry Andric module queue { 399*0b57cec5SDimitry Andric header "queue" 400*0b57cec5SDimitry Andric export initializer_list 401*0b57cec5SDimitry Andric export * 402*0b57cec5SDimitry Andric } 403*0b57cec5SDimitry Andric module random { 404*0b57cec5SDimitry Andric header "random" 405*0b57cec5SDimitry Andric export initializer_list 406*0b57cec5SDimitry Andric export * 407*0b57cec5SDimitry Andric } 408*0b57cec5SDimitry Andric module ratio { 409*0b57cec5SDimitry Andric header "ratio" 410*0b57cec5SDimitry Andric export * 411*0b57cec5SDimitry Andric } 412*0b57cec5SDimitry Andric module regex { 413*0b57cec5SDimitry Andric header "regex" 414*0b57cec5SDimitry Andric export initializer_list 415*0b57cec5SDimitry Andric export * 416*0b57cec5SDimitry Andric } 417*0b57cec5SDimitry Andric module scoped_allocator { 418*0b57cec5SDimitry Andric header "scoped_allocator" 419*0b57cec5SDimitry Andric export * 420*0b57cec5SDimitry Andric } 4215ffd83dbSDimitry Andric module semaphore { 4225ffd83dbSDimitry Andric requires cplusplus14 4235ffd83dbSDimitry Andric header "semaphore" 4245ffd83dbSDimitry Andric export * 4255ffd83dbSDimitry Andric } 426*0b57cec5SDimitry Andric module set { 427*0b57cec5SDimitry Andric header "set" 428*0b57cec5SDimitry Andric export initializer_list 429*0b57cec5SDimitry Andric export * 430*0b57cec5SDimitry Andric } 431*0b57cec5SDimitry Andric module sstream { 432*0b57cec5SDimitry Andric header "sstream" 433*0b57cec5SDimitry Andric // FIXME: should re-export istream, ostream, ios, streambuf, string? 434*0b57cec5SDimitry Andric export * 435*0b57cec5SDimitry Andric } 436*0b57cec5SDimitry Andric module stack { 437*0b57cec5SDimitry Andric header "stack" 438*0b57cec5SDimitry Andric export initializer_list 439*0b57cec5SDimitry Andric export * 440*0b57cec5SDimitry Andric } 441*0b57cec5SDimitry Andric module stdexcept { 442*0b57cec5SDimitry Andric header "stdexcept" 443*0b57cec5SDimitry Andric export * 444*0b57cec5SDimitry Andric } 445*0b57cec5SDimitry Andric module streambuf { 446*0b57cec5SDimitry Andric header "streambuf" 447*0b57cec5SDimitry Andric export * 448*0b57cec5SDimitry Andric } 449*0b57cec5SDimitry Andric module string { 450*0b57cec5SDimitry Andric header "string" 451*0b57cec5SDimitry Andric export initializer_list 452*0b57cec5SDimitry Andric export string_view 453*0b57cec5SDimitry Andric export __string 454*0b57cec5SDimitry Andric export * 455*0b57cec5SDimitry Andric } 456*0b57cec5SDimitry Andric module string_view { 457*0b57cec5SDimitry Andric header "string_view" 458*0b57cec5SDimitry Andric export initializer_list 459*0b57cec5SDimitry Andric export __string 460*0b57cec5SDimitry Andric export * 461*0b57cec5SDimitry Andric } 462*0b57cec5SDimitry Andric module strstream { 463*0b57cec5SDimitry Andric header "strstream" 464*0b57cec5SDimitry Andric export * 465*0b57cec5SDimitry Andric } 466*0b57cec5SDimitry Andric module system_error { 467*0b57cec5SDimitry Andric header "system_error" 468*0b57cec5SDimitry Andric export * 469*0b57cec5SDimitry Andric } 470*0b57cec5SDimitry Andric module thread { 471*0b57cec5SDimitry Andric header "thread" 472*0b57cec5SDimitry Andric export * 473*0b57cec5SDimitry Andric } 474*0b57cec5SDimitry Andric module tuple { 475*0b57cec5SDimitry Andric header "tuple" 476*0b57cec5SDimitry Andric export * 477*0b57cec5SDimitry Andric } 478*0b57cec5SDimitry Andric module type_traits { 479*0b57cec5SDimitry Andric header "type_traits" 480*0b57cec5SDimitry Andric export * 481*0b57cec5SDimitry Andric } 482*0b57cec5SDimitry Andric module typeindex { 483*0b57cec5SDimitry Andric header "typeindex" 484*0b57cec5SDimitry Andric export * 485*0b57cec5SDimitry Andric } 486*0b57cec5SDimitry Andric module typeinfo { 487*0b57cec5SDimitry Andric header "typeinfo" 488*0b57cec5SDimitry Andric export * 489*0b57cec5SDimitry Andric } 490*0b57cec5SDimitry Andric module unordered_map { 491*0b57cec5SDimitry Andric header "unordered_map" 492*0b57cec5SDimitry Andric export initializer_list 493*0b57cec5SDimitry Andric export * 494*0b57cec5SDimitry Andric } 495*0b57cec5SDimitry Andric module unordered_set { 496*0b57cec5SDimitry Andric header "unordered_set" 497*0b57cec5SDimitry Andric export initializer_list 498*0b57cec5SDimitry Andric export * 499*0b57cec5SDimitry Andric } 500*0b57cec5SDimitry Andric module utility { 501*0b57cec5SDimitry Andric header "utility" 502*0b57cec5SDimitry Andric export initializer_list 503*0b57cec5SDimitry Andric export * 504*0b57cec5SDimitry Andric } 505*0b57cec5SDimitry Andric module valarray { 506*0b57cec5SDimitry Andric header "valarray" 507*0b57cec5SDimitry Andric export initializer_list 508*0b57cec5SDimitry Andric export * 509*0b57cec5SDimitry Andric } 510*0b57cec5SDimitry Andric module variant { 511*0b57cec5SDimitry Andric header "variant" 512*0b57cec5SDimitry Andric export * 513*0b57cec5SDimitry Andric } 514*0b57cec5SDimitry Andric module vector { 515*0b57cec5SDimitry Andric header "vector" 516*0b57cec5SDimitry Andric export initializer_list 517*0b57cec5SDimitry Andric export * 518*0b57cec5SDimitry Andric } 519*0b57cec5SDimitry Andric module version { 520*0b57cec5SDimitry Andric header "version" 521*0b57cec5SDimitry Andric export * 522*0b57cec5SDimitry Andric } 523*0b57cec5SDimitry Andric 524*0b57cec5SDimitry Andric // FIXME: These should be private. 525*0b57cec5SDimitry Andric module __bit_reference { header "__bit_reference" export * } 526*0b57cec5SDimitry Andric module __debug { header "__debug" export * } 527*0b57cec5SDimitry Andric module __errc { header "__errc" export * } 528*0b57cec5SDimitry Andric module __functional_base { header "__functional_base" export * } 529*0b57cec5SDimitry Andric module __hash_table { header "__hash_table" export * } 530*0b57cec5SDimitry Andric module __locale { header "__locale" export * } 531*0b57cec5SDimitry Andric module __mutex_base { header "__mutex_base" export * } 532*0b57cec5SDimitry Andric module __split_buffer { header "__split_buffer" export * } 533*0b57cec5SDimitry Andric module __sso_allocator { header "__sso_allocator" export * } 534*0b57cec5SDimitry Andric module __std_stream { header "__std_stream" export * } 535*0b57cec5SDimitry Andric module __string { header "__string" export * } 536*0b57cec5SDimitry Andric module __tree { header "__tree" export * } 537*0b57cec5SDimitry Andric module __tuple { header "__tuple" export * } 538*0b57cec5SDimitry Andric module __undef_macros { header "__undef_macros" export * } 539*0b57cec5SDimitry Andric module __node_handle { header "__node_handle" export * } 540*0b57cec5SDimitry Andric 541*0b57cec5SDimitry Andric module experimental { 542*0b57cec5SDimitry Andric requires cplusplus11 543*0b57cec5SDimitry Andric 544*0b57cec5SDimitry Andric module algorithm { 545*0b57cec5SDimitry Andric header "experimental/algorithm" 546*0b57cec5SDimitry Andric export * 547*0b57cec5SDimitry Andric } 548*0b57cec5SDimitry Andric module coroutine { 549*0b57cec5SDimitry Andric requires coroutines 550*0b57cec5SDimitry Andric header "experimental/coroutine" 551*0b57cec5SDimitry Andric export * 552*0b57cec5SDimitry Andric } 553*0b57cec5SDimitry Andric module deque { 554*0b57cec5SDimitry Andric header "experimental/deque" 555*0b57cec5SDimitry Andric export * 556*0b57cec5SDimitry Andric } 557*0b57cec5SDimitry Andric module filesystem { 558*0b57cec5SDimitry Andric header "experimental/filesystem" 559*0b57cec5SDimitry Andric export * 560*0b57cec5SDimitry Andric } 561*0b57cec5SDimitry Andric module forward_list { 562*0b57cec5SDimitry Andric header "experimental/forward_list" 563*0b57cec5SDimitry Andric export * 564*0b57cec5SDimitry Andric } 565*0b57cec5SDimitry Andric module functional { 566*0b57cec5SDimitry Andric header "experimental/functional" 567*0b57cec5SDimitry Andric export * 568*0b57cec5SDimitry Andric } 569*0b57cec5SDimitry Andric module iterator { 570*0b57cec5SDimitry Andric header "experimental/iterator" 571*0b57cec5SDimitry Andric export * 572*0b57cec5SDimitry Andric } 573*0b57cec5SDimitry Andric module list { 574*0b57cec5SDimitry Andric header "experimental/list" 575*0b57cec5SDimitry Andric export * 576*0b57cec5SDimitry Andric } 577*0b57cec5SDimitry Andric module map { 578*0b57cec5SDimitry Andric header "experimental/map" 579*0b57cec5SDimitry Andric export * 580*0b57cec5SDimitry Andric } 581*0b57cec5SDimitry Andric module memory_resource { 582*0b57cec5SDimitry Andric header "experimental/memory_resource" 583*0b57cec5SDimitry Andric export * 584*0b57cec5SDimitry Andric } 585*0b57cec5SDimitry Andric module propagate_const { 586*0b57cec5SDimitry Andric header "experimental/propagate_const" 587*0b57cec5SDimitry Andric export * 588*0b57cec5SDimitry Andric } 589*0b57cec5SDimitry Andric module regex { 590*0b57cec5SDimitry Andric header "experimental/regex" 591*0b57cec5SDimitry Andric export * 592*0b57cec5SDimitry Andric } 593*0b57cec5SDimitry Andric module simd { 594*0b57cec5SDimitry Andric header "experimental/simd" 595*0b57cec5SDimitry Andric export * 596*0b57cec5SDimitry Andric } 597*0b57cec5SDimitry Andric module set { 598*0b57cec5SDimitry Andric header "experimental/set" 599*0b57cec5SDimitry Andric export * 600*0b57cec5SDimitry Andric } 601*0b57cec5SDimitry Andric module span { 602*0b57cec5SDimitry Andric header "span" 603*0b57cec5SDimitry Andric export * 604*0b57cec5SDimitry Andric } 605*0b57cec5SDimitry Andric module string { 606*0b57cec5SDimitry Andric header "experimental/string" 607*0b57cec5SDimitry Andric export * 608*0b57cec5SDimitry Andric } 609*0b57cec5SDimitry Andric module type_traits { 610*0b57cec5SDimitry Andric header "experimental/type_traits" 611*0b57cec5SDimitry Andric export * 612*0b57cec5SDimitry Andric } 613*0b57cec5SDimitry Andric module unordered_map { 614*0b57cec5SDimitry Andric header "experimental/unordered_map" 615*0b57cec5SDimitry Andric export * 616*0b57cec5SDimitry Andric } 617*0b57cec5SDimitry Andric module unordered_set { 618*0b57cec5SDimitry Andric header "experimental/unordered_set" 619*0b57cec5SDimitry Andric export * 620*0b57cec5SDimitry Andric } 621*0b57cec5SDimitry Andric module utility { 622*0b57cec5SDimitry Andric header "experimental/utility" 623*0b57cec5SDimitry Andric export * 624*0b57cec5SDimitry Andric } 625*0b57cec5SDimitry Andric module vector { 626*0b57cec5SDimitry Andric header "experimental/vector" 627*0b57cec5SDimitry Andric export * 628*0b57cec5SDimitry Andric } 629*0b57cec5SDimitry Andric // FIXME these should be private 630*0b57cec5SDimitry Andric module __memory { 631*0b57cec5SDimitry Andric header "experimental/__memory" 632*0b57cec5SDimitry Andric export * 633*0b57cec5SDimitry Andric } 634*0b57cec5SDimitry Andric } // end experimental 635*0b57cec5SDimitry Andric} 636