One thing we could look at is allow only CTFEable default constructors.
Wouldn't work in my case where I need to call a dynamically imported extern( C++ ) function to correctly construct an object.
Ethan Watson via Digitalmars-d Thu, 08 Sep 2016 07:22:36 -0700
One thing we could look at is allow only CTFEable default constructors.
Wouldn't work in my case where I need to call a dynamically imported extern( C++ ) function to correctly construct an object.