]>
Commit | Line | Data |
---|---|---|
628c731a BK |
1 | // C++ includes used for precompiling -*- C++ -*- |
2 | ||
83ffe9cd | 3 | // Copyright (C) 2003-2023 Free Software Foundation, Inc. |
628c731a BK |
4 | // |
5 | // This file is part of the GNU ISO C++ Library. This library is free | |
6 | // software; you can redistribute it and/or modify it under the | |
7 | // terms of the GNU General Public License as published by the | |
748086b7 | 8 | // Free Software Foundation; either version 3, or (at your option) |
628c731a BK |
9 | // any later version. |
10 | ||
11 | // This library is distributed in the hope that it will be useful, | |
12 | // but WITHOUT ANY WARRANTY; without even the implied warranty of | |
13 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
14 | // GNU General Public License for more details. | |
15 | ||
748086b7 JJ |
16 | // Under Section 7 of GPL version 3, you are granted additional |
17 | // permissions described in the GCC Runtime Library Exception, version | |
18 | // 3.1, as published by the Free Software Foundation. | |
19 | ||
20 | // You should have received a copy of the GNU General Public License and | |
21 | // a copy of the GCC Runtime Library Exception along with this program; | |
22 | // see the files COPYING3 and COPYING.RUNTIME respectively. If not, see | |
23 | // <http://www.gnu.org/licenses/>. | |
628c731a | 24 | |
143c27b0 BK |
25 | /** @file stdc++.h |
26 | * This is an implementation file for a precompiled header. | |
27 | */ | |
28 | ||
628c731a BK |
29 | // 17.4.1.2 Headers |
30 | ||
06b3c0fa JW |
31 | // C |
32 | #ifndef _GLIBCXX_NO_ASSERT | |
33 | #include <cassert> | |
34 | #endif | |
35 | #include <cctype> | |
36 | #include <cfloat> | |
37 | #include <ciso646> | |
38 | #include <climits> | |
39 | #include <csetjmp> | |
40 | #include <cstdarg> | |
41 | #include <cstddef> | |
42 | #include <cstdlib> | |
43 | ||
44 | #if __cplusplus >= 201103L | |
45 | #include <cstdint> | |
46 | #endif | |
47 | ||
48 | // C++ | |
49 | // #include <bitset> | |
50 | // #include <complex> | |
51 | #include <algorithm> | |
52 | #include <bitset> | |
53 | #include <functional> | |
54 | #include <iterator> | |
55 | #include <limits> | |
56 | #include <memory> | |
57 | #include <new> | |
58 | #include <numeric> | |
59 | #include <typeinfo> | |
60 | #include <utility> | |
61 | ||
62 | #if __cplusplus >= 201103L | |
63 | #include <array> | |
64 | #include <atomic> | |
65 | #include <initializer_list> | |
66 | #include <ratio> | |
67 | #include <scoped_allocator> | |
68 | #include <tuple> | |
69 | #include <typeindex> | |
70 | #include <type_traits> | |
71 | #endif | |
72 | ||
73 | #if __cplusplus >= 201402L | |
74 | #endif | |
75 | ||
76 | #if __cplusplus >= 201703L | |
77 | #include <any> | |
78 | #include <charconv> | |
79 | // #include <execution> | |
80 | #include <optional> | |
81 | #include <variant> | |
42d3f743 | 82 | #include <string_view> |
06b3c0fa JW |
83 | #endif |
84 | ||
85 | #if __cplusplus >= 202002L | |
86 | #include <bit> | |
87 | #include <compare> | |
88 | #include <concepts> | |
89 | #include <numbers> | |
90 | #include <ranges> | |
91 | #include <span> | |
92 | #include <source_location> | |
93 | #include <version> | |
94 | #endif | |
95 | ||
96 | #if __cplusplus > 202002L | |
97 | #include <expected> | |
98 | #include <stdatomic.h> | |
99 | #if __cpp_impl_coroutine | |
100 | # include <coroutine> | |
101 | #endif | |
102 | #endif | |
103 | ||
06b3c0fa | 104 | #if _GLIBCXX_HOSTED |
628c731a | 105 | // C |
12d74f0d | 106 | #ifndef _GLIBCXX_NO_ASSERT |
628c731a | 107 | #include <cassert> |
12d74f0d | 108 | #endif |
628c731a BK |
109 | #include <cctype> |
110 | #include <cerrno> | |
111 | #include <cfloat> | |
112 | #include <ciso646> | |
113 | #include <climits> | |
114 | #include <clocale> | |
115 | #include <cmath> | |
116 | #include <csetjmp> | |
117 | #include <csignal> | |
118 | #include <cstdarg> | |
119 | #include <cstddef> | |
120 | #include <cstdio> | |
121 | #include <cstdlib> | |
122 | #include <cstring> | |
123 | #include <ctime> | |
410fb7d7 JW |
124 | #include <cwchar> |
125 | #include <cwctype> | |
628c731a | 126 | |
734f5023 | 127 | #if __cplusplus >= 201103L |
79e79067 BK |
128 | #include <ccomplex> |
129 | #include <cfenv> | |
130 | #include <cinttypes> | |
029ac5f9 | 131 | #include <cstdalign> |
79e79067 BK |
132 | #include <cstdbool> |
133 | #include <cstdint> | |
134 | #include <ctgmath> | |
20b5f0b3 | 135 | #include <cuchar> |
79e79067 BK |
136 | #endif |
137 | ||
628c731a | 138 | // C++ |
628c731a BK |
139 | #include <complex> |
140 | #include <deque> | |
141 | #include <exception> | |
142 | #include <fstream> | |
143 | #include <functional> | |
144 | #include <iomanip> | |
145 | #include <ios> | |
146 | #include <iosfwd> | |
147 | #include <iostream> | |
148 | #include <istream> | |
149 | #include <iterator> | |
150 | #include <limits> | |
151 | #include <list> | |
152 | #include <locale> | |
153 | #include <map> | |
154 | #include <memory> | |
155 | #include <new> | |
156 | #include <numeric> | |
157 | #include <ostream> | |
158 | #include <queue> | |
159 | #include <set> | |
160 | #include <sstream> | |
161 | #include <stack> | |
162 | #include <stdexcept> | |
163 | #include <streambuf> | |
164 | #include <string> | |
165 | #include <typeinfo> | |
166 | #include <utility> | |
167 | #include <valarray> | |
168 | #include <vector> | |
79e79067 | 169 | |
734f5023 | 170 | #if __cplusplus >= 201103L |
79e79067 | 171 | #include <array> |
afd88205 | 172 | #include <atomic> |
15e38d0d | 173 | #include <chrono> |
7388ee9e | 174 | #include <codecvt> |
04b70271 | 175 | #include <condition_variable> |
3a63c9cd | 176 | #include <forward_list> |
41ca4246 | 177 | #include <future> |
3525f49b | 178 | #include <initializer_list> |
04b70271 | 179 | #include <mutex> |
79e79067 | 180 | #include <random> |
15e38d0d | 181 | #include <ratio> |
79e79067 | 182 | #include <regex> |
7715bf1b | 183 | #include <scoped_allocator> |
79e79067 | 184 | #include <system_error> |
04b70271 | 185 | #include <thread> |
79e79067 | 186 | #include <tuple> |
bafa9791 | 187 | #include <typeindex> |
79e79067 BK |
188 | #include <type_traits> |
189 | #include <unordered_map> | |
190 | #include <unordered_set> | |
191 | #endif | |
7388ee9e JW |
192 | |
193 | #if __cplusplus >= 201402L | |
194 | #include <shared_mutex> | |
195 | #endif | |
804b7cc4 | 196 | |
641cb5a6 | 197 | #if __cplusplus >= 201703L |
410fb7d7 | 198 | #include <any> |
804b7cc4 | 199 | #include <charconv> |
410fb7d7 | 200 | // #include <execution> |
641cb5a6 | 201 | #include <filesystem> |
410fb7d7 | 202 | #include <optional> |
dfaa3c47 | 203 | #include <memory_resource> |
410fb7d7 JW |
204 | #include <variant> |
205 | #endif | |
206 | ||
a30a2e43 | 207 | #if __cplusplus >= 202002L |
b7c3f201 | 208 | #include <barrier> |
f3e91052 | 209 | #include <bit> |
3d6e7aa9 | 210 | #include <compare> |
cfc219ae | 211 | #include <concepts> |
1d9454ab | 212 | #include <format> |
127aa17e | 213 | #include <latch> |
960b9ae0 | 214 | #include <numbers> |
328b52d6 | 215 | #include <ranges> |
8384956a | 216 | #include <span> |
a0e1dcd4 | 217 | #include <stop_token> |
127aa17e | 218 | #include <semaphore> |
ae1ada95 | 219 | #include <source_location> |
6bcbcea0 | 220 | #include <syncstream> |
410fb7d7 | 221 | #include <version> |
804b7cc4 | 222 | #endif |
a30a2e43 JW |
223 | |
224 | #if __cplusplus > 202002L | |
b78e0ce2 | 225 | #include <expected> |
a30a2e43 | 226 | #include <spanstream> |
41a72a74 JW |
227 | #if __has_include(<stacktrace>) |
228 | # include <stacktrace> | |
229 | #endif | |
230 | #include <stdatomic.h> | |
a23225fb | 231 | #include <stdfloat> |
a30a2e43 | 232 | #endif |
06b3c0fa JW |
233 | |
234 | #endif // HOSTED |