You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stdcxx.apache.org by an...@apache.org on 2006/05/16 15:28:37 UTC

svn commit: r406936 - /incubator/stdcxx/trunk/tests/src/21.strings.cpp

Author: antonp
Date: Tue May 16 06:28:36 2006
New Revision: 406936

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

	* 21.strings.cpp (_rw_setvars): Added support for swap and push_back
	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=406936&r1=406935&r2=406936&view=diff
==============================================================================
--- incubator/stdcxx/trunk/tests/src/21.strings.cpp (original)
+++ incubator/stdcxx/trunk/tests/src/21.strings.cpp Tue May 16 06:28:36 2006
@@ -71,7 +71,7 @@
     "append", "assign", "erase", "insert", "replace", "operator+=", "find", 
     "rfind", "find_first_of", "find_last_of", "find_first_not_of", 
     "find_last_not_of", "compare", "substr", "operator[]", "at", "copy",
-    "constructor", "operator="
+    "constructor", "operator=", "swap", "push_back"
 };
 
 /**************************************************************************/
@@ -323,6 +323,7 @@
     case StringMembers::compare_str:
     case StringMembers::ctor_str:
     case StringMembers::op_set_str:
+    case StringMembers::swap_str:
         // format self-referential str argument as *this
         rw_asnprintf (&buf, &bufsize,
                       "%{+} (%{?}*this%{:}string(%{#*s})%{;})",
@@ -577,6 +578,7 @@
     case StringMembers::find_first_not_of_val:
     case StringMembers::find_last_not_of_val:
     case StringMembers::op_set_val:
+    case StringMembers::push_back_val:
         rw_asnprintf (&buf, &bufsize,
                       "%{+} (%{#c})", pcase->val);
         break;