Discussion Thread: DIP 1038-- at nodiscard--Final Review
Dennis
dkorpel at gmail.com
Fri Feb 5 11:01:07 UTC 2021
On Friday, 5 February 2021 at 01:04:01 UTC, IGotD- wrote:
> I think that having a compiler flag that warns when a return
> value is not used should be enough. That should cover those
> projects where always checking the return value is a
> requirement.
In my current project that uses `return this;` to allow chaining
methods, that would give hundreds of false positives.
More information about the Digitalmars-d
mailing list