incubator-stdcxx-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Sebor <se...@roguewave.com>
Subject Re: test for lib.string.insert
Date Sat, 25 Mar 2006 17:04:51 GMT
Martin Sebor wrote:
> Anton Pevtsov wrote:
> 
>> The attached file contains the updated test for lib.string.insert.

I forgot to mention: the test also needs to exercise the correctness
of inserting substrings of the controlled sequence into itself, i.e.,
things like:

     std::string s ("abc");
     s.insert (0, s.c_str ());

or

     s.insert (s.begin (), s.begin (), s.begin () + s.size ());

etc.

Martin

Mime
View raw message