There is anything like that in D? If not, there is any plan to add it?
There is anything like nodiscard attribute in D?
victoroak via Digitalmars-d-learn Mon, 29 Jul 2019 07:25:46 -0700
I have an Expected/Result struct, but without an attribute
similar to nodiscard
(https://en.cppreference.com/w/cpp/language/attributes/nodiscard)
is not very useful.
- There is anything like nodiscard ... victoroak via Digitalmars-d-learn
- Re: There is anything like n... Jonathan M Davis via Digitalmars-d-learn