[Top][All Lists]

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

Explicit Template Instantiation

From: Garrett Kajmowicz
Subject: Explicit Template Instantiation
Date: Tue, 30 Nov 2004 18:02:51 -0500
User-agent: Pan/0.14.2 (This is not a psychotic episode. It's a cleansing moment of clarity.)

I'm working on an embedded version of the C++ standard library (see and am trying to clean up a few items in the code. 
Specifically, I am looking for a way to force an application linked
against the library to use the version of a template provided in the
library, if it is available.

Since the C++ standard library is almost entirely templates,
-fno-implicit-templates cannot be expected to be used in a production
system because of traditional user practices.

As such, I'be been finding ways of forcing certain code into the library
(by making a dummy function and creating objects of the desire type inside).

Yet for some reason I am unable to get the library to link against the
version in the library.  I've tried stripping it out of the application to
no avail.

Suggestions on this theme?


-       Garrett Kajmowicz

reply via email to

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