------- Comment #2 from bkoz at gcc dot gnu dot org 2007-02-01 12:20 -------
Should array_allocator be copy-constructable? I am not sure that the extra effort to make _M_used shared in a mt-safe manner is worth it, for something that is supposed to be write-once memory. This is a deviation from the normal allocator interface, though. Interesting. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30578