[Bug c++/18306] seems not possible to specialize a template member function
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Nov 24 19:11:00 GMT 2004
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-11-24 19:11 -------
Invalid, as what you are doing is called explicit specializtion and when this happens you instantiate the
template and now you are violating the one defintional rule (which is 14.7/5 in the C++ standard).
Note that if you use 3.4.0, it works with adding template<>.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18306
More information about the Gcc-bugs
mailing list