[cfe-dev] Where to put member pointers in the type hierarchy?
dgregor at apple.com
Sat Jan 24 11:08:59 CST 2009
On Jan 24, 2009, at 7:16 AM, Sebastian Redl wrote:
> I'm currently implementing pointers-to-members, and now that I can
> the declaration,
> I need to extend the AST type hierarchy. So I'm
> wondering where to put member pointers. Should they be a subclass of
> PointerType, of PointerLikeType, or just of Type?
In standards parlance, member pointers are not actually pointers, so
they should subclass "Type".
More information about the cfe-dev