Martin Sebor wrote:
> Anton Pevtsov wrote:
>
>> The attached file contains the updated according to your notes version
>> of the test for 21.string.capacity.
>
>
> Thanks! I committed this version here (I forgot that you can commit
> it yourself): http://svn.apache.org/viewcvs?rev=384007&view=rev.
>
> This version still replaces the traits::eof() function even though
> string doesn't make use of it. Could you take it out? In fact, since
> we have our own UserTraits in rw_char.h, could you replace the
> CharTraits class with it?
Never mind this. I made the changes myself in the commit below:
http://svn.apache.org/viewcvs.cgi?rev=384084&view=rev
The UserTraits template also defines its own eof() but that's
because the template is also used in the iostreams tests where
the function does come in handy.
Martin
|