Converting a POD struct to a class at compile-time ?

bearophile via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Jul 16 10:57:07 PDT 2014


Klb:

> Hello, I'd like to know if it's possible, using CTFE, mixin etc 
> to convert a POD struct to a class at compile time.

I remember Andrei planned to add this small thingie to Phobos, 
but it's still missing.

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list