🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.os.ms-windows.programmer.tools.misc
1 messages
1 total messages Started by Brian Glendenning Wed, 06 Mar 1996 02:06
C++ compilers with separate template instantiation?
#4
Author: Brian Glendenning
Date: Wed, 06 Mar 1996 02:06
19 lines
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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads