On Monday, 10 May 2021 at 10:37:51 UTC, Alain De Vos wrote:
Can I say that the compiler is intelligent enough to add the attributes "pure nothrow @nogc @safe" ?

Yes, in those cases (and some others). The functionality is described here:
https://dlang.org/spec/function.html#function-attribute-inference

--
  Simen
  • type of functions Alain De Vos via Digitalmars-d-learn
    • Re: type of functions Simen Kjærås via Digitalmars-d-learn

Reply via email to