mirror of
https://github.com/AnthonyCalandra/modern-cpp-features.git
synced 2025-12-17 10:04:35 +03:00
Proofreading and fix of the link (#103)
This commit is contained in:
2
CPP14.md
2
CPP14.md
@@ -148,7 +148,7 @@ constexpr T e = T(2.7182818284590452353);
|
||||
```
|
||||
|
||||
### [[deprecated]] attribute
|
||||
C++14 introduces the `[[deprecated]]` attribute to indicate that a unit (function, class, etc) is discouraged and likely yield compilation warnings. If a reason is provided, it will be included in the warnings.
|
||||
C++14 introduces the `[[deprecated]]` attribute to indicate that a unit (function, class, etc.) is discouraged and likely yield compilation warnings. If a reason is provided, it will be included in the warnings.
|
||||
```c++
|
||||
[[deprecated]]
|
||||
void old_method();
|
||||
|
||||
Reference in New Issue
Block a user