put include all into its own header

This commit is contained in:
Johannes Kapfhammer 2019-10-06 17:19:10 +02:00
parent d8a3ccc553
commit 3d1c648b4f
3 changed files with 48 additions and 28 deletions

View File

@ -0,0 +1,39 @@
#include <algorithm>
#include <array>
#include <bitset>
#include <cmath>
#include <complex>
#include <cstddef>
#include <cstdint>
#include <cstdlib>
#include <deque>
#include <forward_list>
#include <fstream>
#include <functional>
#include <initializer_list>
#include <iomanip>
#include <iostream>
#include <iterator>
#include <list>
#include <memory>
#include <ostream>
#include <queue>
#include <random>
#include <set>
#include <sstream>
#include <stack>
#include <stdexcept>
#include <string>
#include <tuple>
#include <type_traits>
#include <unordered_set>
#include <utility>
#include <valarray>
#include <vector>
#if __cplusplus >= 201703L
#include <any>
#include <optional>
#include <string_view>
#include <variant>
#endif

View File

@ -14,6 +14,8 @@
#include <stdexcept> #include <stdexcept>
#include <cstring> #include <cstring>
#include <ostream> #include <ostream>
#include <iostream>
#include <sstream>
#if defined(__unix__) || (defined(__APPLE__) && defined(__MACH__)) #if defined(__unix__) || (defined(__APPLE__) && defined(__MACH__))
#include <unistd.h> #include <unistd.h>

View File

@ -5,29 +5,7 @@
have to understand every concept all at once. have to understand every concept all at once.
*/ */
#include <algorithm>
#include <array>
#include <cmath>
#include <cstddef>
#include <cstdlib>
#include <fstream> #include <fstream>
#include <iomanip>
#include <iostream>
#include <iterator>
#include <list>
#include <memory>
#include <ostream>
#include <set>
#include <sstream>
#include <stdexcept>
#include <string>
#include <tuple>
#include <type_traits>
#include <unordered_set>
#include <utility>
#include <valarray>
#include <vector>
#include "bits/soi-dbg.hpp" #include "bits/soi-dbg.hpp"
namespace soi_h { namespace soi_h {
@ -98,6 +76,7 @@ soi_h_initializer soi_h_initializer_{false};
#include "bits/soi-deprecate.hpp" #include "bits/soi-deprecate.hpp"
#include "bits/include-all.hpp"
#define int int64_t #define int int64_t
using namespace std; using namespace std;