Another new feature.
C++17: Attributes
by Marc Gregoire
From the article:
C++17 introduces three new code attributes:
- [[fallthrough]]
- [[maybe_unused]]
- [[nodiscard]]
The first one was discussed in detail in my C++17: Fallthrough in switch statements blog post. The others are briefly explains below...
Add a Comment
Comments are closed.