On Apr 8, 2012, at 3:42 PM, Andrei Alexandrescu <[email protected]> 
wrote:

> On 4/8/12 5:33 PM, Sean Kelly wrote:
>> ba is a BlockAttr bit field.
> 
> Yah. The question was how can I retrieve a type's "native" bit field, i.e. 
> NO_SCAN for int, FINALIZE for class objects, etc.

getAttr for allocated blocks, as I'm sure you know. But there's no single field 
in TypeInfo that has the bitfield. And one of the flags in TypeInfo is 
backwards of what you'd expect. Really, I'd like to see all TypeInfo generated 
by template code in druntime. 

Reply via email to