[Issue 5464] Attribute to not ignore function result
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Feb 28 04:22:21 PST 2011
http://d.puremagic.com/issues/show_bug.cgi?id=5464
--- Comment #1 from bearophile_hugs at 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, setDifference, etc. @nodiscard is useful for them all.
See also bug 3882
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list