template instantiations on SUN

S

sunil

Hello All,
reading http://docs.sun.com/source/819-3690/Program_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 its
mentioned 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)
how to find out default value for "-instances" option for my version
of sun compiler version:
CC -V
CC: Sun C++ 5.5 Patch 113817-15 2005/10/25
Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,767
Messages
2,569,571
Members
45,045
Latest member
DRCM

Latest Threads

Top