How to use templated classes with kdevelop

Bernd Gehrmann bernd at physik.hu-berlin.de
Mon Oct 11 14:53:36 BST 1999


On Mon, 11 Oct 1999, Peyre wrote:

> Hi
> 
> I need to derive a template class for an app I'm developing.
> There's no problem with the template class itself. It's compiled and linked
> correctly. In revange, when I derive it, I can't build the app anymore.

You must put the definition of templated functions into the
header file, otherwise gcc can't instantiate it. But that
has nothing to do with KDevelop.

Bernd.




More information about the KDevelop mailing list