- 02 4月, 2021 2 次提交
-
-
由 Herb Sutter 提交于
-
由 nullptr-cpp 提交于
* Add '<=>' to comparison operators related rules (C.87, C.167) C++20's three-way comparison operator should respect the same rules as other comparison operators. * Fix a minor typo Co-authored-by: NJonathan Wakely <github@kayari.org> Co-authored-by: NJonathan Wakely <github@kayari.org>
-
- 26 3月, 2021 1 次提交
-
-
由 nullptr-cpp 提交于
In accordance with the title at line 4568, use `const&` instead of `const &`.
-
- 19 3月, 2021 2 次提交
-
-
由 Sergey Zubkov 提交于
-
由 Sergey Zubkov 提交于
-
- 12 3月, 2021 5 次提交
-
-
由 Sergey Zubkov 提交于
-
由 Sergey Zubkov 提交于
-
由 Herb Sutter 提交于
-
由 Herb Sutter 提交于
-
由 Martin 提交于
This allows the example to remain simple well not misleading a beginner such a comparison is safe. Including an epsilon comparison or something similar would overly complicate this example. Co-authored-by: NMartin O'Shea <martin.oshea@native-instruments.com>
-
- 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 提交于
-