So I know how to place an include guard in my own header files with the standard
#ifndef ...
#define ...
Now, My question is about includin
Assuming that by "STL" you mean the C++ standard library, then you can refer to the C++ standard. §17.6.2.2/2
states:
A translation unit may include library headers in any order. Each may be included more than once, with no effect different from being included exactly once, except that the effect of including either
or
depends each time on the lexically current definition of NDEBUG.
This means that it is not necessary to guard against multiple inclusions of the same header.