From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8718 invoked by alias); 14 Jan 2004 18:24:13 -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 8702 invoked by alias); 14 Jan 2004 18:24:12 -0000 Date: Wed, 14 Jan 2004 18:24:00 -0000 Message-ID: <20040114182412.8701.qmail@sources.redhat.com> From: "dave at boost-consulting dot com" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20030111195600.9278.dave@boost-consulting.com> References: <20030111195600.9278.dave@boost-consulting.com> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug c++/9278] Illegal use of typedef to "void" X-Bugzilla-Reason: CC X-SW-Source: 2004-01/txt/msg01585.txt.bz2 List-Id: ------- Additional Comments From dave at boost-consulting dot com 2004-01-14 18:24 ------- Subject: Re: Illegal use of typedef to "void" "giovannibajo at libero dot it" writes: > ------- Additional Comments From giovannibajo at libero dot it 2004-01-14 15:31 ------- > Dave, > > can you prepare a small self-contained testcase which uses this feature in the > SFINAE context? It'd be really useful to prepare a full fix for this issue. I'm not sure anymore what I had in mind when I submitted it (over a year ago), but looking over the history of this bug, I think I've been roundly misinterpreted. For me, the supplied code sample has always failed to compile: $ g++-3.3.1 /tmp/fu.cpp /tmp/fu.cpp:9: error: `X::operator Y(typename voidify::type)' must take `void' $ g++-2 /tmp/fu.cpp /tmp/fu.cpp:9: `X::operator Y(typename voidify::type)' must take `void' /tmp/fu.cpp:9: `X::operator Y(typename voidify::type) const' must take `void' I might have misread the CWG issue http://anubis.dkuug.dk/jtc1/sc22/wg21/docs/cwg_closed.html#18, thinking it was a defect. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=9278