From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10905 invoked by alias); 11 Aug 2004 16:31:47 -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 10831 invoked by uid 48); 11 Aug 2004 16:31:46 -0000 Date: Wed, 11 Aug 2004 16:31:00 -0000 Message-ID: <20040811163146.10830.qmail@sourceware.org> From: "boris at kolpackov dot net" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20040811154232.16982.boris@kolpackov.net> References: <20040811154232.16982.boris@kolpackov.net> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug c++/16982] wrong copy ctor called X-Bugzilla-Reason: CC X-SW-Source: 2004-08/txt/msg00941.txt.bz2 List-Id: ------- Additional Comments From boris at kolpackov dot net 2004-08-11 16:31 ------- In 14140 we are talking about slice-copying (note the signature: void func(base b)). Here we are talking about reference binding. Those two cases may look alike on the source code level but they are covered by completely different parts of the standard. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16982