Commit Graph

76 Commits (2170-hs)

Author SHA1 Message Date
Jan Schultke e694c3cd04
Modernize uses of POD types (#2120)
* modernize uses of POD types

* update isocpp.dic
2 years ago
Sergey Zubkov 1d04d93dbe bump date and make CI happy 3 years ago
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
3 years ago
Hyuk Myeong efd59afe9c
Fix typos when using names (#2035)
* Fix typos when using names

* Update isocpp.dic
3 years ago
Hyuk Myeong fa31c19979
Fix minor typos (#2022)
* Fix minor typos

Fix minor typos

* Update isocpp.dic
3 years ago
Sergey Zubkov 4b706d9d6d satisfy travis ci 3 years ago
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>
4 years ago
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.
4 years ago
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
4 years ago
Sergey Zubkov fdbaff2bf7 [CP.2] link CP.102 list of books and add Herlihy-Shavit
closes #1725
4 years ago
Sergey Zubkov 2ba69f786e satisfy CI checks 4 years ago
bgloyer 6ed82c8b7b
ES.11 Issue #1763 (#1849)
* Update for Issue 1763

* add copy case

* Add 'DataRecord'
4 years ago
bgloyer 375d452495
R.34-35 shared_ptr examples (#1808) 4 years ago
Sergey Zubkov fa726d5b0a make CI happier 5 years ago
Sergey Zubkov 077a29ee3c CI fixes 5 years ago
Sergey Zubkov ee28f50025 dict update for CI 5 years ago
Sergey Zubkov 2c95a33fef travis CI fixes 5 years ago
Sergey Zubkov 72fba35f33 travis CI fix 6 years ago
Sergey Zubkov ac7079b012 travis CI fix 6 years ago
Sergey Zubkov 24c3993e97 fix CI, fix heading and add comment requested at today's editor's call 6 years ago
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/
6 years ago
Sergey Zubkov 986402298a travis CI fixes 6 years ago
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
6 years ago
Sergey Zubkov 282ff88e57 fixes to pass travis checks 6 years ago
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
6 years ago
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
7 years ago
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
7 years ago
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
7 years ago
Sergey Zubkov 50b9cefe39 travis CI and typo fixes 7 years ago
Martin 0b275097b6 Fixed a typo within ES.23 7 years ago
Sergey Zubkov 73057d3b0b travis CI fixes and typos 7 years ago
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
7 years ago
Jonathan Wakely 30fbc0bb64 Add "rethrow" and "rethrowing" to dictionary 8 years ago
Sergey Zubkov 01e59d5452
added ofstream to dictionary for travis CI 8 years ago
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
8 years ago
Dipl.-Ing. Raoul Rubien, BSc 888067d6ff fixed spellcheck/lint issues on running make in ./scripts/ (#1134) 8 years ago
Sergey Zubkov 25d9d12e15 travis CI fixes 8 years ago
Andrew Pardoe 999f9dd0ce Adding "ptrdiff" to travis dictionary 8 years ago
Sergey Zubkov 7dc8aaa420 travis CI fixes 8 years ago
Jonathan Wakely c9fd263e07 Add "nodiscard" to the dictionary 8 years ago
Jonathan Wakely ef3a6c4d4d Add intentionally-wrong spelling of "incorrect" to dictionary 8 years ago
Jonathan Wakely 2aec9170db Add intentionally-wrong spelling of "incomplete" to dictionary 8 years ago
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.
9 years ago
Thibault Kruse d13bfcda64 Consistent hyphenation of ajectives like lock-free, well-defined, old-style,... 9 years ago
Thibault Kruse f1971b1401 add nonwords to dict to remove spellchacker warning 9 years ago
Thibault Kruse 70655d1131 Fix typos and change spellcheck call to not check URLs (#961) 9 years ago
Andrew Pardoe 5e2f9064b2 Merge pull request #927 from ZachHenkel/master
Additional guidance around casts:
9 years ago
Sergey Zubkov fe9861d98a New rule: I.27 Pimpl 9 years ago
Sergey Zubkov 906ae347f3 travis CI fixes 9 years ago
Zachary Henkel f3ff5bae6d Clarify "unnecessary cast" by decomposing the class into identity casts and implicit casts. 9 years ago