From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2365 invoked by alias); 7 Feb 2007 21:58:33 -0000 Received: (qmail 2249 invoked by uid 48); 7 Feb 2007 21:58:14 -0000 Date: Wed, 07 Feb 2007 21:58:00 -0000 Message-ID: <20070207215814.2247.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug libstdc++/30578] array_allocator can't be safely copied In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "skottmckay at gmail dot com" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2007-02/txt/msg00901.txt.bz2 ------- 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