Object - part of the language, or part of Phobos?
Sean Kelly
sean at invisibleduck.org
Sat Oct 1 06:16:51 PDT 2011
TypeInfo instances are generated by the compiler. The types are simply defined in druntime. Same with ModuleInfo.
Sent from my iPhone
On Sep 30, 2011, at 11:20 PM, Steve Teale <steve.teale at britseyeview.com> wrote:
> Jonathan,
>
> I had a secondary question - under what circumstances is the OffsetTypeInfo available?
>
> Since it's not part of the language, I guess whoever implemented the current
> runtime just chose not to provide it, or it's a bug. I'll check out the code.
>
> I want to associate a struct with a database row in my database wrapper, and that
> information would be very useful. The struct.tupleof goes so far, but the offset
> information is not accessible unless you know what field to ask for it on.
>
> Steve
More information about the Digitalmars-d
mailing list