[cfe-dev] Where to put member pointers in the type hierarchy?
Douglas Gregor
dgregor at apple.com
Sat Jan 24 09:08:59 PST 2009
On Jan 24, 2009, at 7:16 AM, Sebastian Redl wrote:
> I'm currently implementing pointers-to-members, and now that I can
> parse
> the declaration,
Cool!
> 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".
- Doug
More information about the cfe-dev
mailing list