[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Templates & shared libs



> Date: Wed, 30 Oct 2002 08:26:01 -0800 (PST)
> From: Boris Visnjic <bvisnjic@xxxxxxx.com>

> I have very strange problem with templates and shared
> libraries. Here is my situation:
> 
> - create small test class that is template and uses
> std::basic_string<char> internally
> - compile it and link it into the shared library
> - create small test program that uses test template
> class and link it with the shared library

> I would appreciate any help on this one.

Can you please send me a small self-contained program; that is,
all the source?

(Odds are strong that I will not see the bug if I just follow
your directions. ;-)

Thanks.

brgds, H-P