Commit Graph

73 Commits

Author SHA1 Message Date
Sergey Zubkov
fcda019d0b fix CI 2024-01-22 15:19:26 -05:00
Jan Schultke
e694c3cd04 Modernize uses of POD types (#2120)
* modernize uses of POD types

* update isocpp.dic
2023-10-12 12:55:10 -07:00
Sergey Zubkov
1d04d93dbe bump date and make CI happy 2023-04-13 23:20:52 -04:00
bgloyer
0d70ae927d SL_3 'Do not add non-standard entities to namespace std' add example (#2031)
* SL_3 add example

* Update isocpp.dic

add My_Vector
2023-03-30 14:18:53 -07:00
Hyuk Myeong
efd59afe9c Fix typos when using names (#2035)
* Fix typos when using names

* Update isocpp.dic
2023-02-10 15:13:18 -05:00
Hyuk Myeong
fa31c19979 Fix minor typos (#2022)
* Fix minor typos

Fix minor typos

* Update isocpp.dic
2023-01-19 14:04:14 -08:00
Sergey Zubkov
4b706d9d6d satisfy travis ci 2023-01-15 10:53:11 -05:00
bgloyer
cbf455407e Clean up and add example for C.32 - raw pointers (#1909)
* Update CppCoreGuidelines.md

* Update CppCoreGuidelines.md

* Update isocpp.dic

* use snake casing

* sake case naming

* C 32 comments (#3)

* F.16 ("in" parameters): Move Matrix example to F.20 (return values) (#1922)

The `Matrix` example and the notes about assignment appear off-topic in rule F.16, as F.16 is specifically about "in" parameters.

With help from Sergey Zubkov.

* SL.io.50 (Avoid `endl`): Mention string streams (#1920)

Explicitly mentioned string streams as `endl` insertions into string streams do actually occur in the wild.

With help from Sergey Zubkov.

* Extended E.16 to include copy ctor for exception type, closes #1921

* Fix GitHub Actions build warnings, Marker style should be `*` (#1925)

* restored reference

* Added references to note

Co-authored-by: Niels Dekker <N.Dekker@lumc.nl>
Co-authored-by: Herb Sutter <herb.sutter@gmail.com>

Co-authored-by: Niels Dekker <N.Dekker@lumc.nl>
Co-authored-by: Herb Sutter <herb.sutter@gmail.com>
2022-07-13 09:23:14 -07:00
Niels Dekker
9ead2c44b4 SL.io.50 (Avoid endl): Mention string streams (#1920)
Explicitly mentioned string streams as `endl` insertions into string streams do actually occur in the wild.

With help from Sergey Zubkov.
2022-06-13 09:11:50 -07: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
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
2ba69f786e satisfy CI checks 2021-11-05 14:44:24 -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
bgloyer
375d452495 R.34-35 shared_ptr examples (#1808) 2021-08-29 14:01:17 -04:00
Sergey Zubkov
fa726d5b0a make CI happier 2021-07-22 14:39:42 -04:00
Sergey Zubkov
077a29ee3c CI fixes 2021-04-05 15:11:05 -04:00
Sergey Zubkov
ee28f50025 dict update for CI 2021-03-11 15:12:00 -05:00
Sergey Zubkov
2c95a33fef travis CI fixes 2020-12-16 23:14:07 -05:00
Sergey Zubkov
72fba35f33 travis CI fix 2020-07-09 13:08:55 -04:00
Sergey Zubkov
ac7079b012 travis CI fix 2020-07-02 15:15:05 -04:00
Sergey Zubkov
24c3993e97 fix CI, fix heading and add comment requested at today's editor's call 2020-05-28 15:06:52 -04:00
Arthur O'Dwyer
e8e0d103c0 CP.1: Simplify example, show good example, expand on rationale (#1615)
"Make your code thread-safe" usually means "don't use global state."
Advice to replace global state with `thread_local` state is usually misguided.
https://quuxplusone.github.io/blog/2018/11/14/fiber-local-storage/
2020-05-28 11:57:18 -07:00
Sergey Zubkov
986402298a travis CI fixes 2020-04-22 09:35:16 -04: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
Sergey Zubkov
282ff88e57 fixes to pass travis checks 2019-12-20 16:37:06 -05: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
Chris Guzak
2895429f55 exception in SF.7 for issue 1440, allow std::literals (#1457)
* exception in SF.7 for issue 1440, allow std::literals

* PR feedback

* add UDLs to spelling dictionary

* put in alpha order
2019-08-01 11:16:46 -07:00
Joshua T. Fisher
1d54448aeb Editing P.9: "Don't waste time or space" Example Text (#1439)
* Initial rewrite

* Fixed a couple of inaccuracies and minor grammar mistakes

Thanks to twitter user @lunasorcery for these changes!

* Added toLower to dictionary
2019-06-20 11:12:29 -07:00
Amir Livneh
f67e91d295 Use memoizes instead of mnemonizes in the context of caching (#1383)
* Use `memoizes` instead of `mnemonizes` in the context of caching

While apparently, 'mnemonizes' is a word, I don't think it's the best choice here.

* Update isocpp.dic
2019-03-09 19:15:27 -05:00
Sergey Zubkov
50b9cefe39 travis CI and typo fixes 2018-10-16 18:08:01 -04:00
Martin
0b275097b6 Fixed a typo within ES.23 2018-10-10 20:49:09 +01:00
Sergey Zubkov
73057d3b0b travis CI fixes and typos 2018-09-05 20:01:36 -04:00
Andrzej Krzemieński
08f67de9fb Updated C.67 and C.130 (#1249)
* Updated C.67 and C.130

This addresses https://github.com/isocpp/CppCoreGuidelines/issues/1246.

* fixed typeos

* updated dictionary
2018-08-13 11:17:23 -07:00
Jonathan Wakely
30fbc0bb64 Add "rethrow" and "rethrowing" to dictionary 2018-03-27 12:16:00 +01:00
Sergey Zubkov
01e59d5452 added ofstream to dictionary for travis CI 2018-02-14 15:37:54 -05:00
Dipl.-Ing. Raoul Rubien, BSc
73dad7909d title page/In.sec: reordered and updated titles (#1135)
* title page: updated titles and unified titles' camel case to sentence case

* In.sec: reordered bullets to match document's workflow, updated titles

* updated several links and link names, modified names to title case

* redirected broken link to new anchor Rf-value-return at 'value return sematic rules' block

* updated links

* reverted unindended broken artistic prose

* updated links, modified "see also's" formatting to comply with the majority

* modified "see also's" formatting to comply with the majority

* fix spellcheck: 'Componentization -> Compartmentalization'

* updated link name
2018-02-12 11:12:58 -08:00
Sergey Zubkov
25d9d12e15 travis CI fixes 2018-01-24 09:19:47 -05:00
Andrew Pardoe
999f9dd0ce Adding "ptrdiff" to travis dictionary 2018-01-22 10:39:01 -08:00
Sergey Zubkov
7dc8aaa420 travis CI fixes 2018-01-02 22:14:16 -05:00
Jonathan Wakely
c9fd263e07 Add "nodiscard" to the dictionary 2017-10-27 12:18:07 +01:00
Jonathan Wakely
ef3a6c4d4d Add intentionally-wrong spelling of "incorrect" to dictionary 2017-10-03 12:13:16 +01:00
Jonathan Wakely
2aec9170db Add intentionally-wrong spelling of "incomplete" to dictionary 2017-10-03 12:12:33 +01:00
Jonathan Wakely
898f819b00 Add [Abrahams01] bibliography entry for exception-safety (#991)
Link to it when talking about the strong and basic exception-safety
guarantees.

Add it to the dictionary.
2017-07-24 19:26:03 +01:00
Thibault Kruse
d13bfcda64 Consistent hyphenation of ajectives like lock-free, well-defined, old-style,... 2017-06-25 13:30:17 +09:00
Thibault Kruse
f1971b1401 add nonwords to dict to remove spellchacker warning 2017-06-25 13:26:24 +09:00
Thibault Kruse
70655d1131 Fix typos and change spellcheck call to not check URLs (#961) 2017-06-17 20:32:04 -04:00
Andrew Pardoe
5e2f9064b2 Merge pull request #927 from ZachHenkel/master
Additional guidance around casts:
2017-06-12 11:26:37 -07:00
Sergey Zubkov
fe9861d98a New rule: I.27 Pimpl 2017-06-04 10:58:27 -04:00
Sergey Zubkov
906ae347f3 travis CI fixes 2017-06-04 10:47:46 -04:00
Zachary Henkel
f3ff5bae6d Clarify "unnecessary cast" by decomposing the class into identity casts and implicit casts. 2017-06-02 09:24:29 -05:00