This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH: TR1 unordered associative containers


On Fri, Feb 18, 2005 at 03:29:48PM -0500, Doug Gregor wrote:

> On Feb 18, 2005, at 10:11 AM, Jonathan Wakely wrote:
> >I have a very heavy workload at the moment so I'm not going to get a
> >chance to finish the shared_ptr tests and start weak_ptr tests for a
> >few weeks yet, so I think I should submit what I have now, with an
> >incomplete testuite, otherwise it'll sit on my hard drive forever.
> 
> If it hasn't been done already, we should be sure to adapt/run the 
> Boost shared_ptr/weak_ptr regression tests on the libstdc++ 
> implementation of these constructs. More than one implementor has 
> claimed that those tests are essential for getting all of the tricky 
> corner cases correct.

Yes, Peter Dimov stressed that the tests are the important (and hardest)
part - and they're what I've been trying to find time to finish.

I have modified the relevant Boost tests to use the std::tr1::shared_ptr
instead of boost::shared_ptr but won't be submitting them (for now at
least) as I didn't ask the authors for permission and also as they have
some dependencies on other Boost headers. The tests passed, more details
to follow over the weekend with the code.

jon

-- 
"Always Read the Label"
	- anon.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]