help-gplusplus
[Top][All Lists]
Advanced

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

Re: Forcing the instantiation of templates in a shared object


From: Paul Pluzhnikov
Subject: Re: Forcing the instantiation of templates in a shared object
Date: 13 Mar 2005 18:07:54 -0800
User-agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Artificial Intelligence)

James Kanze <kanze@none> writes:

> I've tried adding:
> 
>      template class ConcreteInputTranslator<UTF32LEInputTranslator> ;

This should be enough and is sufficient to instantiate all methods
of ConcreteInputTranslator in my trivial test case, *provided*
the body of all the methods is available.

If the body is not available, the compiler will not provide a
definition for obvious reason.

Try creating a simple test case demonstrating the problem, if the
body is in fact available at compilation time.

Cheers,
-- 
In order to understand recursion you must first understand recursion.
Remove /-nsp/ for email.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]