public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/53236] New: using declaration and base function template overloading
@ 2012-05-04 18:59 fpelliccioni at gmail dot com
  2012-05-05 17:41 ` [Bug c++/53236] " daniel.kruegler at googlemail dot com
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: fpelliccioni at gmail dot com @ 2012-05-04 18:59 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 53236
           Summary: using declaration and base function template
                    overloading
    Classification: Unclassified
           Product: gcc
           Version: 4.7.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: fpelliccioni@gmail.com


Created attachment 27309
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27309
source code

The code in the attached source file must be rejected according to the 

[namespace.udecl] paragraph 15 (n3290)

When a using-declaration brings names from a base class into a derived class
scope, member functions and
member function templates in the derived class override and/or hide member
functions and member function
templates with the same name, parameter-type-list (8.3.5), cv-qualification,
and ref-qualifier (if any) in a
base class (rather than conflicting).



Tested with:

g++ 4.6.3 - Linux 3.2.0-24 x86
g++ 4.7.1 - Windows7 IA-64


Regards,
Fernando Pelliccioni.
fpelliccioni@gmail.com


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2012-05-07 13:59 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-05-04 18:59 [Bug c++/53236] New: using declaration and base function template overloading fpelliccioni at gmail dot com
2012-05-05 17:41 ` [Bug c++/53236] " daniel.kruegler at googlemail dot com
2012-05-05 18:14 ` fabien at gcc dot gnu.org
2012-05-05 19:17 ` daniel.kruegler at googlemail dot com
2012-05-05 22:00 ` fpelliccioni at gmail dot com
2012-05-05 22:01 ` fpelliccioni at gmail dot com
2012-05-05 22:17 ` fpelliccioni at gmail dot com
2012-05-06 17:55 ` daniel.kruegler at googlemail dot com
2012-05-07 13:27 ` fpelliccioni at gmail dot com
2012-05-07 13:51 ` daniel.kruegler at googlemail dot com
2012-05-07 14:00 ` fpelliccioni at gmail dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).