Template Codegen + Tupleof
Kyle Furlong
kylefurlong at gmail.com
Tue Feb 6 00:41:38 PST 2007
So I've been trying to write a function that will yield an array of
structs containing the types and offsets of each member of a UDT.
Naturally, I looked to use tupleof and templating to pull this off.
In the process, I think I've come across a bug. Although, since I don't
regularly program in D, I'm not sure if what I'm trying to do is the
Right Way. Its also why I'm not posting a Bugzilla on this just quite yet.
The attachment is a bit lengthy because I couldnt reduce it any more
than that. Let me know what you think.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: bug.d
Url: http://lists.puremagic.com/pipermail/digitalmars-d-bugs/attachments/20070206/838873dd/attachment.txt
More information about the Digitalmars-d-bugs
mailing list