Commit Graph

413 Commits (6228e99a51e34284f18bf6cf3ebf8f7bb17c41bc)

Author SHA1 Message Date
Gabriel Dos Reis cb3bf9d989 Merge pull request #275 from tkruse/fix-mdstyle16
fix minor style issues
10 years ago
Gabriel Dos Reis 04d69d8268 Merge pull request #278 from tkruse/fix-mdstyle19
Text Style: Unnecessary blank, puntuation, linebreak after comma
10 years ago
Gabriel Dos Reis d21b1f1b65 Merge pull request #277 from tkruse/fix-mdstyle18
consistently no whitespace padding inside round parentheses
10 years ago
Thibault Kruse fcfa485671 Text Style: Unnecessary blank, puntuation, linebreak after comma 10 years ago
Thibault Kruse 7dca435e71 consistently no whitespace padding inside round parentheses 10 years ago
Thibault Kruse 806e40b214 missing indent 10 years ago
Thibault Kruse 572f9c6cbf ??? for placeholder 10 years ago
Thibault Kruse b8254dcf96 fix mix of tabs and spaces 10 years ago
Eliyahu Ravuna 9c129ec89c Feedback of Jared in #283 incorporated into I.4 10 years ago
Gabriel Dos Reis ca107da14c Merge pull request #279 from fkaelberer/patch-2
Fix ES.103 example
10 years ago
Gabriel Dos Reis 620eda5c3c Merge pull request #281 from fkaelberer/patch-3
Fix minor typos and spacing
10 years ago
Eliyahu Ravuna 78581f2ae6 std::chrono::duration example for I.4
Make interfaces precisely and strongly typed.
10 years ago
Felix Kälberer 56c319d46a Fix minor typos and spacing 10 years ago
Felix Kälberer 1de6e77b15 Fix ES.103 example
```
    int area(int h, int w) { return h*w; }
    auto a = area(10'000'000 * 100'000'000);	// bad
```
The `*` in the second line should be a comma
10 years ago
Thibault Kruse d458c57d08 fix duplicate anchor IDs 10 years ago
Thibault Kruse b5d8ef8be7 Fix missing lines/ bad indent 10 years ago
Eliyahu Ravuna 8050963a06 Access memory predictably - Revised according to the feedback in #256
Capitalization revised according to the feedback in #256.
(Access memory predictably)
10 years ago
Gabriel Dos Reis 57d06f2138 Merge pull request #261 from Eliyahu-Ravuna/patch-8
As agreed in #255, commits squashed (ES.100)
10 years ago
Eliyahu Ravuna c4b3b8b0c6 As agreed in #255, commits squashed (ES.100)
As agreed in #255, two commits squashed.
(ES.100: Don't mix signed and unsigned arithmetic)
10 years ago
Eliyahu Ravuna ad3d1dc631 Change agreed in #253
As agreed in #253, three commits squashed into one.
(Suggested 'return containers by value' example + Title made more concise)
10 years ago
Gabriel Dos Reis 4d1c32f298 Merge pull request #219 from tkruse/mdast-idempot
Achieve mdast idempotency (4-space markdown indent, single empty lines)
10 years ago
Gabriel Dos Reis 149a681188 Fix forward links in NL
Fix #241.
10 years ago
Thibault Kruse d844553169 Code blocks consistently use 4 spaces markdown indent (via mdast)
Exception is 8space indent for code inside bullet lists (also handled by mdast)
Changes code fences as well to 4-space indent.

This does not affect C++ indent within code blocks (mdast does not touch that either way).
10 years ago
Thibault Kruse e291947e25 fix consecutive blank lines (mdast output). 10 years ago
Gabriel Dos Reis 00d542f777 Fix misplaced `override` specifier
Fixed #248.
10 years ago
Gabriel Dos Reis c4088e053b Merge pull request #237 from david-mitchell/patch-1
Fix grammar.
10 years ago
Gabriel Dos Reis bdc863dcda Merge pull request #258 from axelstudios/master
Fixed minor typos
10 years ago
Gabriel Dos Reis 2536585830 Merge pull request #257 from RicoAntonioFelix/master
Added capture in lambda expression...
10 years ago
Gabriel Dos Reis a615bdeb19 Merge pull request #254 from Eliyahu-Ravuna/patch-3
Typo fixed in 'Use templates to express containers'
10 years ago
Alex Swindler 23b1257817 Fixed minor typos 10 years ago
RicoAntonioFelix af18193511 Added capture in lambda expression... 10 years ago
drusk 80f93640ce Fixed minor typo in section P.2. 10 years ago
Eliyahu Ravuna 6dbcabc974 Typo fixed in 'Use templates to express containers' 10 years ago
Gabriel Dos Reis 1ab6344b44 Merge pull request #218 from Jiwan/Jiwan-change-nullptr-passing-exemple
Fixed minor error in I.12: Declare a pointer that must not be null as not_nul
10 years ago
Gabriel Dos Reis 6746027209 Merge pull request #242 from tkruse/fix-minisections
Replace **strong** fake headers with real markdown headers
10 years ago
spacewander 9d4a7627c7 fix C.over index error 10 years ago
Thibault Kruse e4ea6c5374 Replace **strong** fake headers with real markdown headers carrying section semantics 10 years ago
Thibault Kruse d5295a8d9d Fix broken and fragile rendering of Bibliography 10 years ago
Thibault Kruse 4b1f9ad99c fix missing closing parens (in test()) 10 years ago
David Mitchell 3d3d43d60f Fix grammar. 10 years ago
David Mitchell d8f54449d6 Fix typo. 10 years ago
Jiwan e41b65cca1 Fixed a minor error in an example in I.12. 10 years ago
Emmanuel Briot cc45432b01 Minor typo fixes 10 years ago
Gabriel Dos Reis 812fb8f314 Merge pull request #221 from david-mitchell/patch-9
Fix typo.
10 years ago
Gabriel Dos Reis b7940d2ef4 Merge pull request #220 from david-mitchell/patch-8
Fix typo.
10 years ago
Gabriel Dos Reis a39f61bc5c Merge pull request #223 from delta-nry/patch-1
Correct and clarify FAQ.59 and FAQ.60
10 years ago
Gabriel Dos Reis cedd9c6481 Merge pull request #209 from jlaire/typos-and-other-fixes
Typos and other fixes
10 years ago
Gabriel Dos Reis d3d0426b39 Merge pull request #228 from david-mitchell/patch-10
Fix verb agreement.
10 years ago
Gabriel Dos Reis b8c9ad47ac Merge pull request #230 from david-mitchell/patch-12
Fix awkward wording.
10 years ago
David Mitchell 7103785b20 Fix awkward wording. 10 years ago
David Mitchell 7d82c95191 Add missing punctuation. 10 years ago
David Mitchell 5560508b28 Fix verb agreement. 10 years ago
Johannes Laire 3f160967b6 More small fixes 10 years ago
Johannes Laire 74b5debe8c Add an example 10 years ago
Johannes Laire 9a976c8a85 Fix bugs in examples 10 years ago
Johannes Laire d01a414fed Typo fixes 10 years ago
Johannes Laire 7e6734ade4 Small fixes to markdown formatting 10 years ago
Nathan Yee 4befe68ea6 Correct and clarify FAQ.59 and FAQ.60 10 years ago
David Mitchell e1810cf164 Fix typo. 10 years ago
David Mitchell 632e4ef544 Fix typo. 10 years ago
Herb Sutter 8a1d622671 Added dyn_array vs. dynarray to FAQ 10 years ago
Brian Rodriguez 7112881429 T.40 typo: `find` to `find_if`
`std::find` accepts a value, not a function object.  `std::find_if` was the intended function.
10 years ago
Gabriel Dos Reis 1ad595e1a6 Merge pull request #212 from tkruse/fix-mdstyle12
Fix code snippets that do not compile, or mark them with ???
10 years ago
Herb Sutter 474d0d3e6b Elaborated on some of the FAQs 10 years ago
Thibault Kruse 314cff005c Fix code snippets that do not compile, or mark them with at least one ??? 10 years ago
Herb Sutter 2528acd017 Added GSL type-specific FAQs 10 years ago
Gabriel Dos Reis 8a1ff8bb3c Merge pull request #196 from david-mitchell/patch-4
Fix typo.
10 years ago
Gabriel Dos Reis 16a332330c Merge pull request #197 from david-mitchell/patch-5
Improve wording and structure of paragraph.
10 years ago
Gabriel Dos Reis 7fa4b587b1 Merge pull request #201 from jwakely/patch-2
Change gsl:: qualification to lowercase
10 years ago
Gabriel Dos Reis 48c3c3b549 Merge pull request #211 from tkruse/fix-mdstyle11
fix bad mix of tabs and spaces
10 years ago
Thibault Kruse 4b0c6702bb fix bad mix of tabs and spaces 10 years ago
Thibault Kruse 5a449f4bd8 bad char instead of minus 10 years ago
Thibault Kruse 33f832e090 typo 10 years ago
Thibault Kruse fca180e978 Fix code that does not compile 10 years ago
Thibault Kruse a4c8444032 Minor fix: remove blank inside html tags 10 years ago
Gabriel Dos Reis 93736f8e41 Merge pull request #137 from trebconnell/final_action
Change casing of Final_action to final_action
10 years ago
Gabriel Dos Reis 1a3b28260f Merge pull request #207 from tryfinally/patch-2
typo fixes: constxp -> constexpr, spaces
10 years ago
Gabriel Dos Reis 5302819df0 Merge pull request #188 from tkruse/fix-mdstyle7
Some style issues
10 years ago
rkawulak 7e4a683c96 Lots of minor fixes (typos, code errors, formatting, etc.) 10 years ago
Muhammad Zahalqa 45ff180fde typo fixes
ES.45
10 years ago
Thibault Kruse 95ed869751 fix: code within bullets must be indented 8 spaces
See http://meta.stackexchange.com/questions/3792/how-to-nest-code-within-a-list-using-markdown
10 years ago
Thibault Kruse 946ffee133 fix bad code indentation 10 years ago
Thibault Kruse 56db9e88a4 minor markdown style fixes 10 years ago
Thibault Kruse 5ac1676b10 Remove trailing whitespace, as it can be unintentionally interpreted as meaningful after bullet lists 10 years ago
Gabriel Dos Reis f34bc55c73 Merge pull request #194 from tkruse/fix-mdstyle8
Fix markdwn issues that confuse mdast markdown linter
10 years ago
Gabriel Dos Reis 7c4b526325 Merge pull request #199 from david-mitchell/patch-7
Fix typo.
10 years ago
Johannes Laire 4bea8b4573 Fix typo 10 years ago
Thibault Kruse 777f7bc5fb fix code blocks indented with tab (4 spaces instead) 10 years ago
Thibault Kruse 8adf569a57 Fix style issues that confuse the mdast linter (and need to be fixed anyways) 10 years ago
Treb Connell 462590319a Merge branch 'master' of https://github.com/isocpp/CppCoreGuidelines into final_action
Conflicts:
	CppCoreGuidelines.md
10 years ago
Treb Connell 04637619de Change 'finally object' to 'final_action object' 10 years ago
Herb Sutter 4b6fb49772 Added a FAQ section 10 years ago
Jonathan Wakely 53dc924649 Change gsl:: qualification to lowercase 10 years ago
David Mitchell d7f7ca5ab4 Fix typo. 10 years ago
David Mitchell 46e867e9c6 Improve wording and structure of paragraph.
To be grammatically correct, the phrase "Confusion about what meaning a T* is the source" should have had a doubled "is", which would have been awkward, so the sentence has been reworded.

The second and third sentences were inverted. Prior to the inversion, the sentence starting with "For example" initially appeared to be expanding on the debuggability of not_null, rather than providing an example of how using separate names improves code quality.
10 years ago
David Mitchell aad584c8b1 Fix typo. 10 years ago
Thibault Kruse a7dc7d1fa6 Put header-anchors in header. For Compliance, correctness, consistency
The anchor would else point to the end of the previous section
Also this causes issues with tools ensuring a blank line before a header.
10 years ago
Thibault Kruse 35161a3d04 Consistent Space between anchor and header 10 years ago
Thibault Kruse 7b422eac3f fix header inside anchor 10 years ago
Thibault Kruse 12db7f8757 Fix html anchors for links 10 years ago
Thibault Kruse 78b66f4eae Obsolete question marks 10 years ago
Thibault Kruse 452f587a4d bad indentation, mark missing example with ??? 10 years ago
Thibault Kruse c2266bd8e4 fix bad indentation, causes bullet list to become code block 10 years ago
Thibault Kruse 411a5749e4 typos 10 years ago
Thibault Kruse 104d2327d5 fix markdown style 10 years ago
Gabriel Dos Reis 4f76723995 Merge pull request #155 from tkruse/fix-mdstyle5
Fix typos and minor style problems
10 years ago
Thibault Kruse a68ace40df use markdown link instead of html link 10 years ago
Thibault Kruse 7c0d7830e2 typos
Conflicts:
	CppCoreGuidelines.md
10 years ago
Thibault Kruse 90b62edaf0 Ambiguous indentation within unordered list 10 years ago
Thibault Kruse 0855efaa1d fix mixup of indentation strategies inside same codeblocks 10 years ago
Gabriel Dos Reis 1e49b7b7a3 Merge pull request #174 from tkruse/fix-mdstyle3
Fix minor style issues around bullet lists and Enforcement sections
10 years ago
Gabriel Dos Reis e4b961394c Merge pull request #160 from certik/number_fix
Fix numbers in sections to be consistent with TOC
10 years ago
Thibault Kruse c4f09f2d19 Fix / Consistent Enforcement sections 10 years ago
Thibault Kruse 7f20741f38 Fix missing / bad indent or style within bullet list 10 years ago
Thibault Kruse d2ea0766b0 make headlines within list 1st level list (else they are prone to be part of earlier bullet 10 years ago
Gabriel Dos Reis 07ae55a037 Merge pull request #164 from tkruse/fix-mdstyle6
Fix mdstyle6
10 years ago
Gabriel Dos Reis 521200397e Merge pull request #165 from tkruse/links-without-spaces
Fix: Consistently name anchors for links without spaces
10 years ago
Gabriel Dos Reis 12ee68f8d2 Merge pull request #171 from RicoAntonioFelix/master
Corrected typographical errors...
10 years ago
Thibault Kruse b2a4132cf2 Fix / Consistent Enforcement sections 10 years ago
Thibault Kruse c83bdc5495 fix double hash and missing Discussion 10 years ago
Thibault Kruse 8b0460d899 remove bad chars 10 years ago
Thibault Kruse cc492c1e56 add missing ??? 10 years ago
Thibault Kruse cb4ee8e286 Fix: Consistently name anchors for links without spaces 10 years ago
Gabriel Dos Reis f2c4d1459c Merge pull request #162 from tkruse/fix-biblio
fix citations/references/bibliography.
10 years ago
Gabriel Dos Reis ca57720e30 Merge pull request #161 from tkruse/fix-comma
fix blank after comma
10 years ago
Gabriel Dos Reis 3c3b204b75 Merge pull request #163 from tkruse/fix-anchors
Markdown fix anchors and move Header text outside anchor
10 years ago
Gabriel Dos Reis 1b944fade2 Merge pull request #166 from tryfinally/patch-1
typo fix: ES.5 + ES.6 retension -> retention
10 years ago
Gabriel Dos Reis 4f7b740d94 Merge pull request #168 from tkruse/fix-backtick
add missing backticks
10 years ago
Mikhail Maltsev 4bc790c522 Indent some code examples for correct rendering 10 years ago
RicoAntonioFelix a2473a5c69 Corrected typographical error... 10 years ago
RicoAntonioFelix 1652fb6d56 Corrected typographical error... 10 years ago
Thibault Kruse 46e313c256 add missing backticks (breaks formatting else because of underscore in std::memory_order) 10 years ago
Muhammad Zahalqa c9b7b8aa06 typo fix: ES.5 + ES.6 retension -> retention
renesion usually applied to magnetic tapes.
10 years ago
Thibault Kruse 758f3101fc Markdown fix anchors: Move Header text outside anchor, else header becomes an ugly noop link (also for Consistency) 10 years ago
Thibault Kruse 18bd7f3c92 fix citations/references/bibliography. 10 years ago
Thibault Kruse e558cf9919 fix blank after comma 10 years ago
Ondřej Čertík 88e881c197 Fix numbers in sections to be consistent with TOC
The sections R.24, R.30 - R.37 had incorrect numbers in the text. Also R.30 was
after R.31. This is now fixed.
10 years ago
Andrew Pardoe 2a50e98a19 Addressed issue #123 10 years ago
Andrew Pardoe bb95e9839d Addressing issue #51 10 years ago
Piotr Padlewski b8e9216bca Update CppCoreGuidelines.md
Destructors are always marked as noexcept (unless noexcept(false)) using this word here is ambigious.
10 years ago
Gabriel Dos Reis 572119b71d Merge pull request #157 from prazek/patch-1
Update CppCoreGuidelines.md
10 years ago
Egor Pugin 9222fd1b1f Fix typo. 10 years ago
Egor Pugin 240bc0ea0c Private constructor does not allow to create derived classes. 10 years ago
Gabriel Dos Reis bf8f1b8f49 Merge pull request #139 from trebconnell/fixtypos
Fix typos
10 years ago
Gabriel Dos Reis 9e25b93a18 Merge pull request #148 from RicoAntonioFelix/master
Minor fixes to clean up the document...
10 years ago
Piotr Padlewski 4ad6d50f86 Update CppCoreGuidelines.md 10 years ago
Evan Teran e508837f42 Correcting minor typo 10 years ago
RicoAntonioFelix c7a820e219 Corrected spelling error... 10 years ago
RicoAntonioFelix eef63f5188 Capitalize for consistency... 10 years ago
RicoAntonioFelix d43d484417 Remove extra backtick... 10 years ago