On 07/07/2016 02:57 AM, Jonathan M Davis via Digitalmars-d-learn wrote:
> then you should probably use a factory function. e.g.
And name that function "opCall" and you have a non-constructor that
supports the default-constructor syntax. :p
static B opCall()
{
// ...
}
auto b = B();
Ali