[cfe-commits] [patch][3.2] Visibility cleanup and fixes

Rafael Espíndola rafael.espindola at gmail.com
Wed Apr 18 20:09:32 PDT 2012


> This model doesn't make any sense to me.  It would make sense if
> the templated thing were just the class;  but actually, the class and
> all of its members and their members recursively are all templated.
>
> I think you're asking for a significantly weirder language model
> based on some idea of cleanliness of implementation, and I don't
> understand the motivation at all.

I am not too attached to this particular case, but it does falls
naturally.  I have a small concern that if a users writes an explicit
attribute in a class member,  he will find it surprising when it gets
overwritten.

In any case, this is not the main point of the patch, so I will just
change this case so that the template argument affects members too.

> John.

Cheers,
Rafael




More information about the cfe-commits mailing list