alias symbols in object files

John Colvin john.loughran.colvin at gmail.com
Sun Apr 21 12:30:08 PDT 2013


On Sunday, 21 April 2013 at 19:22:27 UTC, Peter Alexander wrote:
> On Sunday, 21 April 2013 at 18:54:27 UTC, John Colvin wrote:
>> Surely the aliased symbol should appear in the object file, or 
>> am I missing something?
>
> What would you expect it to look like in the object file? A 
> duplicate of the foo function?

Something like that, yes.

I have a templated function and need particular instantiations of 
it in a library. If aliases cannot be used for this, I suppose 
the most reasonable option is to write wrapper functions.


More information about the Digitalmars-d mailing list