[Patch] stl_vector.h

Jonathan Wakely cow@compsoc.man.ac.uk
Tue Oct 12 15:50:00 GMT 2004


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)



More information about the Libstdc++ mailing list