https://issues.dlang.org/show_bug.cgi?id=5464
RazvanN changed:
What|Removed |Added
Status|NEW |RESOLVED
CC|
created dlang/dmd pull request #11765 "[PoC] Add @nodiscard attribute"
fixing this issue:
- Add @nodiscard attribute
Fixes issue 5464 - Attribute to not ignore function result
https://github.com/dlang/dmd/pull/11765
--
https://issues.dlang.org/show_bug.cgi?id=5464
Paul Backus changed:
What|Removed |Added
CC||turkey...@gmail.com
--- Comment #2 from Paul Ba
https://issues.dlang.org/show_bug.cgi?id=5464
Andrei Alexandrescu changed:
What|Removed |Added
Keywords||bootcamp
CC|
http://d.puremagic.com/issues/show_bug.cgi?id=5464
--- Comment #1 from bearophile_h...@eml.cc 2011-02-28 04:19:31 PST ---
In Phobos there are several functions that have no important effects (despite
sometimes not being pure) that are useful just for their return value, like
isSorted, front, set