From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17592 invoked by alias); 23 Aug 2004 18:30:14 -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 17585 invoked by uid 48); 23 Aug 2004 18:30:14 -0000 Date: Mon, 23 Aug 2004 18:30:00 -0000 Message-ID: <20040823183014.17584.qmail@sourceware.org> From: "ron at vaniwaarden dot org" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20040820150438.17122.ron@vaniwaarden.org> References: <20040820150438.17122.ron@vaniwaarden.org> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug c++/17122] Unable to compile friend operator within template X-Bugzilla-Reason: CC X-SW-Source: 2004-08/txt/msg02338.txt.bz2 List-Id: ------- Additional Comments From ron at vaniwaarden dot org 2004-08-23 18:30 ------- (In reply to comment #2) > Note that this works though: > friend void ::operator+<>(int, foo); > > I think this is correct as Comeau C++ also rejects the code and accepts the above. Here is some additional information from the C++ standards committee: http://std.dkuug.dk/jtc1/sc22/wg21/docs/cwg_defects.html#166 >>From my point of view, I would consider this resolved. --Ron -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17122