patch for ext/debug_allocator.h (second attempt)

Dhruv Matani dhruvbird@gmx.net
Tue Feb 3 17:29:00 GMT 2004


This patch makes the debug_allocator<> compile now. Earlier, the
debug_allocator<> had code like this:

size_type n;
pointer x;
*x = n;

Which made no sense.





-- 
	-Dhruv Matani.
http://www.geocities.com/dhruvbird/


-------------- next part --------------
2003-02-03  Dhruv Matani  <dhruvbird@gmx.net>

	* include/ext/debug_allocator.h: Made the debug_allocator<>
	compile. _M_extra now stands for the number of extra objects
	instead of the number of extra bytes.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch_debug_alloc
Type: text/x-patch
Size: 2683 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20040203/c08fcbd1/attachment.bin>


More information about the Libstdc++ mailing list