libstdc++
stdc++.h
Go to the documentation of this file.
1// C++ includes used for precompiling -*- C++ -*-
2
3// Copyright (C) 2003-2021 Free Software Foundation, Inc.
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
8// Free Software Foundation; either version 3, or (at your option)
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
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/>.
24
25/** @file stdc++.h
26 * This is an implementation file for a precompiled header.
27 */
28
29// 17.4.1.2 Headers
30
31// C
32#ifndef _GLIBCXX_NO_ASSERT
33#include <cassert>
34#endif
35#include <cctype>
36#include <cerrno>
37#include <cfloat>
38#include <ciso646>
39#include <climits>
40#include <clocale>
41#include <cmath>
42#include <csetjmp>
43#include <csignal>
44#include <cstdarg>
45#include <cstddef>
46#include <cstdio>
47#include <cstdlib>
48#include <cstring>
49#include <ctime>
50#include <cwchar>
51#include <cwctype>
52
53#if __cplusplus >= 201103L
54#include <ccomplex>
55#include <cfenv>
56#include <cinttypes>
57#include <cstdalign>
58#include <cstdbool>
59#include <cstdint>
60#include <ctgmath>
61#include <cuchar>
62#endif
63
64// C++
65#include <algorithm>
66#include <bitset>
67#include <complex>
68#include <deque>
69#include <exception>
70#include <fstream>
71#include <functional>
72#include <iomanip>
73#include <ios>
74#include <iosfwd>
75#include <iostream>
76#include <istream>
77#include <iterator>
78#include <limits>
79#include <list>
80#include <locale>
81#include <map>
82#include <memory>
83#include <new>
84#include <numeric>
85#include <ostream>
86#include <queue>
87#include <set>
88#include <sstream>
89#include <stack>
90#include <stdexcept>
91#include <streambuf>
92#include <string>
93#include <typeinfo>
94#include <utility>
95#include <valarray>
96#include <vector>
97
98#if __cplusplus >= 201103L
99#include <array>
100#include <atomic>
101#include <chrono>
102#include <codecvt>
103#include <condition_variable>
104#include <forward_list>
105#include <future>
106#include <initializer_list>
107#include <mutex>
108#include <random>
109#include <ratio>
110#include <regex>
111#include <scoped_allocator>
112#include <system_error>
113#include <thread>
114#include <tuple>
115#include <typeindex>
116#include <type_traits>
117#include <unordered_map>
118#include <unordered_set>
119#endif
120
121#if __cplusplus >= 201402L
122#include <shared_mutex>
123#endif
124
125#if __cplusplus >= 201703L
126#include <any>
127#include <charconv>
128// #include <execution>
129#include <filesystem>
130#include <optional>
131#include <memory_resource>
132#include <string_view>
133#include <variant>
134#endif
135
136#if __cplusplus > 201703L
137#include <barrier>
138#include <bit>
139#include <compare>
140#include <concepts>
141#if __cpp_impl_coroutine
142# include <coroutine>
143#endif
144#include <latch>
145#include <numbers>
146#include <ranges>
147#include <span>
148#include <stop_token>
149#include <semaphore>
150#include <source_location>
151#include <syncstream>
152#include <version>
153#endif
Parallel STL function calls corresponding to stl_numeric.h. The functions defined here mainly do case...