stdcxx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ant...@apache.org
Subject svn commit: r400023 - /incubator/stdcxx/trunk/tests/src/21.strings.cpp
Date Fri, 05 May 2006 09:20:53 GMT
Author: antonp
Date: Fri May  5 02:20:52 2006
New Revision: 400023

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

	* 21.strings.cpp (_rw_setvars): Added support for substr
	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=400023&r1=400022&r2=400023&view=diff
==============================================================================
--- incubator/stdcxx/trunk/tests/src/21.strings.cpp (original)
+++ incubator/stdcxx/trunk/tests/src/21.strings.cpp Fri May  5 02:20:52 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", "compare"
+    "find_last_not_of", "compare", "substr"
 };
 
 /**************************************************************************/
@@ -511,16 +511,19 @@
         break;
 
     case StringMembers::erase_void:
+    case StringMembers::substr_void:
         rw_asnprintf (&buf, &bufsize,
                       "%{+} ()");
         break;
 
     case StringMembers::erase_size:
+    case StringMembers::substr_size:
         rw_asnprintf (&buf, &bufsize,
                       "%{+} (%zu)", pcase->off);
         break;
 
     case StringMembers::erase_size_size:
+    case StringMembers::substr_size_size:
         rw_asnprintf (&buf, &bufsize,
                       "%{+} (%zu, %zu)", pcase->off, pcase->size);
         break;



Mime
View raw message