This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/17470] Visibility attribute ignored for explicit template instantiation
- From: "bangerth at dealii dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 13 Sep 2004 23:40:04 -0000
- Subject: [Bug c++/17470] Visibility attribute ignored for explicit template instantiation
- References: <20040913213750.17470.austern@apple.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From bangerth at dealii dot org 2004-09-13 23:40 -------
May I remark that I would find it quite odd to have attributes
for functions on a template _instantiations_? I would think that
the attribute should be at either the declaration or the definition.
I understand that this precludes giving different instantiations
different visibility, but it would make the system somewhat less
odd...
W.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17470