[Bug c++/52995] Change in the handling of templates and visibility attributes

rafael.espindola at gmail dot com gcc-bugzilla@gcc.gnu.org
Thu Apr 19 06:03:00 GMT 2012


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52995

--- Comment #3 from Rafael Avila de Espindola <rafael.espindola at gmail dot com> 2012-04-19 06:00:59 UTC ---
This just got discussed on the clang list. In the end we implemented what gcc
does. The winning argument was that it is not just the class that is templated,
but its members too. If a template argument can change the visibility of a
class, it should have the same power over its members.

My suggestion is to close this bug and mark it as working as intended, but I
will leave it open for the week in case someone else wants to comment.



More information about the Gcc-bugs mailing list