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: unassig...@gcc.gnu.org
        ReportedBy: fpellicci...@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.
fpellicci...@gmail.com

Reply via email to