expected icon indicating copy to clipboard operation
expected copied to clipboard

Add [[nodiscard]] to tl::expected

Open Quuxplusone opened this issue 8 months ago • 0 comments

Microsoft STL added [[nodiscard]] on 2024-12-13; see https://github.com/microsoft/STL/pull/5174

martinmoene/expected-lite added [[nodiscard]] on 2024-12-10; see https://github.com/martinmoene/expected-lite/pull/74

See https://quuxplusone.github.io/blog/2024/12/08/should-expected-be-nodiscard/ for further rationale, if needed.

Quuxplusone avatar Feb 10 '25 18:02 Quuxplusone