I want to supply some inline convenience functions using std::string
in my header alongside with the library functions which use const char *
, but I do not want to include <string>
. I want to check with #ifdef
if <string>
is included and provide the convenience functions if this is the case.
Question: Are the names of header guards in STL headers the same for all STL implementations? In Visual Studio 2010, the header guard of <string>
is _STRING_
.