[Bug libstdc++/30578] array_allocator can't be safely copied
skottmckay at gmail dot com
gcc-bugzilla@gcc.gnu.org
Wed Feb 7 21:58:00 GMT 2007
------- Comment #3 from skottmckay at gmail dot com 2007-02-07 21:58 -------
Doesn't it need to be copy constructable for the rebinding to work for
_Vector_base::_Vector_impl::_Tp_alloc_type?
I agree that making it mt-safe doesn't quite fit with its intended usage.
Possibly the array_allocator and backing array should be wrapped with a
non-copyable class.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30578
More information about the Gcc-bugs
mailing list