C++17 attributes - maybe_unused, fallthrough and nodiscard--Simon Brand
Do you know these new attributes?
C++17 attributes - maybe_unused, fallthrough and nodiscard
by Simon Brand
From the article:
C++17 adds three new attributes for programmers to better express their intent to the compiler and readers of the code: maybe_unused, fallthrough, and nodiscard. This is a quick post to outline what they do and why they are useful.