Beginning with version 5.5 of Sun’s C++ compiler, instances go into special address sections, and the linker recognizes and discards duplicates. You can instruct the compiler to use one of five instance placement and linkage methods: external, static, global, explicit, and semi-explicit.
The set of instances in the program is small, but each compilation unit references a large subset of the instances.
There are few instances referenced in more than one or two compilation units.
This section discusses the five instance placement and linkage methods. Additional information about generating instances can be found in 6.3 Template Instantiation.