[Bug c++/6273] [DR 502] Dependency of nested enumerations and enumerators

gdr at integrable-solutions dot net gcc-bugzilla@gcc.gnu.org
Sat Sep 17 20:29:00 GMT 2005


------- Additional Comments From gdr at integrable-solutions dot net  2005-09-17 20:29 -------
Subject: Re:  [DR 502] Dependency of nested enumerations and enumerators

"reichelt at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> writes:

| The code snippet from comment #4 is now accepted on the 4.0 branch
| and mainline due to Mark's patch for PR21514:
| 
| http://gcc.gnu.org/ml/gcc-patches/2005-09/msg00996.html
| 
| The anonymous enum is again treated via SFINAE.

Notice however, that this is not a committee decision.  It is not 
clear at this moment whether linkage should play any role in SFNINAE
or not -- but the previous behaviour was just annoying.

-- Gaby


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=6273



More information about the Gcc-bugs mailing list