[cmake-commits] king committed String.hxx.in 1.2 1.3 SystemTools.hxx.in 1.71 1.72 kwsys_ios_sstream.h.in 1.15 1.16

cmake-commits at cmake.org cmake-commits at cmake.org
Thu Jan 31 08:21:37 EST 2008


Update of /cvsroot/CMake/CMake/Source/kwsys
In directory public:/mounts/ram/cvs-serv5145/Source/kwsys

Modified Files:
	String.hxx.in SystemTools.hxx.in kwsys_ios_sstream.h.in 
Log Message:
STYLE: Remove references to std:: inside KWSys, even in comments.  This will allow a commit check to be added.


Index: kwsys_ios_sstream.h.in
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/kwsys/kwsys_ios_sstream.h.in,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- kwsys_ios_sstream.h.in	20 Apr 2007 13:50:46 -0000	1.15
+++ kwsys_ios_sstream.h.in	31 Jan 2008 13:21:35 -0000	1.16
@@ -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>

Index: String.hxx.in
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/kwsys/String.hxx.in,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- String.hxx.in	19 Apr 2007 16:12:19 -0000	1.2
+++ String.hxx.in	31 Jan 2008 13:21:35 -0000	1.3
@@ -22,8 +22,8 @@
 /** \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.
  */

Index: SystemTools.hxx.in
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/kwsys/SystemTools.hxx.in,v
retrieving revision 1.71
retrieving revision 1.72
diff -u -d -r1.71 -r1.72
--- SystemTools.hxx.in	11 Jan 2008 13:33:48 -0000	1.71
+++ SystemTools.hxx.in	31 Jan 2008 13:21:35 -0000	1.72
@@ -27,12 +27,12 @@
 // Required for va_list
 #include <stdarg.h>
 #if @KWSYS_NAMESPACE at _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 at _VA_LIST
 {
   using namespace std;
@@ -834,12 +834,12 @@
 
 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();
 



More information about the Cmake-commits mailing list