f78 Where's the Template? Contents|Index|Previous|Next
 

Where’s the template? 

C++ templates are the first language feature to require more intelligence from the environment than one usually finds on a UNIX system. Somehow the compiler and linker have to make sure that each template instance occurs exactly once in the executable if it is needed, and not at all otherwise.

There are two basic approaches to this problem, which we will refer to as the Borland model and the Cfront model.
 

0