This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/18306] seems not possible to specialize a template member function


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]