Difference between struct and class in internal tree
Tom Dean
dean@cs.queensu.ca
Sun Feb 11 11:23:00 GMT 2001
On 11 Feb 2001, Gabriel Dos Reis wrote:
> "Thomas R. Dean" <dean@cs.queensu.ca> writes:
>
> [...]
>
> | way to distinguish a class from a structure in the tree. They both
> | come out as a RECORD_TYPE. Is there any way to distinguish the two?
>
> A starting point might be `CLASSTYPE_DECLARED_CLASS' predicate.
Thanks.. I missed it in the tree rep internal manual and
was looking in the g++ internals manual.
Tom.
More information about the Gcc
mailing list