reading http://docs.sun.com/source/819-3690/...Org.html#37468, I
see there are two ways to instantiate templates: template definitions
included, template definitions separate, does template definitions
separate mean there will be only one copy of instantiated template
code per type ?
Also the compiler options: -instances=static,global,explicit atleast
last three mention they work only with definition included, -
instances=extern doesnt mention anything (does this work with
definition included/separate ) both of them? (http://docs.sun.com/app/
docs/doc/805-4954/6j4mf9fl2?a=view)
What is the default value for this optoin for this sun compiler
version:
CC -V
CC: Sun C++ 5.5 Patch 113817-15 2005/10/25
Thanks