Sergey Zubkov
9928c95f97
typos, wording, links ( closes #1529 )
2020-04-02 11:26:53 -04:00
hsutter
b4bb11a833
Tweak to close #1588
2020-03-26 11:47:45 -07:00
shaneasd
040b141acf
Clarify ES.48 enforcement rule for void cast of [[nodiscard]] ( #1588 )
2020-03-26 11:47:19 -07:00
hsutter
1ca5545ce1
Followup to close #1586
2020-03-26 11:43:27 -07:00
Akash Mozumdar
6f01c706a8
Actually detect negative sizes by following ES.106 ( #1586 )
...
* Actually detect negative sizes by following ES.106
And don't use senseless one letter names
* fix grammar
Co-Authored-By: Johel Ernesto Guerrero Peña <johelegp@gmail.com>
Co-authored-by: Johel Ernesto Guerrero Peña <johelegp@gmail.com>
2020-03-26 11:38:07 -07:00
Sylwester Fraczek
d2be4cba57
F.21 remove ;
in function definition ( #1592 )
2020-03-24 12:22:45 -04:00
Sergey Zubkov
ab91388efd
fix mismatched anchors, closes #1569 ( #1581 )
2020-03-19 11:34:50 -07:00
Akash Mozumdar
aea393c85c
C.180 example bugfix ( #1587 )
...
new[] needs delete[]
2020-03-16 08:27:00 -04:00
Adnn
2f0c2e5874
C.22 Fixes a mistake in the code example not making a deep copy ( #1573 )
2020-02-27 20:18:08 +01:00
hsutter
fc383d6641
Updated #1570
...
Typo
2020-02-27 11:16:46 -08:00
Chris Guzak
63ceef65e3
Add SF.12, 3rd try ( #1570 )
...
* add SF.12
* add incscope to isocpp.dic to get the CI build to pass
* expand INCLUDES, update dictionary for the ci build to pass
* pr feedback
* in the same directory
* update based on feedback
* 3rd try
* PR feedback
* update lable
* Update CppCoreGuidelines.md
* Update CppCoreGuidelines.md
2020-02-27 20:16:10 +01:00
hsutter
6388b4d1ea
Followup to PR 1564
...
Changed the two anchors back (anchors need to stay stable and don't
display visibly anyway)
Switched "non-public" back to hyphernated (to use hyphenation
consistently)
2020-02-27 11:14:04 -08:00
Hyuk Myeong
ab0255b371
Add and remove hyphens to words that begin with non ( #1564 )
...
* Add hyphens to words that begins with a non
* Remove hyphens in nonpublic
2020-02-27 20:10:24 +01:00
roroberto
1429d9ec71
Added example to CP.61: Use an async() to spawn a concurrent task ( #1557 )
...
Added example to CP.61: Use an async() to spawn a concurrent task
2020-01-30 14:45:04 -05:00
Herb Sutter
6e72adc0fe
Casting away const isn't undefined behavior, but modifying a constant is ( #1509 )
...
* Casting away const isn't undefined behavior, but modifying a constant is
You can cast away `const` as much as you like, as long as you never write to variable.
* rewording for clarification
2020-01-30 11:28:19 -08:00
hsutter
2eb8ea9279
Tweaked #1516 one more time
2020-01-30 11:27:07 -08:00
hsutter
fd857db583
Tweak to #1516 per editors call
2020-01-30 11:24:43 -08:00
kuzkry
745b0664c2
clarify that GSL semi-specification of some types does not reflect actual support of them ( #1516 )
2020-01-30 11:23:29 -08:00
hsutter
dc8e49314f
Tweaked PR #1553 per editors call
2020-01-30 11:21:00 -08:00
Kim Viggedal
153da17417
Merge I.2 and R.6 seem to address the same issue, ( #1553 )
...
thus I propose removing R.6 and moving some of its contents into I.2.
2020-01-30 11:19:22 -08:00
hsutter
9a4db6c1c4
Adopt the change suggested in PR #1556 , just making the casing consistent the other way (lowercase)
2020-01-16 11:52:25 -08:00
hsutter
b01d9e0d23
Updated MISRA entry with link, updating PR #1554
2020-01-16 11:45:48 -08:00
Mark Nelson
605a48ae03
Added two coding references ( #1554 )
...
* Added two commonly used coding guideline documents
* Update CppCoreGuidelines.md
2020-01-16 11:44:50 -08:00
hsutter
f92c1c2eb3
Tweaked #1551
...
To adjust example comment and Enforcement per PR #1551 comments
2020-01-16 11:28:21 -08:00
Baptiste Thémine
164c0b3b5d
Add code examples to CppCoreGuidelines ES.77 ( #1551 )
2020-01-16 11:26:23 -08:00
Hyuk Myeong
5c065f850c
Fix typos ( #1549 )
...
* R.37 : it callees -> its callees
* ES.65 : a different part from the original paper
2020-01-16 11:05:11 -08:00
Sergey Zubkov
c68a395830
[I.27] fix move ctor in the pimpl example ( closes #1471 )
2020-01-15 16:38:44 -05:00
Sergey Zubkov
df94731290
update LLVM coding standards description, closes #1502
2020-01-15 16:34:23 -05:00
Bernd Ritter
778b44c2c9
Corrected link to noexcept anchor ( #1559 )
2020-01-09 13:01:02 -05:00
Sergey Zubkov
282ff88e57
fixes to pass travis checks
2019-12-20 16:37:06 -05:00
Sergey Zubkov
9e9950353a
typos noted in comments to 2fdc696
2019-12-20 16:26:14 -05:00
shaneasd
1e371f7f86
Fix trivial recent typos ( #1550 )
2019-12-20 16:23:25 -05:00
Bjarne Stroustrup
ad30d9ee16
Update CppCoreGuidelines.md
...
Clarified the enforcement of C.121 according to #1368
2019-12-08 17:36:43 -05:00
Bjarne Stroustrup
7db3ad84ff
Update CppCoreGuidelines.md
...
REsolving #1500 with an explanatory note in the introduction.
2019-12-08 15:09:15 -05:00
Bjarne Stroustrup
2fdc6960b4
Update CppCoreGuidelines.md
...
Adding rule to resolve #1424
2019-12-08 14:54:19 -05:00
Bjarne Stroustrup
a58ec3ee69
Update CppCoreGuidelines.md
...
To resolve #1356 , cleaned up the text for non-rules, eliminating double negatives
2019-12-08 14:16:39 -05:00
Bjarne Stroustrup
f370b1fa9e
Update CppCoreGuidelines.md
...
Closed #1101
2019-12-08 13:31:09 -05:00
Bjarne Stroustrup
b06e365c9f
Modify ES.20 to address #1400
2019-12-08 12:19:24 -05:00
Bjarne Stroustrup
1fdd7e2869
testing
...
date change
2019-12-06 10:05:14 -05:00
Sergey Zubkov
93ab66d8da
[SF.9] singular/plural mismatch ( closes #1545 )
2019-12-03 10:15:00 -05:00
hsutter
3528dd91ef
Updated Lifetime spec to 1.1
...
Major changes in R1:
- Added SharedOwner concept.
- Added “Diagnostic sensitivity options” section to define a way to
start with zero-false-positive warnings and increasingly opt into
additional diagnostics.
- Changed function annotation syntax to contract-like pre(cond) and
post(cond) syntax, and added that they are implicitly inherited by
virtual overrides.
- Renamed static to global to reduce confusion with the keyword.
- Refined default lifetimes semantics of Pointer-to-Pointer parameters.
2019-11-22 10:31:54 -08:00
hsutter
54afca9318
Elaborated on PR #1539
2019-11-21 11:33:10 -08:00
Zachary Henkel
39b9ebdf86
Address items called out in Issue 1424 ( #1539 )
...
* Address items called out in Issue 1424
* Fix issues caught by CI
* Updates based on PR review
2019-11-21 11:28:59 -08:00
Zachary Henkel
fc32070096
Address items called out in Issue 1418 ( #1538 )
2019-11-21 11:12:41 -08:00
Zachary Henkel
cd478777c1
Allow return statements from case labels ( #1537 )
2019-11-21 11:10:08 -08:00
Mark Nelson
0363246c03
link to archived version of Collecting Shared Objects ( #1530 )
...
When a reference in the Bibliography is available online, it would seem to be nice to have a link. In this example, the original article was published in C/C++ User's Journal, with the content later ported to the DDJ web site. The DDJ site is no longer reliable, but a good copy exists in archive.org, and I've linked to it here.
2019-10-15 14:05:13 -04:00
shaneasd
56a941a7f8
Fix discussion link in C.36 ( #1523 )
2019-10-10 12:30:51 -06:00
johansin
3f70be9721
T.25: Fix number in exponential sequence. ( #1526 )
...
Otherwise rather suggests a quadratic growth.
2019-10-08 17:28:55 -04:00
Taewon Park
ef78ef4d88
Fix wrong markdown links in E.15 ( #1522 )
...
Fixed markdown links in E.15 which direct readers to Github repository, not currently viewing page
2019-09-27 10:45:07 -04:00
Tom Lankhorst
fbb2fc6bb5
Update Rper-simple example comment ( #1508 )
...
The example that is 'intended' to be faster is actually faster on clang 8 /w -O3, and marginally slower than the 'simple' example on GCC 9.1 /w -O3
http://quick-bench.com/DrXvcvhjS1zDmMkgxrzIjbMByYA
http://quick-bench.com/03VXPgDSxiMAmZMItiEA0iwTJgM
2019-09-05 12:09:41 -06:00