From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20524 invoked by alias); 24 Jul 2005 02:31:11 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 20516 invoked by uid 48); 24 Jul 2005 02:31:08 -0000 Date: Sun, 24 Jul 2005 03:01:00 -0000 Message-ID: <20050724023108.20514.qmail@sourceware.org> From: "squell at alumina dot nl" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20050723200746.22634.squell@alumina.nl> References: <20050723200746.22634.squell@alumina.nl> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug libstdc++/22634] partial_sum is too constrained X-Bugzilla-Reason: CC X-SW-Source: 2005-07/txt/msg03038.txt.bz2 List-Id: ------- Additional Comments From squell at alumina dot nl 2005-07-24 02:31 ------- To clarify a bit; the comments dealing with the lines that read; ValueType value ( *first ); // copy construct! Should be ignored. I wrote them out of fear for situations where "T obj(initializer);" works but "T obj = initializer;" doesn't, but this has to do with implicit conversion, not assignability. The existing "ValueType value = *first" is preferable for these two lines. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22634