Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C++ > template instantiations on SUN

Thread Tools

template instantiations on SUN

Posts: n/a
Hello All,
reading, 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? (
how to find out default value for "-instances" option for my version
of sun compiler version:
CC: Sun C++ 5.5 Patch 113817-15 2005/10/25
Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
template instantiations on SUN sunil C++ 2 08-13-2008 07:17 PM
Sun Updates Sun Java Availability Suite, Adds Sun Cluster Advanced Edition for Oracle Real Application Clusters Deployments Java 0 04-05-2006 04:29 AM
extern usage for template instantiations sks C++ 3 12-03-2005 01:51 PM
Can different instantiations of the same template can access others' private member? C++ 1 10-19-2005 05:52 PM
Re: STL list and template instantiations mpichini C++ 0 07-01-2003 05:44 PM