Is it safe to use 'is' to compare types?

Ali Çehreli via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Mar 9 14:26:38 PST 2016


On 03/09/2016 07:05 AM, Yuxuan Shui wrote:

 > Can we left TypeInfo symbol undefined in the shared libraries? i.e. D
 > compiler will strip out TypeInfo definition when creating .so.
 > (Alternatively, we can have TypeInfo always undefined in .o, and
 > generate them in linking stage only when creating executables)

That would require a linker that's aware of D but as far as I know, all 
system languages use the system linker.

Ali



More information about the Digitalmars-d-learn mailing list