> b.h
> ===
>
> template <class t>
> class b
> {
> public:
> b();
> ~b();
> };
>
> b.cpp
> =====
>
> #include "b.h"
> template <class t>
> b<t>::b() {}
> template <class t>
> b<t>::~b() {}
Try b.cpp looking like this:
b.cpp
======
#include "b.h"
template<typename t> b::b() {}
template<typename t> b::~b() {}
I used typename instead of class, but they should be interchangeable (if you
want to use typename, you'd better alter it in the class definition too).
I believe that the extra type specifier in your function name is what is
messing the compiler up - you're already telling it you are using a template
of name T, so why bother duplicating it? I could look at my code to see if
this is right - but I don't remember ever doing it your way.
> regards,
> Akos
MIKE
--
Beware the JabberOrk
--
[EMAIL PROTECTED] mailing list