C++17 attributes - maybe_unused, fallthrough and nodiscard--Simon Brand

Save to:
Instapaper Pocket Readability

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.

Add a Comment

Comments are closed.

Comments (0)

There are currently no comments on this entry.