stdcxx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ant...@apache.org
Subject svn commit: r399205 - /incubator/stdcxx/trunk/tests/src/21.strings.cpp
Date Wed, 03 May 2006 08:41:27 GMT
Author: antonp
Date: Wed May  3 01:41:24 2006
New Revision: 399205

URL: http://svn.apache.org/viewcvs?rev=399205&view=rev
Log:
2006-05-03  Anton Pevtsov  <antonp@moscow.vdiweb.com>

	* 21.strings.cpp (_rw_setvars): Added support for compare
	overloads.

Modified:
    incubator/stdcxx/trunk/tests/src/21.strings.cpp

Modified: incubator/stdcxx/trunk/tests/src/21.strings.cpp
URL: http://svn.apache.org/viewcvs/incubator/stdcxx/trunk/tests/src/21.strings.cpp?rev=399205&r1=399204&r2=399205&view=diff
==============================================================================
--- incubator/stdcxx/trunk/tests/src/21.strings.cpp (original)
+++ incubator/stdcxx/trunk/tests/src/21.strings.cpp Wed May  3 01:41:24 2006
@@ -63,7 +63,7 @@
 _rw_memfun_names[] = {
     "append", "assign", "erase", "insert", "replace", "operator+=", "find", 
     "rfind", "find_first_of", "find_last_of", "find_first_not_of", 
-    "find_last_not_of"
+    "find_last_not_of", "compare"
 };
 
 /**************************************************************************/
@@ -246,6 +246,7 @@
     case StringMembers::find_last_of_ptr:
     case StringMembers::find_first_not_of_ptr:
     case StringMembers::find_last_not_of_ptr:
+    case StringMembers::compare_ptr:
         rw_asnprintf (&buf, &bufsize,
                       "%{+}(%{?}%{#*s}%{;}%{?}this->c_str ()%{;})",
                       !self, int (pcase->arg_len), pcase->arg, self);
@@ -260,6 +261,7 @@
     case StringMembers::find_last_of_str:
     case StringMembers::find_first_not_of_str:
     case StringMembers::find_last_not_of_str:
+    case StringMembers::compare_str:
         rw_asnprintf (&buf, &bufsize,
                       "%{+}(%{?}string (%{#*s})%{;}%{?}*this%{;})",
                       !self, int (pcase->arg_len), pcase->arg, self);
@@ -390,6 +392,7 @@
         break;
 
     case StringMembers::replace_size_size_ptr:
+    case StringMembers::compare_size_size_ptr:
         rw_asnprintf (&buf, &bufsize, "%{+}("
                       "%zu, %zu, %{?}%{#*s}%{;}%{?}this->c_str ()%{;})",
                       pcase->off, pcase->size, !self, 
@@ -397,6 +400,7 @@
         break;
 
     case StringMembers::replace_size_size_str:
+    case StringMembers::compare_size_size_str:
         rw_asnprintf (&buf, &bufsize, "%{+}("
                       "%zu, %zu, %{?}string (%{#*s})%{;}%{?}*this%{;})",
                       pcase->off, pcase->size, !self, 
@@ -404,6 +408,7 @@
         break;
 
     case StringMembers::replace_size_size_ptr_size:
+    case StringMembers::compare_size_size_ptr_size:
         rw_asnprintf (&buf, &bufsize, "%{+}("
                       "%zu, %zu, %{?}%{#*s}%{;}%{?}this->c_str ()%{;}, %zu)", 
                       pcase->off, pcase->size, !self, 
@@ -411,6 +416,7 @@
         break;
 
     case StringMembers::replace_size_size_str_size_size:
+    case StringMembers::compare_size_size_str_size_size:
         rw_asnprintf (&buf, &bufsize, "%{+}(%zu, %zu, "
                       "%{?}string (%{#*s})%{;}%{?}*this%{;}, %zu, %zu)",
                       pcase->off, pcase->size, !self, 



Mime
View raw message