mixin template foobar()
{
this() { }
}
class One
{
mixin foobar;
this(int a) //without this ctor all will be fine
{
this(); //default ctor is available from here, but not from Two
}
};
class Two:One
{
};
...
Error: Cannot implicitly generate a default ctor when base class main.One is missing a default ctor.
Windows 7, x86_64, DMD 2.066.
Comment #1 by robert.schadek — 2024-12-13T18:24:37Z