Article View: comp.os.ms-windows.programmer.tools.misc
Article #4C++ compilers with separate template instantiation?
From: Brian Glendenning
Date: Wed, 06 Mar 1996 02:06
Date: Wed, 06 Mar 1996 02:06
19 lines
1223 bytes
1223 bytes
Hello: I'm an experience C++ programmer on Unix. I'm used to CFront and various native compilers from various vendors. All of them support separate template instantiation in various ways. I recently got VC++ 4.0 for my PC. To my disappointment, I discovered that it apparently needs the template definitions to be explicitly included where an instantiation is needed. Are there any PC compilers where this is not necessary? I would prefer the compiler figure out where to do the instantiation. I have a vague recollection that Borland used to instantiate into every object that needs a certain instantiation, and then the linker throws the excess copies away. Is this right? What PC compiler has the best template support in general? Thank you. Brian Glendenning, glenden@rt66.com
Technical Details
Message-ID:
<4hirm9$4i9@mack.rt66.com>Path:
arc1-ca.pugleaf.net!mack.rt66.com!usenetShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!mack.rt66.com!usenet From: glenden@rt66.com (Brian Glendenning) Newsgroups: comp.os.ms-windows.programmer.tools.misc,comp.lang.c++ Subject: C++ compilers with separate template instantiation? Date: Wed, 06 Mar 1996 02:06:43 GMT Organization: Rt66.COM, Public Internet Access in New Mexico Message-ID: <4hirm9$4i9@mack.rt66.com> NNTP-Posting-Host: pme01.rt66.com X-Newsreader: Forte Free Agent 1.0.82