On Saturday, 22 August 2015 at 08:16:06 UTC, Marc Schütz wrote:
Another possible mechanisms would be some UDA magic.

E.g.:

    class MyClass {
        @factorizable
        this() { }
        @factorizable
        this(string) { }
        this(int) { }
    }

    mixin registerFactoryConstructors; // for entire module

Reply via email to