linux.debian.devel
[Top] [All Lists]

Re: RFC, problem with g++4

Subject: Re: RFC, problem with g++4
From: Florian Weimer <fw@xxxxxxxxxxxxx>
Date: Fri, 29 Jul 2005 17:20:11 +0200
Newsgroups: linux.debian.devel
* Antti-Juhani Kaijanaho:

> That is not a new trick, I'm fairly sure that was legal when I first
> learned of the enum idiom.

It's illegal according to The C++ Programming Language, Second Edition
(which was published in 1991).  I didn't claim the trick was new. 8-)

> The problem is, your trick doesn't work outside templates,

Huh?


-- 
To UNSUBSCRIBE, email to debian-devel-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx

<Prev in Thread] Current Thread [Next in Thread>