This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [Patch] stl_vector.h
- From: Jonathan Wakely <cow at compsoc dot man dot ac dot uk>
- To: Dhruv Matani <dhruvbird at gmx dot net>
- Cc: libstdc++ <libstdc++ at gcc dot gnu dot org>
- Date: Tue, 12 Oct 2004 16:50:08 +0100
- Subject: Re: [Patch] stl_vector.h
- References: <1097593899.3479.6.camel@localhost.localdomain>
On Tue, Oct 12, 2004 at 08:43:44PM +0530, Dhruv Matani wrote:
> Hello,
> Here is the patch for the bug that I had mentioned earlier on.
Do all those versions need to change?
std::uninitialised_fill_n() seems to be safe with n=0, and the same for
our __uninitialised_fill_n and friends.
Only the calls allocate(n) seems to be in trouble, I think.
jon
--
"This Statement is False"
(Courtesy of POEE)