- 24 2月, 2021 1 次提交
-
-
由 JuliusBrueggemann 提交于
-
- 19 2月, 2021 3 次提交
-
-
由 Herb Sutter 提交于
-
由 Herb Sutter 提交于
-
由 Herb Sutter 提交于
-
- 12 2月, 2021 1 次提交
-
-
由 Herb Sutter 提交于
-
- 29 1月, 2021 5 次提交
-
-
由 Sergey Zubkov 提交于
-
由 Herb Sutter 提交于
-
由 Herb Sutter 提交于
-
由 Herb Sutter 提交于
-
由 syntroniks 提交于
-
- 25 1月, 2021 1 次提交
-
-
由 Sergey Zubkov 提交于
-
- 22 1月, 2021 5 次提交
-
-
由 Herb Sutter 提交于
-
由 Herb Sutter 提交于
Added xref, massaged summary.
-
由 shaneasd 提交于
-
由 Florian Behrens 提交于
Changed the example so that objects are not passed by reference to other thread contexts (though threads are properly synchronized).
-
由 peno2 提交于
* Add new rule ES.3 Don't repeat yourself * Replace function example with more inclusive/neutral language Add a reference to topic on libraries.
-
- 17 12月, 2020 2 次提交
-
-
由 Sergey Zubkov 提交于
-
由 David Leal 提交于
-
- 17 11月, 2020 1 次提交
-
-
由 Niels Dekker 提交于
-
- 30 10月, 2020 4 次提交
-
-
由 Herb Sutter 提交于
-
由 Herb Sutter 提交于
Closes #1703
-
由 Herb Sutter 提交于
Closes #1705
-
* Update C.83 with swap for resource mgmt. The swap is useful to implement assignments idiomatically (e.g. copy-swap idiom). With the current enforcement, to non-virtual classes, very simple classes (e.g. `trivially_copyable`, a struct encapsulating an stl container) are suggested to have a swap. This suggestion can be argued wrong since for very simple classes copy-swap idiom is not efficient (the creation of a third object on assignment is not needed, which copy-swap does). * Rework C.83 according to PR comments.
-
- 06 10月, 2020 1 次提交
-
-
由 Sergey Zubkov 提交于
-
- 02 10月, 2020 6 次提交
-
-
由 hsutter 提交于
-
由 hsutter 提交于
Also removes the only use of `decltype` in the Guidelines, FTW.
-
由 Herb Sutter 提交于
Remove string_span, recommend using `std::string_view`, `std:::span,<char>` or `gsl::span<char>` instead (#1680)
-
由 Herb Sutter 提交于
The various guidelines now have consistent Enforcements. All C-style casts are now consistently banned, including to `(void)`. Cast to `(void`)` should be `std::ignore =` instead. All functional-style casts are now consistently banned, instead of `T(x)` use `T{x}`.
-
由 Sergey Zubkov 提交于
-
由 Sergey Zubkov 提交于
-
- 24 9月, 2020 4 次提交
-
-
由 hsutter 提交于
Removed gsl::string_span, recommend using std::string_view, std::span<char>, or gsl::span<char> instead
- 22 9月, 2020 2 次提交
-
-
由 Gabriel Dos Reis 提交于
E.30: Remove suggestion to use `throw()`
-
由 Niels Dekker 提交于
Removed the suggestion to use `throw()` from E.30 ("Don't use exception specifications"), as it was deprecated by C++11, and is rejected by C++20.
-
- 04 9月, 2020 4 次提交
-
-
由 hsutter 提交于
Fixing previous commit where we ate the whitespace after "may" in four places (yay regex search `might[^\s]`)
-
由 hsutter 提交于
In English, the word "may" is overloaded and ambiguous. This commit changes it to "might" wherever possible, otherwise more specific meanings like "can," "could," or especially "must" ("may not" -> "must not" when that is intended).
-
由 David B 提交于
* ES.103 examples updated, addresses Issue #1656 * Fix cpplint report: Res-overflow0.cpp:18: Missing spaces around <= [whitespace/operators] [3]
-
由 rjhcnf 提交于
* added minor clarification. * Update CppCoreGuidelines.md Updated comment. * Update CppCoreGuidelines.md
-