[cfe-dev] How to iterate the members of AccessSpecDecl object.
dgregor at apple.com
Mon Feb 21 08:11:41 PST 2011
On Feb 20, 2011, at 11:40 PM, Talespin Kit wrote:
> The documentation of AccessSpecDecl says
> AccessSpecDecl - An access specifier followed by a colon ':'.
> An objects of this class represents sugar for the syntactic occurence
> of an access specifier followed by a colon in the list of member
> specifiers of a C++ class definition.
> Note that they do not repesent other uses of access specifiers,
> such as those occuring in a list of base specifiers.
> Also note that this class has nothing to do with so-called
> "access declarations" (C++98 11.3 [class.access.dcl]).
> Does the documentation has to be updated. ?
No, that documentation is perfectly accurate.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cfe-dev