Problem with g++ 2.95.2 ? Static methods and templates
Alexandre Oliva
aoliva@redhat.com
Thu Dec 7 08:34:00 GMT 2000
On Dec 7, 2000, Matt Gumbley <mgumbley@enigmadata.co.uk> wrote:
> Could someone with more knowledge of C++ and g++ help?
If the definitions of member functions of a template aren't visible
when the template is instantiated, they won't be instantiated. You
must define template member functions in the header file itself, at
least until the `export' keyword is implemented. If Sun WorkShop 5.0
doesn't require either, it's an extension of the C++ Standard, that
GCC doesn't happen to support.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me
More information about the Gcc-bugs
mailing list