public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/11719] New: Cannot specialize a member function of a template class
@ 2003-07-30  0:43 igodard at pacbell dot net
  2003-07-30  0:44 ` [Bug c++/11719] " igodard at pacbell dot net
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: igodard at pacbell dot net @ 2003-07-30  0:43 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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

           Summary: Cannot specialize a member function of a template class
           Product: gcc
           Version: 3.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: igodard at pacbell dot net
                CC: gcc-bugs at gcc dot gnu dot org

See attachments


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug c++/11719] Cannot specialize a member function of a template class
  2003-07-30  0:43 [Bug c++/11719] New: Cannot specialize a member function of a template class igodard at pacbell dot net
  2003-07-30  0:44 ` [Bug c++/11719] " igodard at pacbell dot net
@ 2003-07-30  0:44 ` igodard at pacbell dot net
  2003-07-30  0:49 ` pinskia at physics dot uc dot edu
  2 siblings, 0 replies; 4+ messages in thread
From: igodard at pacbell dot net @ 2003-07-30  0:44 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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



------- Additional Comments From igodard at pacbell dot net  2003-07-30 00:44 -------
Created an attachment (id=4514)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=4514&action=view)
Compiler output (-v -save-temps)


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug c++/11719] Cannot specialize a member function of a template class
  2003-07-30  0:43 [Bug c++/11719] New: Cannot specialize a member function of a template class igodard at pacbell dot net
@ 2003-07-30  0:44 ` igodard at pacbell dot net
  2003-07-30  0:44 ` igodard at pacbell dot net
  2003-07-30  0:49 ` pinskia at physics dot uc dot edu
  2 siblings, 0 replies; 4+ messages in thread
From: igodard at pacbell dot net @ 2003-07-30  0:44 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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



------- Additional Comments From igodard at pacbell dot net  2003-07-30 00:44 -------
Created an attachment (id=4515)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=4515&action=view)
Source code


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug c++/11719] Cannot specialize a member function of a template class
  2003-07-30  0:43 [Bug c++/11719] New: Cannot specialize a member function of a template class igodard at pacbell dot net
  2003-07-30  0:44 ` [Bug c++/11719] " igodard at pacbell dot net
  2003-07-30  0:44 ` igodard at pacbell dot net
@ 2003-07-30  0:49 ` pinskia at physics dot uc dot edu
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at physics dot uc dot edu @ 2003-07-30  0:49 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


pinskia at physics dot uc dot edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


------- Additional Comments From pinskia at physics dot uc dot edu  2003-07-30 00:49 -------
The code is invalid as you cannot specialize just a function of template class, you have to 
specialize the who class:
Adding
template <typename T>
class S<T, 1> {
public: 
        void Foo();
        };
Fixes the code to become valid.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-07-30  0:49 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-30  0:43 [Bug c++/11719] New: Cannot specialize a member function of a template class igodard at pacbell dot net
2003-07-30  0:44 ` [Bug c++/11719] " igodard at pacbell dot net
2003-07-30  0:44 ` igodard at pacbell dot net
2003-07-30  0:49 ` pinskia at physics dot uc dot edu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).