small oversight in new_allocator.h

Dhruv Matani dhruvbird@gmx.net
Fri Jan 30 13:49:00 GMT 2004


On Fri, 2004-01-30 at 13:40, Dhruv Matani wrote:
> On line 80: of new_allocator.h, a reference is made to
> allocator<void>::....... whereas allocator is not included in that file.
> Suggested change: replace by const void* (which makes me wonder whether
> it makes sense to have void objects?)

Here's the patch. Added the specialization for new_allocator<void> and
added the comparison functions.


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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch_new_alloc
Type: text/x-patch
Size: 2093 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20040130/e10f4520/attachment.bin>


More information about the Gcc-patches mailing list