@@ -17,38 +17,17 @@ module;
17
17
18
18
// The headers of Table 24: C++ library headers [tab:headers.cpp]
19
19
// and the headers of Table 25: C++ headers for C library facilities [tab:headers.cpp.c]
20
- #include < algorithm>
21
- #include < any>
22
- #include < array>
23
- #if !defined(_LIBCPP_HAS_NO_ATOMIC_HEADER)
24
- # include < atomic>
25
- #endif
26
- #if !defined(_LIBCPP_HAS_NO_THREADS)
27
- # include < barrier>
28
- #endif
29
- #include < bit>
30
- #include < bitset>
31
20
#include < cassert>
32
21
#include < cctype>
33
22
#include < cerrno>
34
23
#include < cfenv>
35
24
#include < cfloat>
36
- #include < charconv>
37
- #include < chrono>
38
25
#include < cinttypes>
39
26
#include < climits>
40
27
#if !defined(_LIBCPP_HAS_NO_LOCALIZATION)
41
28
# include < clocale>
42
29
#endif
43
30
#include < cmath>
44
- #if !defined(_LIBCPP_HAS_NO_LOCALIZATION)
45
- # include < codecvt>
46
- #endif
47
- #include < compare>
48
- #include < complex>
49
- #include < concepts>
50
- #include < condition_variable>
51
- #include < coroutine>
52
31
#include < csetjmp>
53
32
#include < csignal>
54
33
#include < cstdarg>
@@ -65,107 +44,6 @@ module;
65
44
#if !defined(_LIBCPP_HAS_NO_WIDE_CHARACTERS)
66
45
# include < cwctype>
67
46
#endif
68
- #include < deque>
69
- #include < exception>
70
- #include < execution>
71
- #include < expected>
72
- #include < filesystem>
73
- #include < format>
74
- #include < forward_list>
75
- #if !defined(_LIBCPP_HAS_NO_LOCALIZATION)
76
- # include < fstream>
77
- #endif
78
- #include < functional>
79
- #if !defined(_LIBCPP_HAS_NO_THREADS)
80
- # include < future>
81
- #endif
82
- #include < initializer_list>
83
- #if !defined(_LIBCPP_HAS_NO_LOCALIZATION)
84
- # include < iomanip>
85
- #endif
86
- #if !defined(_LIBCPP_HAS_NO_LOCALIZATION)
87
- # include < ios>
88
- #endif
89
- #include < iosfwd>
90
- #if !defined(_LIBCPP_HAS_NO_LOCALIZATION)
91
- # include < iostream>
92
- #endif
93
- #if !defined(_LIBCPP_HAS_NO_LOCALIZATION)
94
- # include < istream>
95
- #endif
96
- #include < iterator>
97
- #if !defined(_LIBCPP_HAS_NO_THREADS)
98
- # include < latch>
99
- #endif
100
- #include < limits>
101
- #include < list>
102
- #if !defined(_LIBCPP_HAS_NO_LOCALIZATION)
103
- # include < locale>
104
- #endif
105
- #include < map>
106
- #include < mdspan>
107
- #include < memory>
108
- #include < memory_resource>
109
- #include < mutex>
110
- #include < new>
111
- #include < numbers>
112
- #include < numeric>
113
- #include < optional>
114
- #if !defined(_LIBCPP_HAS_NO_LOCALIZATION)
115
- # include < ostream>
116
- #endif
117
- #include < print>
118
- #include < queue>
119
- #include < random>
120
- #include < ranges>
121
- #include < ratio>
122
- #if !defined(_LIBCPP_HAS_NO_LOCALIZATION)
123
- # include < regex>
124
- #endif
125
- #include < scoped_allocator>
126
- #if !defined(_LIBCPP_HAS_NO_THREADS)
127
- # include < semaphore>
128
- #endif
129
- #include < set>
130
- #if !defined(_LIBCPP_HAS_NO_THREADS)
131
- # include < shared_mutex>
132
- #endif
133
- #include < source_location>
134
- #include < span>
135
- #if !defined(_LIBCPP_HAS_NO_LOCALIZATION)
136
- # include < sstream>
137
- #endif
138
- #include < stack>
139
- #include < stdexcept>
140
- #if !defined(_LIBCPP_HAS_NO_THREADS)
141
- # include < stop_token>
142
- #endif
143
- #if !defined(_LIBCPP_HAS_NO_LOCALIZATION)
144
- # include < streambuf>
145
- #endif
146
- #include < string>
147
- #include < string_view>
148
- #if !defined(_LIBCPP_HAS_NO_LOCALIZATION)
149
- # include < strstream>
150
- #endif
151
- #if !defined(_LIBCPP_HAS_NO_LOCALIZATION)
152
- # include < syncstream>
153
- #endif
154
- #include < system_error>
155
- #if !defined(_LIBCPP_HAS_NO_THREADS)
156
- # include < thread>
157
- #endif
158
- #include < tuple>
159
- #include < type_traits>
160
- #include < typeindex>
161
- #include < typeinfo>
162
- #include < unordered_map>
163
- #include < unordered_set>
164
- #include < utility>
165
- #include < valarray>
166
- #include < variant>
167
- #include < vector>
168
- #include < version>
169
47
170
48
// *** Headers not yet available ***
171
49
#if __has_include(<debugging>)
@@ -203,6 +81,7 @@ module;
203
81
#endif // __has_include(<text_encoding>)
204
82
205
83
export module std.compat;
84
+ export import std;
85
+
206
86
207
- @LIBCXX_MODULE_STD_INCLUDE_SOURCES@
208
87
@LIBCXX_MODULE_STD_COMPAT_INCLUDE_SOURCES@
0 commit comments