stdcxx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ant...@apache.org
Subject svn commit: r400022 - /incubator/stdcxx/trunk/tests/include/21.strings.h
Date Fri, 05 May 2006 09:20:31 GMT
Author: antonp
Date: Fri May  5 02:20:29 2006
New Revision: 400022

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

	* 21.strings.h (MemberId): Added new element for substr.
	(OverloadId): Added new enum elements for substr overloads.

Modified:
    incubator/stdcxx/trunk/tests/include/21.strings.h

Modified: incubator/stdcxx/trunk/tests/include/21.strings.h
URL: http://svn.apache.org/viewcvs/incubator/stdcxx/trunk/tests/include/21.strings.h?rev=400022&r1=400021&r2=400022&view=diff
==============================================================================
--- incubator/stdcxx/trunk/tests/include/21.strings.h (original)
+++ incubator/stdcxx/trunk/tests/include/21.strings.h Fri May  5 02:20:29 2006
@@ -127,11 +127,12 @@
         mem_find_first_not_of  = 1 << 16,
         mem_find_last_not_of   = 1 << 17,
         mem_compare            = 1 << 18,
+        mem_substr             = 1 << 19,
         mem_mask       =
             mem_append | mem_assign | mem_erase | mem_insert | 
             mem_replace | mem_op_plus_eq | mem_find | mem_rfind |
             mem_find_first_of | mem_find_last_of | mem_find_first_not_of |
-            mem_find_last_not_of | mem_compare
+            mem_find_last_not_of | mem_compare | mem_substr
     };
 
     // unique identifiers for all overloads of each member function
@@ -339,7 +340,16 @@
         compare_size_size_ptr_size = mem_compare + sig_size_size_ptr_size,
         // (size_type, size_type, const basic_string&, size_type, size_type)
         compare_size_size_str_size_size = 
-            mem_compare + sig_size_size_str_size_size
+            mem_compare + sig_size_size_str_size_size,
+
+        //////////////////////////////////////////////////////////////
+        // substr (void)
+        substr_void = mem_substr + sig_void,
+        // substr (size_type)
+        substr_size = mem_substr + sig_size,
+        // substr (size_type, size_type)
+        substr_size_size = mem_substr + sig_size_size
+
     };
 
     struct Function {



Mime
View raw message