Summary
Explore the essential standard attributes introduced in C++17, such as noreturn, deprecated, and nodiscard. Understand how these attributes enhance code readability, help detect errors, and aid optimizers. This lesson prepares you to use attributes effectively in your C++17 programming.
We'll cover the following...
We'll cover the following...
All Attributes available in C++17
| Attribute | Description |
|---|---|
[[noreturn]] |
a function does not return to the caller |
[[carries_dependency]] |
extra information about dependency |