[Bug c++/78073] inherited initializer_list constructor is not accessible

aaz@q-fu.com gcc-bugzilla@gcc.gnu.org
Mon Nov 21 11:45:00 GMT 2016


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

Andrey Zholos <aaz@q-fu.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |aaz@q-fu.com

--- Comment #2 from Andrey Zholos <aaz@q-fu.com> ---
I think the below code triggers the same bug. But it seems to be fixed in
latest trunk.


// -std=c++1z

struct A {
    A(int, int) {}
};

struct B : A {
    using A::A;
};

B b{1, 2};


More information about the Gcc-bugs mailing list