Skip to content
Snippets Groups Projects
Commit c112b8dd authored by Brad King's avatar Brad King
Browse files

STYLE: Remove references to std:: inside KWSys, even in comments. This will...

STYLE: Remove references to std:: inside KWSys, even in comments.  This will allow a commit check to be added.
parent 71328186
No related branches found
No related tags found
No related merge requests found
...@@ -22,8 +22,8 @@ namespace @KWSYS_NAMESPACE@ ...@@ -22,8 +22,8 @@ namespace @KWSYS_NAMESPACE@
/** \class String /** \class String
* \brief Short-name version of the STL basic_string class template. * \brief Short-name version of the STL basic_string class template.
* *
* The standard library "std::string" type is actually a typedef for * The standard library "string" type is actually a typedef for
* "std::basic_string<..long argument list..>". This string class is * "basic_string<..long argument list..>". This string class is
* simply a subclass of this type with the same interface so that the * simply a subclass of this type with the same interface so that the
* name is shorter in debugging symbols and error messages. * name is shorter in debugging symbols and error messages.
*/ */
......
...@@ -27,12 +27,12 @@ ...@@ -27,12 +27,12 @@
// Required for va_list // Required for va_list
#include <stdarg.h> #include <stdarg.h>
#if @KWSYS_NAMESPACE@_STL_HAVE_STD && !defined(va_list) #if @KWSYS_NAMESPACE@_STL_HAVE_STD && !defined(va_list)
// Some compilers move va_list into the std:: namespace and there is no way to // Some compilers move va_list into the std namespace and there is no way to
// tell that this has been done. Playing with things being included before or // tell that this has been done. Playing with things being included before or
// after stdarg.h does not solve things because we do not have control over // after stdarg.h does not solve things because we do not have control over
// what the user does. This hack solves this problem by moving va_list to our // what the user does. This hack solves this problem by moving va_list to our
// own namespace that is local for kwsys. // own namespace that is local for kwsys.
namespace std {} // Required for platforms that do not have std:: namespace std {} // Required for platforms that do not have std namespace
namespace @KWSYS_NAMESPACE@_VA_LIST namespace @KWSYS_NAMESPACE@_VA_LIST
{ {
using namespace std; using namespace std;
...@@ -834,12 +834,12 @@ public: ...@@ -834,12 +834,12 @@ public:
private: private:
/** /**
* Allocate the std::map that serve as the Path Translation table. * Allocate the stl map that serve as the Path Translation table.
*/ */
static void ClassInitialize(); static void ClassInitialize();
/** /**
* Deallocate the std::map that serve as the Path Translation table. * Deallocate the stl map that serve as the Path Translation table.
*/ */
static void ClassFinalize(); static void ClassFinalize();
......
...@@ -52,7 +52,7 @@ ...@@ -52,7 +52,7 @@
# pragma warning(pop) # pragma warning(pop)
# endif # endif
// Only have old std::strstream classes. Wrap them to look like new // Only have old std strstream classes. Wrap them to look like new
// ostringstream and istringstream classes. // ostringstream and istringstream classes.
# include <@KWSYS_NAMESPACE@/stl/string> # include <@KWSYS_NAMESPACE@/stl/string>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment