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++
- g++ ld: symbol(s) not found for architecture x86_64
- Meaning of = delete after function declaration
- C++ undefined reference to defined function
- Usage and Syntax of std::function
- What exactly is nullptr?
- gcc makefile error: “No rule to make target …”
- 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)?
- Segmentation fault error 11 C++
- Why doesn’t C++ have a garbage collector?
- 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
- 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]
- 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
- 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
- cannot declare variable ‘’ to be of abstract type ‘’
- extra qualification error in C++
- 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)
- no match for ‘operator<<’ in ‘std::operator
- Warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11?
- What does the fpermissive flag do?
- 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
- 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
- How to memset char array with null terminating character?
- How do I compile the asm generated by GCC?
- Why should I use a pointer rather than the object itself?
- too many initializers for ‘int [0]’ c++
- C Unknown type name ‘my_structure’
- Warning : overflow in implicit constant conversion
- Make Error 127 when running trying to compile code
- Getting a bunch of crosses initialization error
- File format not recognized; treating as linker script using GCC
- overloaded function with no contextual type information
- Expected unqualified-id before ‘[‘ token
- Gcc error: gcc: error trying to exec ‘cc1’: execvp: No such file or directory
- gcc 4.8 on MAC OS X 10.8 throws “Undefined symbols for architecture x86_64: “
- cc1.exe System Error – libwinpthread-1.dll missing – But it isn’t
- convert string to size_t
- How to Check the Version of my gcc?
- Make / gcc cryptic error 2: how to have more information?
- Linker error: “linker input file unused because linking not done”, undefined reference to a function in that file
- ERROR C2039: ‘vector’: is not a member of ‘std’
- Does static constexpr variable inside a function make sense?
- c++ vector bubble sort
- I don’t understand -Wl,-rpath -Wl,
- Compiler gcc:error; no such file or directory
- Link error “undefined reference to `__gxx_personality_v0′” and g++ [duplicate]
- How to use bitmask?
- Differences between unique_ptr and shared_ptr