Commit Graph

2009 Commits

Author SHA1 Message Date
Michael B. Price
e92886217c Adding .DS_Store to the .gitignore file since MacOS loves touching those files. (#1886) 2022-02-03 22:16:40 -05:00
Michael B. Price
256e6a939f Remove irrelevant source file mistakenly committed (#1885) 2022-02-03 16:22:03 -05:00
Sergey Zubkov
e01a72ee93 make two more mentions of supported standards agree with the Abstract 2022-01-28 01:38:17 -05:00
bgloyer
43f2e34148 E.14 exception type examples for #1852 (#1857)
* E.14

* clean-up

* add final

* Added words to dictionary

* cleanup

* fix typo

* Update CppCoreGuidelines.md
2022-01-27 13:10:34 -08:00
Sergey Zubkov
369beb8a0c make other mentions of supported standards agree with the Abstract 2022-01-21 00:47:39 -05:00
Hyuk Myeong
1a57ff0226 Fixed typos (#1876) 2022-01-20 13:10:52 -08:00
Melroy van den Berg
5f393d53af Promote C++20 (#1880)
The documentation still mentions C++17, while C++20 is already out for some time. So I updated the introduction paragraphs.
2022-01-17 00:00:25 -05:00
Sergey Zubkov
171fda3597 F.7: de-lowercase two lines 2022-01-06 23:26:42 -05:00
Ryan A. Pavlik
ba12aca973 Fix broken cross-references. (#1878) 2022-01-06 23:24:22 -05:00
Sergey Zubkov
11cc4c4775 E.15: typo in title 2022-01-05 10:03:44 -05:00
Sergey Zubkov
fdbaff2bf7 [CP.2] link CP.102 list of books and add Herlihy-Shavit
closes #1725
2022-01-03 17:04:49 -05:00
Sergey Zubkov
ce5341b02d merge ES.74 into ES.6, leaving a redirect behind
closes #1858
2022-01-03 16:50:16 -05:00
Kevin Boyette
dc6ea376c4 ES.48: fix wording in reasoning (#1859) 2021-11-30 23:14:38 -05:00
oleksandrkozlov
b6d7ab64ad C.130: drop a destructor in the D class (#1855)
To follow the Rule of Zero.
2021-11-18 13:08:34 -08:00
Sergey Zubkov
620cf6278e C.130: drop final from last commit per meeting notes 2021-11-11 16:13:12 -05:00
bgloyer
86a42c29fc Update CppCoreGuidelines.md (#1851) 2021-11-11 16:11:36 -05:00
Sergey Zubkov
2ba69f786e satisfy CI checks 2021-11-05 14:44:24 -04:00
Sergey Zubkov
4a51d9f129 satisfy CI checks 2021-11-05 14:41:32 -04:00
bgloyer
6ed82c8b7b ES.11 Issue #1763 (#1849)
* Update for Issue 1763

* add copy case

* Add 'DataRecord'
2021-11-04 11:56:35 -07:00
Herb Sutter
23350fd99f Updated E.15
Straggler edit
2021-11-04 11:47:28 -07:00
Herb Sutter
d568d190f6 Generalized E.15, closes #1848
Extended guideline to throw by value rather than by pointer
2021-11-04 11:47:01 -07:00
stefanhige
740e71ecf8 C.147: Add missing example. (#1835) 2021-10-17 23:12:02 -04:00
Alexey Dmitriev
34c4b9f525 Update example in F20 (#1839)
Rewrite copy vs move example to actually involve copy/move as opposite to be copy elided
2021-10-15 23:17:41 -04:00
Alexey Dmitriev
b35c837477 Replace structured bindings example in ES.11 (#1840)
Closes #1655
2021-10-15 09:39:08 -04:00
Sergey Zubkov
590c87bc4e Create SECURITY.md 2021-10-07 11:54:32 -04:00
Herb Sutter
72b235041b Update C.183 to use std::byte, closes #1823 2021-09-30 11:43:57 -07:00
Herb Sutter
369a5be424 Made char* advice more consistent, closes #1826 2021-09-30 11:30:59 -07:00
Herb Sutter
e44a9fcbd4 Add enforcement for C.35, closes #1831 2021-09-30 11:24:47 -07:00
bgloyer
596f1ee227 ES.46 Issue 1797 - narrowing to bool (#1824)
* ES.46 Issue 1797

* spacing

* remove spaces

* dereference ptr

* spacing

* used contextual conversions to bool wording
2021-09-30 11:05:14 -07:00
Fangjun Kuang
d28958ae66 Fix typos. (#1829) 2021-09-13 09:17:39 -04:00
char-lie
c4cdbe369e Fix typo in "Using the GSL: A Tutorial and FAQ" (#1828)
Duplicated `is` is redundant.
2021-09-05 23:25:01 -04:00
bgloyer
375d452495 R.34-35 shared_ptr examples (#1808) 2021-08-29 14:01:17 -04:00
David Machaj
ddc8f3e7d6 Add CP.52 and CP.53 guidelines, closes #1805, closes #1806 (#1812)
* Add CP.52 and CP.53 guidelines

* Address some feedback on CP.52

* Fix PR break caused by code line longer than 100 characters in CP.53

* Fix spelling error and one line of trailing whitespace

* Tweaks to CP.53 based on feedback
2021-08-19 11:11:47 -07:00
bgloyer
ca2ad9dbca Added update dictionary instructions (#1820) 2021-08-11 22:57:34 -04:00
ash
5bbf843942 T.61 example fixes (#1813) 2021-07-29 14:52:06 -04:00
Sergey Zubkov
fa726d5b0a make CI happier 2021-07-22 14:39:42 -04:00
Herb Sutter
786749e60c Clarify "concrete type" and make type category descriptions consistent (closes #1780) (#1798)
* Clarify "concrete type" and make type category descriptions consistent (closes #1780)

* markdown fixup

Co-authored-by: Jonathan Wakely <cxx@kayari.org>

* Elaborated that we can't generally add comparison operators to C structs

Co-authored-by: Sergey Zubkov <cubbi@cubbi.com>
Co-authored-by: Jonathan Wakely <cxx@kayari.org>
2021-07-08 11:25:12 -07:00
Sergey Zubkov
2feba4fbd3 make CI happier 2021-06-27 23:52:42 -04:00
Gustav Jansson
652a93ef46 [Pro.safety] Changed lettered list to a numbered (isocpp#1800) (#1801)
* Changed lettered list to a numbered (isocpp##1800)

* Added blank line for CI (isocpp##1800)
2021-06-27 23:52:00 -04:00
Sergey Zubkov
bda7ff108f CI fixes 2021-06-18 17:03:45 -04:00
Herb Sutter
4c4fb37b43 Corrected enforcement of C.67 2021-06-17 11:45:01 -07:00
Herb Sutter
528cb9e832 Update C.67 and C.130 to address #1151 2021-06-17 11:33:14 -07:00
Herb Sutter
52e6263377 Add Tour2e example to C.126, closes #1794 2021-06-17 11:16:12 -07:00
Herb Sutter
402815345e Added suggestion to use a pointer member instead of a reference; closes #1783 2021-06-10 11:36:01 -07:00
Herb Sutter
03fc3a359b Closes #1791 2021-06-10 11:27:17 -07:00
Herb Sutter
d93489f3d4 Applying Jonathan's suggestion for #1792 2021-06-10 11:16:54 -07:00
Alessandro Gentilini
b96d861fd1 Add clarification at C.21 (#1792) 2021-06-10 11:14:58 -07:00
Marco Gartmann
da97de7160 Rewrite C.164 enforcement (#1789)
Rewrite C.164 enforcement to flag non-explicit conversion operators only.
2021-06-10 11:13:22 -07:00
Juha Reunanen
e2dbebed73 Do not allocate an excessive amount of memory in example code. (#1788)
This reverts commit de20b33dab.
2021-06-10 11:12:19 -07:00
Herb Sutter
e583929996 Updated Con.1 to make one function a definition, closes #1785
Also fixed "arguments" -> "parameters"
2021-05-13 11:48:48 -07:00