🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Andrew L. Gross Thu, 20 Aug 1992 00:57
Template problem with gcc 2.2.2
#967
Author: Andrew L. Gross
Date: Thu, 20 Aug 1992 00:57
25 lines
1327 bytes
I am having a problem with templates on gcc 2.2.2.  One of the problem
arises when I have a "const" method inside my template.  Removing the
"const" gets rid of the problem.

Another problem occurs when I use "static" member functions.  This problem
will also go away when the "static" is removed, but this changes the
entire program.

The error that comes up for both is
[filename]: template for methode `[method name]' doesn't match any in class
    `[Template Name]<[Instance Name]>'

Lastly, I got a
: method `__opP *13' not found in class `Template<XXX>'

Any ideas?

                                   Andy

------------------------------------------------------------------------

Andrew L. Gross                             ADSTAR
Internet: fletch@vnet.ibm.com               63S/071-2
Phone: (602) 799-3459                       9000 S. Rita Road
Tie Line:    321-3459                       Tucson, AZ  85744
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads