Overloading based on attributes - is it a good idea?

Jonathan Marler johnnymarler at gmail.com
Sun Jun 2 05:32:10 UTC 2019


On Saturday, 1 June 2019 at 12:08:50 UTC, Exil wrote:
> Found some odd behavior, seems if a template needs to reference 
> itself, it does not add the @nogc attribute to itself. Meaning 
> it's type is not @nogc/nothrow, but it can still be called in 
> @nogc functions. Unless you take a pointer to it, then it 
> doesn't have the attributes so it can't be called.
>
> [...]

I've made an issue here: 
https://issues.dlang.org/show_bug.cgi?id=19934


More information about the Digitalmars-d mailing list