Commit Graph

2185 Commits (3088cf4f1de67552e33c27d56c5e7da311e2f756)
 

Author SHA1 Message Date
Jonathan Wakely 3088cf4f1d
Fix invalid regex in scripts/python/md-split.py (#2303)
The `[` character doesn't need to be escaped.

The `]` character needs to be escaped as `\\]` or as `\]` in a raw string.
2 months ago
Jonathan Wakely ee52a86110
Change all explicitly created <a name="..."> anchors to lowercase (#2304)
GitHub Flavored Markdown requires these anchors to be all-lowercase for
markdown-style links within the document to work.

Also change one anchor that uses '*' which isn't valid in HTML or
Markdown.

And rename duplicate anchor res-macros to res-macros3.
2 months ago
Jonathan Wakely 0572c075fc
Use https:// for all URLs where possible (#2301)
All the URLs changed here are to sites which do support HTTPS and which
automatically redirect the current links to the HTTPS version. Using
https:// directly avoids a redirection and a second request.

The only http:// URLs not fixed are broken and should be replaced in a
separate fix.
2 months ago
Sergey Zubkov 2a64d42398 Revert "Fixed a typo. local var name (#2284)"
This reverts commit 2722375cee.

That typo was intentional as noted in the prose after the example (addmittedly hard to see)
3 months ago
Michael Witten d40a490d48
[NR.6] trivial: s/goto_exit/goto exit/ (#2287)
The example intended:

    goto exit;

However, it was mistakenly written as:

    goto_exit;
3 months ago
kalyanmysore 2722375cee
Fixed a typo. local var name (#2284)
Under P.6, there are a few examples where the size is passed separately. The local variable name for the size is n. There is a typo and m is passed instead. There is no local var named m. It should be n.
3 months ago
Sergey Zubkov bf48712293 declutter isocpp.dic 5 months ago
ivanpanch b4c5037b40
Fix errata (#2280)
* Fix errata

* Update CppCoreGuidelines.md
5 months ago
Sergey Zubkov ad93f8d0a6 [T.84] make List::front example compile
closes #2231
6 months ago
Sergey Zubkov cb0744e931 [C.183] make example compile
closes #2271
8 months ago
Sergey Zubkov a446e940a8 [C.128] reword the note on final classes
the issue was raised that it can be interpreted as a claim that final
and override are the same; this attempts to make it harder to misread

closes #2235
8 months ago
Sergey Zubkov e76e1acaa8 bump date 8 months ago
Sergey Zubkov eee70d8f2e fix CI 8 months ago
Niels Dekker 21d6761a84
Clarify NR.7 ("Don't make data members `protected`") (#2273)
Made NR.7 ("Don't make all data members `protected`") clearer by removing the word "all".

Used the default formulation of C.133 ("Avoid `protected` data") as hyperlink text, linking to C.133. Used the old hyperlink text ("Make member data `public` or (preferably) `private`") as alternative formulation of C.133.
8 months ago
Herb Sutter 177b50eced Add notes, closes #2266, closes #2267 9 months ago
Shay Molcho 39097e3f85
Added missing periods for consistency and correctness (#2250)
Added missing periods in various parts of the text to ensure consistency and correctness in writing style. This revision maintains uniform formatting throughout the document, improves readability, and aligns the punctuation with the rest of the content for a more polished and structured appearance.
9 months ago
Xavier Bonaventura e1bfeb2c8b
Update AUTOSAR Guidelines link (#2262)
Mark AUTOSAR Guidelines as obsolete and link replacement rules.
This can be seen in the AUTOSAR document in the Scope clause.
9 months ago
bgloyer 9b3f20eb42
F.6 noexcept Issue #2220 (#2264)
* F.6 noexcept

* add overriders to isocpp.dic
9 months ago
Herb Sutter 0459ef444d Demote enforcement to note, closes #2246 12 months ago
Sergii Slobodianiuk f7d1181212
Fix P.11: Missing bug description. (#2245) 12 months ago
Gabriel Dos Reis 6864a9fc9e
Clarify the status of `dyn_array` (#2243) 1 year ago
Sergey Zubkov 8a59841030 update dict to clear CI 1 year ago
Herb Sutter de1861cdbd Remove guidance against passing `unique_ptr<T>` by `const&`, closes #2240 1 year ago
Herb Sutter e738bcc73c Remove "Capping" note, closes #2236 1 year ago
Herb Sutter 8557755adb Replace R.5 exception and examples with moving a BigObject to the heap to save stack
Closes #2221
1 year ago
Herb Sutter f3bc9dd1af Reword 3 occurrences of "special operations"
See #2224
1 year ago
Herb Sutter 5b98c70498 Fix R.21 warning to cover all Shared_pointer parameters
Closes #2226
1 year ago
arkadye 4e3a6f24bc
Correct grammar for NR.2 (#2228) 1 year ago
Sergey Zubkov 48c3395fe1 C.20: another example touch-up to comply with C.46 1 year ago
Sergey Zubkov 417da7404d C.20: rephrase example, re #2212 1 year ago
Sergey Zubkov 0915e25942 update date 1 year ago
Sergey Zubkov dd57964801 C.20: define a ctor to not imply we're forbidding all ctors
closes #2212
1 year ago
boyeong-jeon 50afe0234c
E.16: Fix inconsistent description (#2209) 2 years ago
Sergey Zubkov 5ff92185f3 we should be able to publish the page from main branch 2 years ago
Sergey Zubkov 019ec5df95 update date 2 years ago
Sergey Zubkov 4d339c0b95
Create jekyll-gh-pages.yml 2 years ago
Herb Sutter 46c70fe2e5 Make exception safety `new` notes consistent, and mention that problem was fixed in C++17
Closes #2197
2 years ago
Herb Sutter 9656da8cb5 Add missing links
Closes #2196
2 years ago
Piotr Idzik 6435165ea0
Update link to MISRA C++ Guidelines (#2194)
* Update link to MISRA C++ 2008 Guidelines

* Link to MISRA C++ 2023 Guidelines
2 years ago
Herb Sutter 6c68bf8f34 Add note about pointerlike indirections, and remove incorrect destructor note
Closes #2183
Closes #2188
2 years ago
Herb Sutter 4f723b0fff
Add "take a copy for immediate local use" case to F.16 (#2172)
Closes #2170
2 years ago
Paul Jansen d76efeb645
Removed confusing comments (#2076) (#2179) 2 years ago
Jan Schultke c91ea43aba
Improve reasoning and examples for F.48 (#2100)
* fix incorrect reason for F.48

* distinguish rvo and nrvo

* the issue is about local, so limiting example to local

---------

Co-authored-by: Sergey Zubkov <cubbi@cubbi.com>
2 years ago
1024 2a2581cc95
R.3: Fill in placeholder link (#2173)
* fill in placeholder link

* fixed a typo
2 years ago
Herb Sutter 1b37b50162 Make `suppress` tag a string literal, closes #2042 2 years ago
Herb Sutter 13176c69de Revert adding short anchors, and keep fixes to avoid `{{`
`{{` interferes with rendering the page
2 years ago
Herb Sutter acf08ddd46 Add `#pNN` anchors for P section 2 years ago
Jan Schultke 631eccd444
F.21 Don't return tuples (#2166)
* F.21 don't return tuples

* F.21 implement Herb's suggestions

* Mini-rebase for spell check fix

* elaborate on optional/expected

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

* improve wording in one sentence

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

* fix incorrect code transformation

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

* fix missing word

---------

Co-authored-by: Herb Sutter <herb.sutter@gmail.com>
Co-authored-by: Jonathan Wakely <github@kayari.org>
2 years ago
Herb Sutter e784212ef0 Fix spell check regression 2 years ago
Sergey Zubkov fcda019d0b fix CI 2 years ago