[Bug libstdc++/21609] array_allocator vs rebind & copy-constructor

2005-05-16 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-05-16 17:41 --- Templates are never copy constructors. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21609

[Bug libstdc++/21609] array_allocator vs rebind & copy-constructor

2005-05-16 Thread pcarlini at suse dot de
--- Additional Comments From pcarlini at suse dot de 2005-05-16 16:30 --- Forgot to say: probably the issue can be dealt with at the cost of increasing its complexity. Logic could be added to the copy-constructor(s) to the effect of keeping on using the existing allocated memory, i.e., n