Cannot interpret struct at compile time
Robert Clipsham
robert at octarineparrot.com
Sat May 7 15:57:12 PDT 2011
On 07/05/2011 23:36, Andrej Mitrovic wrote:
> Not too sure, CTFE is a pain in the ass sometimes. What exactly are
> you trying to do, print field names in a custom way?
No, I have a struct that I don't have access to in the scope I'm in, I
do however have its type - by using the above, I can create a local
clone of the type which acts the same (at least for my purposes), which
I can then do things with. Except that it fails with that error message D;
--
Robert
http://octarineparrot.com/
More information about the Digitalmars-d-learn
mailing list