public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/65291] New: protected using constructor default arguments not recognized
@ 2015-03-03  5:17 webmatematika at hotmail dot com
  2015-03-03  5:26 ` [Bug c++/65291] " webmatematika at hotmail dot com
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: webmatematika at hotmail dot com @ 2015-03-03  5:17 UTC (permalink / raw)
  To: gcc-bugs

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.


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

end of thread, other threads:[~2015-03-03 16:55 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-03  5:17 [Bug c++/65291] New: protected using constructor default arguments not recognized webmatematika at hotmail dot com
2015-03-03  5:26 ` [Bug c++/65291] " webmatematika at hotmail dot com
2015-03-03 12:51 ` [Bug c++/65291] mention that default arguments of constructors are not inherited manu at gcc dot gnu.org
2015-03-03 14:26 ` redi at gcc dot gnu.org
2015-03-03 16:43 ` redi at gcc dot gnu.org
2015-03-03 16:55 ` redi at gcc dot gnu.org

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).