incubator-stdcxx-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anton Pevtsov" <Ant...@moscow.vdiweb.com>
Subject test for lib.string.cons
Date Wed, 10 May 2006 15:18:58 GMT
Here is the ported test for lib.string.cons and required differences to
the 21.strings.h/cpp files (with changes required for
lib.string.access):
http://people.apache.org/~antonp/stdcxx05102006/

The change log:
2006-05-10  Anton Pevtsov <antonp@moscow.vdiweb.com>

	* 21.strings.h (SignatureId): Added element for (size_type)
const.
	(MemberId): Added new elements for at, operator [], ctor and
operator=.
	(OverloadId): Added new enum elements for at, operator [], ctor
and 
	operator= overloads.
	* 21.strings.cpp (_rw_setvars): Added support for at, operator
[], ctor 
	and operator= overloads.
	(run_test): Modified according changes in SignatureId.
	* 21.string.cons.cpp: Ported to use simplified test format.

If the test structure is ok, I'll extend the test cases using char@count
directive.

Here is a question about the ctor exception safety test. Are they needed
when the default allocator is used?
I think that we may test all possible exception safety issues using the
custom allocator.


Thanks,
Anton Pevtsov

Mime
View raw message