* Win32 issues with Templates and Libs *

Pragma ericanderton at yahoo.removeme.com
Tue Feb 20 13:37:17 PST 2007


Walter Bright wrote:
> Frits van Bommel wrote:
>> Walter Bright wrote:
>>> You'll care <g> once templates get complex enough. It's been a big 
>>> problem with C++.
>>
>> I'd prefer bloated object files over link errors as well...
>>
>> Perhaps a command-line option could be added to emit templates in 
>> situations like this, so object files don't increase in size because 
>> of this unless necessary?
> 
> My experience with those command line options is almost nobody is able 
> to use them successfully. (They were used in the early days of C++ 
> before COMDATs.)

That raises an interesting question: seeing as how it's using the same backend, how does DMC handle this problem for C++?

-- 
- EricAnderton at yahoo



More information about the Digitalmars-d mailing list