https://issues.dlang.org/show_bug.cgi?id=20695

RazvanN <razvan.nitu1...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |razvan.nitu1...@gmail.com

--- Comment #1 from RazvanN <razvan.nitu1...@gmail.com> ---
This is not related to copy constructors:

struct K
{
    int a;
    string b;
    this(int, int, int) {}
}

void main()
{
    K s = K(7, "gigi");   
}

It seems that once you define a constructor, you are not able to use the
default constructor.

--

Reply via email to