Anton Pevtsov wrote:
Ok, I'll add this verification.

To make it easier I just extended the UserTraits primary template
by adding the same MemFun and n_calls_ members as those defined in
the UserTraits<UserChar> specialization. This way we will be able
to check that the traits functions are used in all specializations
of basic_string on UserTraits, and not just UserTraits<UserChar>.

See this change: http://svn.apache.org/viewcvs?rev=397279&view=rev.

Martin


Thanks,
Anton Pevtsov

-----Original Message-----
From: Martin Sebor [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 26, 2006 05:21
To: [email protected]
Subject: exercising string's use of traits


I noticed that requirements such as the Note in 21.3.5.1, p3
-- Uses traits::length() are not being exercised. Anton, when you have a
moment could you please review the tests and add assertions verifying
these requirements when UserTraits is being used? (Use the
UserTraits::n_calls member.)

Thanks
Martin

Reply via email to