https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65291

            Bug ID: 65291
           Summary: protected using constructor default arguments not
                    recognized
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: webmatematika at hotmail dot com

Created attachment 34931
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34931&action=edit
Classes A and B, and main file c.cpp

using A::A in class B that inherits class A should allow us to construct B with
same number of arguments as class A.


run with gcc c.cpp -std=c++11
Tested with gcc 4.8.2, but I think it's active in 4.9 too.

Reply via email to