Struct default constructor - need some kind of solution for C++ interop

Ethan Watson via Digitalmars-d digitalmars-d at puremagic.com
Thu Sep 8 07:15:22 PDT 2016


On Thursday, 8 September 2016 at 12:32:44 UTC, Andrei 
Alexandrescu wrote:
> 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.


More information about the Digitalmars-d mailing list