It is basically a header file that also includes every standard library and STL include file. The only purpose I can see for it would be for testing and education.
Se e.g. GCC 4.8.0 /bits/stdc++.h source.
Using it would include a lot of unnecessary stuff and increases compilation time.
Edit: As Neil says, it’s an implementation for precompiled headers. If you set it up for precompilation correctly it could, in fact, speed up compilation time depending on your project. (https://gcc.gnu.org/onlinedocs/gcc/Precompiled-Headers.html)
I would, however, suggest that you take time to learn about each of the sl/stl headers and include them separately instead, and not use “super headers” except for precompilation purposes.
Related Posts:
- error: use of deleted function
- What is the difference between g++ and gcc?
- Undefined reference to vtable
- Undefined reference to vtable
- Compiling C++11 with g++
- undefined reference to ‘std::cout’
- Fatal error: iostream: No such file or directory in compiling C program using GCC
- Compiling a C++ program with gcc
- Visual C++ find line causing “Debug Assertion failed”
- gcc/g++: “No such file or directory”
- cc1plus: error: unrecognized command line option “-std=c++11” with g++
- What is the difference between gcc/g++ and cc1/cc1plus?
- g++ output: file not recognized: File format not recognized
- Update GCC on OSX
- Fatal error: iostream: No such file or directory in compiling C program using GCC
- Compiling C++11 with g++
- What is a lambda expression in C++11?
- ld: symbol(s) not found for architecture x86_64 error
- g++ ld: symbol(s) not found for architecture x86_64
- What is the ‘override’ keyword in C++ used for? [duplicate]
- What is a smart pointer and when should I use one?
- Meaning of = delete after function declaration
- C++ std::priority_queue uses the lambda expression
- C++ undefined reference to defined function
- Usage and Syntax of std::function
- Convert char to int in C and C++
- What exactly is nullptr?
- gcc makefile error: “No rule to make target …”
- Difference between `constexpr` and `const`
- Split a string using C++11
- gcc makefile error: “No rule to make target …”
- How to create timer events using C++ 11?
- Expected initializer before function name
- Inheriting constructors
- How do I install gcc on cygwin?
- What does T&& (double ampersand) mean in C++11?
- what is stack smashing (C)?
- make: g++: Command not found
- Segmentation fault error 11 C++
- Why doesn’t C++ have a garbage collector?
- C ++ error: a expected initializer before [function name]
- Inheriting constructors
- terminate called after throwing an instance of ‘std::invalid_argument’ what(): stoi
- What exactly is std::atomic?
- How to iterate through a list of objects in C++?
- Issue with std::stol – ‘std::invalid_argument’ what(): stol
- “g++” is not recognized as an internal or external command, MinGW
- terminate called after throwing an instance of ‘std::out_of_range’
- libpthread.so.0: error adding symbols: DSO missing from command line
- Cleanest way to copy a constant size array in c++11
- push_back vs emplace_back
- What is move semantics?
- Eclipse C++ : “Program “g++” not found in PATH”
- expression preceding parentheses of apparent call must have (pointer-to-) function type
- fatal error: Python.h: No such file or directory
- C++ error: Undefined symbols for architecture x86_64
- C++ terminate called without an active exception
- MinGW: “gcc is not recognized as an internal or external command”
- Thread pooling in C++11
- How does std::forward work? [duplicate]
- Correct way of looping through C++ arrays
- “g++” is not recognized as an internal or external command, MinGW
- Difference in make_shared and normal shared_ptr in C++
- What is std::move(), and when should it be used?
- Undefined reference to class constructor, including .cpp file fixes
- C++: std does not have member “string”
- push_back vs emplace_back
- Eclipse C++ : “Program “g++” not found in PATH”
- How do I enable C++11 in gcc?
- Undefined reference to constructor
- Call to implicitly deleted copy constructor in LLVM
- CMake error at CMakeLists.txt:30 (project): No CMAKE_C_COMPILER could be found
- expected unqualified-id before string constant
- Interpreting valgrind error Invalid write of size 4
- cannot declare variable ‘’ to be of abstract type ‘’
- extra qualification error in C++
- C++ Error ‘nullptr was not declared in this scope’ in Eclipse IDE
- Debug vs Release in CMake
- Debug vs Release in CMake
- error C2679: binary ‘<<' : no operator found which takes a right-hand operand of type 'std::string' (or there is no acceptable conversion)
- Compiling a .C file: Undefined symbols for architecture x86_64
- gcc error : undefined reference to `itoa’
- no match for ‘operator<<’ in ‘std::operator
- Warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11?
- Use the auto keyword in C++ STL
- What does the fpermissive flag do?
- Error: free(): invalid next size (fast):
- gcc: undefined reference to
- Call to non-static member function without an object argument compiler error
- How to repair warning: missing braces around initializer?
- C++ compile time error: expected identifier before numeric constant
- Error: free(): invalid next size (fast):
- Does C++11 have C#-style properties?
- I get this error: “glibc detected”
- G++ undefined reference to class::function
- Undefined reference to class constructor, including .cpp file fixes
- Iterator Loop vs index loop
- GCC -fPIC option
- initialize a vector to zeros C++/C++11
- When is it safe to call this-> in constructor and destructor