Creating weak symbols with D

Manu turkeyman at gmail.com
Mon Aug 10 23:12:15 UTC 2020


On Sun, 9 Aug 2020, 4:00 am Andrei Alexandrescu via Digitalmars-d, <
digitalmars-d at puremagic.com> wrote:

> Weak symbols (https://en.wikipedia.org/wiki/Weak_symbol) are not often
> needed, but they are, they're needed badly.
>
> C and C++ define __attribute__((weak)) to introduce weak symbols. It
> would be great if D could have a corresponding @weak attribute.
>

I feel like you're not the first person that's said this...

>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20200811/0ed583ab/attachment.htm>


More information about the Digitalmars-d mailing list