Proofreading and fix of the link (#103)

This commit is contained in:
Dmitry Tsarevich
2021-09-30 01:51:54 +03:00
committed by GitHub
parent 39f2281bbf
commit c72f2796c0
5 changed files with 12 additions and 12 deletions

View File

@@ -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();