You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stdcxx.apache.org by Anton Pevtsov <An...@moscow.vdiweb.com> on 2006/05/03 17:01:15 UTC

test for lib.string.substr

The test for lib.string.substr is here:
http://people.apache.org/~antonp/stdcxx05032006/

Also there are required difference for 21.strings.cpp and 21.strings.h
files.


The change log:

2006-05-02  Anton Pevtsov  <an...@moscow.vdiweb.com>

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


With best wishes,
Anton Pevtsov.

Re: test for lib.string.substr

Posted by Martin Sebor <se...@roguewave.com>.
Anton Pevtsov wrote:
> The test for lib.string.substr is here:
> http://people.apache.org/~antonp/stdcxx05032006/
> 
> Also there are required difference for 21.strings.cpp and 21.strings.h
> files.

Looks good! Please make the formatting changes we discussed
before committing, i.e., change

     static const TestCase void_test_cases [] = {
         ...
     };

to

     static const TestCase
     void_test_cases [] = {
         ...
     };

Thanks!
Martin

PS One question: why is the "last" string always the last test
case in the array?