From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9176 invoked by alias); 7 Jan 2010 23:18:08 -0000 Received: (qmail 9084 invoked by uid 48); 7 Jan 2010 23:17:55 -0000 Date: Thu, 07 Jan 2010 23:18:00 -0000 Message-ID: <20100107231755.9083.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug libstdc++/42573] [C++0x] shrink_to_fit() missing In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "paolo dot carlini at oracle 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: 2010-01/txt/msg00868.txt.bz2 ------- Comment #3 from paolo dot carlini at oracle dot com 2010-01-07 23:17 ------- Nope... I went through this and came to the conclusion that a fairly good implementation has to wait for a complete resolution of N2983: the request is non-binding thus if the move constructor can throw and the type T isn't CopyConstructible the implementation should not do anything. Given the subtleties wrt throwing move constructors recently surfaced, I think we'll add this member in due course, in any case *after* having tweaked the internals of the std containers for the other traditional member functions... -- paolo dot carlini at oracle dot com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |INVALID http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42573