Dear Jacques,
Thanks!
--
LaBird (Benny).
"Jacques Labuschagne" <> wrote in message
news

HvLb.16494$...
> LaBird wrote:
> > Dear all,
> >
> > I would like to ask what is the way to separate class
> > template definition from declaration in different source
> > files?
>
> No. (Your compiler doesn't support the "export" keyword.)
>
> The nearest hack-around is
>
> // foo.hpp
> template<typename T> class X{
> void func(const T&);
> }
> #include "foo.cpp"
>
> // foo.cpp
> template<typename T> void X<T>::func(const T&){}
>