Overloading based on attributes - is it a good idea?

Walter Bright newshound2 at digitalmars.com
Tue May 28 18:07:47 UTC 2019


On 5/28/2019 10:35 AM, Jonathan Marler wrote:
> After reading Walter's response here, another thought came to mind that instead 
> of attribute overloading, a template with static-if could also be used.

@nogc attributes are often inferred. Such constructs would make it undecidable.


More information about the Digitalmars-d mailing list