Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
TazeTSchnitzel
5y ago
0 comments
Save
Share
> compiler enforced error checking. Very, very few languages have that
__attribute__ ((warn_unused_result))
in C/C++ with GCC and Clang is great.
0 comments
2 comments · 1 top-level
top
newest
oldest
vinkelhake
5y ago
· 1 in thread
And standardized as [[nodiscard]] in C++17.
MaxBarraclough
5y ago
Interesting, thanks.
https://en.cppreference.com/w/cpp/language/attributes/nodisc...
j
/
k
navigate · click thread line to collapse