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

--- Comment #7 from Huiba Li <huiba....@alibaba-inc.com> ---
> ```
>   struct A {
>     A(int, int = 0);
>     A(int, int, int = 0) = delete;
>   };
>   struct B : A {
>     using A::A;
>   };
>   B b(1);
> 
> ```
> 
> This is rejected by GCC and EDG while accepted by clang/msvc.

As a user of C++, I'd say I'm surprised to see the rejection, and then confused
by the reason given in the error message.

Reply via email to