From c112b8dd02609eac23a996b645b77fd1225641ec Mon Sep 17 00:00:00 2001
From: Brad King <brad.king@kitware.com>
Date: Thu, 31 Jan 2008 08:21:35 -0500
Subject: [PATCH] STYLE: Remove references to std:: inside KWSys, even in
 comments.  This will allow a commit check to be added.

---
 String.hxx.in          | 4 ++--
 SystemTools.hxx.in     | 8 ++++----
 kwsys_ios_sstream.h.in | 2 +-
 3 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/String.hxx.in b/String.hxx.in
index 5157fb63..3b5ddac8 100644
--- a/String.hxx.in
+++ b/String.hxx.in
@@ -22,8 +22,8 @@ namespace @KWSYS_NAMESPACE@
 /** \class String
  * \brief Short-name version of the STL basic_string class template.
  *
- * The standard library "std::string" type is actually a typedef for
- * "std::basic_string<..long argument list..>".  This string class is
+ * The standard library "string" type is actually a typedef for
+ * "basic_string<..long argument list..>".  This string class is
  * simply a subclass of this type with the same interface so that the
  * name is shorter in debugging symbols and error messages.
  */
diff --git a/SystemTools.hxx.in b/SystemTools.hxx.in
index 6f5e7aca..8660d9ca 100644
--- a/SystemTools.hxx.in
+++ b/SystemTools.hxx.in
@@ -27,12 +27,12 @@
 // Required for va_list
 #include <stdarg.h>
 #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
 // 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
 // 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
 {
   using namespace std;
@@ -834,12 +834,12 @@ public:
 
 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();
 
   /**
-   * 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();
 
diff --git a/kwsys_ios_sstream.h.in b/kwsys_ios_sstream.h.in
index b99ceeba..8df86fcf 100644
--- a/kwsys_ios_sstream.h.in
+++ b/kwsys_ios_sstream.h.in
@@ -52,7 +52,7 @@
 #  pragma warning(pop)
 # 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.
 
 # include <@KWSYS_NAMESPACE@/stl/string>
-- 
GitLab