[Bug c++/47752] Non-dependent name is found in dependent base class although it should be rejected

dodji at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Feb 15 15:38:00 GMT 2011


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

Dodji Seketeli <dodji at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dodji at gcc dot gnu.org

--- Comment #2 from Dodji Seketeli <dodji at gcc dot gnu.org> 2011-02-15 15:36:59 UTC ---
I am no C++ Language Lawyer but my understanding is that G++ considers foo in
f(foo(42)) as
being type dependent. This looks somewhat related to C++ Core
Working Group issue
http://www.open-std.org/JTC1/SC22/WG21/docs/cwg_active.html#1005 and I
heard that this issue is being presently discussed.

PR c++/47172 is also (remotely) related to this.



More information about the Gcc-bugs mailing list