Problem: Cannot create class out of nothing using witchcraft

DoctorCaptain garble at harble.com
Wed Oct 16 12:09:06 PDT 2013


> AWW you posted that while I was writing my latest novel. So 
> T[i] doesn't work? I guess I shouldn't have opened my eyes this 
> morning. In any case, typeof() DOES work, so as long as there 
> is a way to extract the type, we're good.
>
> I am extremely pleased it's actually possible to get individual 
> data members like I was originally attempting to do. I'm likely 
> not going to actually do this, as your T members; solution is 
> cleaner, but I'm glad it's not just arbitrarily impossible.
>
> Thank you so much!

And I could have SWORN I tried to write something like what you 
have in your latest DPaste, but I must have been doing something 
wrong, of course. In any case, I'm glad this whole thing has been 
so very cleanly resolved. Infinity thank you.


More information about the Digitalmars-d-learn mailing list