Velocity Reviews - Computer Hardware Reviews

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

Reply
Thread Tools

template instantiations on SUN

 
 
sunil
Guest
Posts: n/a
 
      08-13-2008
Hello All,
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 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
 
Reply With Quote
 
 
 
Reply

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 technology_post@yahoo.com 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? PengYu.UT@gmail.com C++ 1 10-19-2005 05:52 PM
Re: STL list and template instantiations mpichini C++ 0 07-01-2003 05:44 PM



Advertisments