[cfe-dev] Reflection

David Chisnall csdavec at swan.ac.uk
Tue Dec 14 11:09:58 PST 2010


On 14 Dec 2010, at 15:27, Russell Harmon wrote:

> I didn't really think it mattered since C++ is (mostly) just a
> superset of C, but I had actually intended to do this for C, not C++.


>From an Objective-C perspective, it would be very interesting if C structures and functions could have their types registered with the runtime.  This would probably add a lot of overhead for types - unlike Objective-C classes, they don't have a single location with an authoritative definition, but for functions it would be relatively cheap.  

David

-- Sent from my Cray X1



More information about the cfe-dev mailing list