--- Additional Comments From ramya dot chandar at wipro dot com 2005-03-08
09:44 ---
(In reply to comment #9)
> 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
--- 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).
--- Additional Comments From ramya dot chandar at wipro dot com 2004-11-24
06:55 ---
clarification please...
I tried including "template<>" in front of each of the specialized template
member functions. It doesn't solve the problem.
But, in the code i have attached,( since the generali
--- Additional Comments From ramya dot chandar at wipro dot com 2004-11-23
12:31 ---
Subject: Re: seems not possible to specialize a template member
function
clarification please...
I tried including "template<>" in front of each of the specialized template
member functions. It does
--- Additional Comments From bangerth at dealii dot org 2004-11-05 19:29 ---
Duplicate of PR 15552.
*** This bug has been marked as a duplicate of 15552 ***
--
What|Removed |Added
--
--- Additional Comments From bangerth at dealii dot org 2004-11-05 19:27 ---
These are all duplicates of PR 15552
--
What|Removed |Added
Status|RESOLVED
--- Additional Comments From pinskia at gcc dot gnu dot org 2004-11-05 05:03
---
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).
--- Additional Comments From pinskia at gcc dot gnu dot org 2004-11-05 04:28
---
As I said before the code you have here is invalid C++.
you have to add
template<> in front of each of the specialization of a template member function.
Also you have problems with template namelookup also
--- Additional Comments From ramya dot chandar at wipro dot com 2004-11-05 04:21
---
Created an attachment (id=7477)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7477&action=view)
preprocessed code for AppliqueSensorListener.cc
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=1
--- Additional Comments From ramya dot chandar at wipro dot com 2004-11-05 04:19
---
Created an attachment (id=7476)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7476&action=view)
preprocessed source for AppliqueHandler.cc
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18306
10 matches
Mail list logo