Should binary sharing be done using Mixin Template?

Vladimir Panteleev vladimir at thecybershadow.net
Sat May 21 02:29:42 PDT 2011


On Sat, 21 May 2011 12:26:35 +0300, Matthew Ong <ongbp at yahoo.com> wrote:

> Should D be able to do binary sharing when the same template is being  
> used for different data type.

A linker should be able to merge binary-identical objects in read-only  
segments, but this will cause ambiguity in stack traces (and possibly have  
other consequences I can't think of).

-- 
Best regards,
  Vladimir                            mailto:vladimir at thecybershadow.net


More information about the Digitalmars-d mailing list