Commit Graph

404 Commits

Author SHA1 Message Date
Andreas Scherer
545c7c40e3 Correct multiple problems in related sentences. 2015-10-18 16:12:14 +02:00
Andreas Scherer
3e8dc12982 Several typos fixed.
Missing or superfluous characters corrected.
Rewording to avoid "problems requires tools".
...
2015-10-18 16:00:21 +02:00
Andreas Scherer
69405d3d15 Remove in-text C++ comment sign. 2015-10-18 12:34:21 +02:00
Andreas Scherer
7c25281c38 Fix singular/plural mismatches.
Either the rules eliminate, or the rule eliminates.
Multiple 'Date' classes have default dates.
...
2015-10-18 12:33:37 +02:00
Andreas Scherer
6571ede5e7 Invert single occurrence of closing brace after comma. 2015-10-18 12:32:39 +02:00
Andreas Scherer
41f1c30d1c Add missing closing brace. 2015-10-18 12:30:07 +02:00
Andreas Scherer
8221bd9016 Fix missing backticks for std-code. 2015-10-18 12:28:41 +02:00
Herb Sutter
a076dede74 Added FAQ.10 for Markdown 2015-10-16 11:00:25 -07:00
Andreas Scherer
daf2595009 Fix typos and add internal links.
Two hours of semi-automatic digestion of the C++ Guidelines result
in a host of small changes. Eight intermediate commits make up this
squashed monster.

First I ran 'aspell -l en_US -c CppCoreGuidelines.md' and interactively
corrected several trivial typos. Then I spent a short hour inside Vim to
improve the spacing by looking for '[a-z]  [a-z]' plus the odd typo.

Only after reading the 'how to contribute' section, I started to create
smaller patches. Continuing by reading the .md-file on formatted form, I
added a markdown link to the associated 'LICENSE' in the introduction.
Then I scanned section 'SF' and fixed typos. Next I spotted a single
problem with a French accent. After adding another internal link from
the FAQ section to the Abstract, I finished the day by reading and
correcting section CPL.
2015-10-15 15:08:50 +02:00
Gabriel Dos Reis
9653bdb38f Merge pull request #297 from dhood/copyedit
Various copy editing changes up to I.6
2015-10-15 03:02:36 -07:00
Deanna Hood
6dbdc9d33e Copy edit 2015-10-15 10:44:40 +01:00
Gabriel Dos Reis
2bbc1c249e Merge pull request #333 from ulilaube/fixmarkup
Fix markup
2015-10-15 01:46:21 -07:00
uli
c3877a41af Convert LaTeX-quotes to ordinary ASCII quotes.
Added missing backticks.
Removed extra }.
Consistent backticks for const added.
Typo fixed.
Missing equality signs in HTML-markup added.
2015-10-15 10:38:37 +02:00
Andrew Pardoe
abed1970b5 Update tag in I4 based on Issue #329 2015-10-14 14:19:24 -07:00
Gabriel Dos Reis
57a5446625 Merge pull request #326 from ralphtandetzky/patch-1
Fixed grammatical error.
2015-10-13 09:08:18 -07:00
Ralph Tandetzky
81635bad4e Fixed grammatical error. 2015-10-13 15:01:47 +02:00
Thibault Kruse
5d1d990cd9 minor style fixes 2015-10-13 12:33:26 +02:00
xtofl
be59e3c73e [fix] markdown backtick mismatch 2015-10-12 20:44:06 +02:00
Gabriel Dos Reis
b369145220 Merge pull request #319 from tkruse/pr/291
Added example to NL 9
2015-10-12 04:24:29 -07:00
richelbilderbeek
a86ae876a2 Added example to NL 9 2015-10-11 12:15:23 +02:00
Eliyahu Ravuna
a7459b4164 Typo fixed in C.165 2015-10-11 00:21:19 +03:00
Bjarne Stroustrup
592d67ea12 using std:;swap();
C.165 added.
Also: glossary extended.

Please review both.
2015-10-10 14:57:13 -04:00
Bjarne Stroustrup
70a19387fe add reference to RTTI 2015-10-09 17:51:40 -04:00
Bjarne Stroustrup
72821c0f88 more minor issues
static_cast/dynamic_cast- not really satisfactory
2015-10-09 15:34:43 -04:00
Bjarne Stroustrup
1b79ede5c5 minor changes to do with functions
f(void)
void main()
final
2015-10-09 14:36:23 -04:00
Gabriel Dos Reis
552855c17a Merge pull request #296 from kpx1894/kpx1894-patch-1
fixes to code examples in C.61
2015-10-09 10:54:47 -07:00
Gabriel Dos Reis
96dfc9f96e Merge pull request #306 from mitro42/fix_discussion_dtorneverfail
Fixed code indentation, numbering and typo in Discussion: Destructors…
2015-10-09 10:54:00 -07:00
Gabriel Dos Reis
72630e3d60 Merge pull request #308 from kjpgit/master
s/constructor/destructor
2015-10-09 05:42:46 -07:00
kjpgit
537e15d0af C40: correct enforcement wording 2015-10-08 09:18:10 -05:00
mitro42
f909c0fc02 Fixed typos 2015-10-08 12:12:36 +01:00
Bjarne Stroustrup
91109eb8ab A few clarifications
especially to do with initializations
the beginnings of a glossary
2015-10-07 21:56:44 -04:00
mitro42
c827bddcd5 Fixed code indentation, numbering and typo in Discussion: Destructors, deallocation, and swap must never fail 2015-10-07 22:35:17 +01:00
kpx1894
0902d5d137 fixes to code examples in C.61
Two argument comparison operator in both code examples for "C.61: A copy operation should copy" has a body of single argument member operator. This fix keeps comparison operator outside class, but corrects its body.
2015-10-06 09:39:00 +01:00
Thibault Kruse
8a4550c8f9 Minor style issues 2015-10-05 14:15:58 +02:00
Thibault Kruse
ad2717f7fa Unnecessary ';' 2015-10-05 13:55:11 +02:00
Thibault Kruse
2a907f088d Code indent 4 spaces instead of tabs 2015-10-05 13:55:11 +02:00
Thibault Kruse
31fec52f4f Use Only alphanumerics for anchor-ids 2015-10-05 13:55:11 +02:00
Thomas Köppe
2f6c3d5c2b [GSL.view] Simplify explanation of lack of "null references". 2015-10-05 12:38:30 +01:00
Thomas Köppe
7143050ef6 [GSL.view] Make wording around null pointers and null references more precise. 2015-10-05 12:38:30 +01:00
Thibault Kruse
a519dfc560 consistent code formatting whitespaces 2015-10-05 13:03:01 +02:00
Thibault Kruse
4ba88ae0ea consistently opening braces for multiline function def on new line 2015-10-05 12:57:18 +02:00
Gabriel Dos Reis
cb3bf9d989 Merge pull request #275 from tkruse/fix-mdstyle16
fix minor style issues
2015-10-05 03:56:20 -07:00
Gabriel Dos Reis
04d69d8268 Merge pull request #278 from tkruse/fix-mdstyle19
Text Style: Unnecessary blank, puntuation, linebreak after comma
2015-10-05 03:54:10 -07:00
Gabriel Dos Reis
d21b1f1b65 Merge pull request #277 from tkruse/fix-mdstyle18
consistently no whitespace padding inside round parentheses
2015-10-05 03:51:41 -07:00
Thibault Kruse
fcfa485671 Text Style: Unnecessary blank, puntuation, linebreak after comma 2015-10-05 08:50:53 +02:00
Thibault Kruse
7dca435e71 consistently no whitespace padding inside round parentheses 2015-10-05 08:50:50 +02:00
Thibault Kruse
806e40b214 missing indent 2015-10-05 08:50:41 +02:00
Thibault Kruse
572f9c6cbf ??? for placeholder 2015-10-05 08:50:40 +02:00
Thibault Kruse
b8254dcf96 fix mix of tabs and spaces 2015-10-05 08:50:40 +02:00
Eliyahu Ravuna
9c129ec89c Feedback of Jared in #283 incorporated into I.4 2015-10-05 01:46:28 +03:00
Gabriel Dos Reis
ca107da14c Merge pull request #279 from fkaelberer/patch-2
Fix ES.103 example
2015-10-04 11:20:07 -07:00
Gabriel Dos Reis
620eda5c3c Merge pull request #281 from fkaelberer/patch-3
Fix minor typos and spacing
2015-10-04 11:17:51 -07:00
Eliyahu Ravuna
78581f2ae6 std::chrono::duration example for I.4
Make interfaces precisely and strongly typed.
2015-10-04 20:12:10 +03:00
Felix Kälberer
56c319d46a Fix minor typos and spacing 2015-10-03 18:55:07 +02:00
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
2015-10-03 16:47:24 +02:00
Thibault Kruse
d458c57d08 fix duplicate anchor IDs 2015-10-02 18:08:46 +02:00
Thibault Kruse
b5d8ef8be7 Fix missing lines/ bad indent 2015-10-02 17:42:28 +02:00
Eliyahu Ravuna
8050963a06 Access memory predictably - Revised according to the feedback in #256
Capitalization revised according to the feedback in #256.
(Access memory predictably)
2015-10-02 16:13:59 +03:00
Gabriel Dos Reis
57d06f2138 Merge pull request #261 from Eliyahu-Ravuna/patch-8
As agreed in #255, commits squashed (ES.100)
2015-10-02 06:05:42 -07:00
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)
2015-10-02 16:02:20 +03:00
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)
2015-10-02 15:55:31 +03:00
Gabriel Dos Reis
4d1c32f298 Merge pull request #219 from tkruse/mdast-idempot
Achieve mdast idempotency (4-space markdown indent, single empty lines)
2015-10-02 03:37:36 -07:00
Gabriel Dos Reis
149a681188 Fix forward links in NL
Fix #241.
2015-10-02 03:31:10 -07:00
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).
2015-10-02 12:17:40 +02:00
Thibault Kruse
e291947e25 fix consecutive blank lines (mdast output). 2015-10-02 12:17:04 +02:00
Gabriel Dos Reis
00d542f777 Fix misplaced override specifier
Fixed #248.
2015-10-02 03:12:47 -07:00
Gabriel Dos Reis
c4088e053b Merge pull request #237 from david-mitchell/patch-1
Fix grammar.
2015-10-02 03:04:10 -07:00
Gabriel Dos Reis
bdc863dcda Merge pull request #258 from axelstudios/master
Fixed minor typos
2015-10-02 02:54:48 -07:00
Gabriel Dos Reis
2536585830 Merge pull request #257 from RicoAntonioFelix/master
Added capture in lambda expression...
2015-10-02 02:54:00 -07:00
Gabriel Dos Reis
a615bdeb19 Merge pull request #254 from Eliyahu-Ravuna/patch-3
Typo fixed in 'Use templates to express containers'
2015-10-02 02:52:27 -07:00
Alex Swindler
23b1257817 Fixed minor typos 2015-10-01 21:12:20 -06:00
RicoAntonioFelix
af18193511 Added capture in lambda expression... 2015-10-01 21:32:09 -04:00
drusk
80f93640ce Fixed minor typo in section P.2. 2015-10-01 16:08:39 -07:00
Eliyahu Ravuna
6dbcabc974 Typo fixed in 'Use templates to express containers' 2015-10-02 00:47:39 +03:00
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
2015-10-01 03:14:00 -07:00
Gabriel Dos Reis
6746027209 Merge pull request #242 from tkruse/fix-minisections
Replace **strong** fake headers with real markdown headers
2015-10-01 03:11:02 -07:00
spacewander
9d4a7627c7 fix C.over index error 2015-10-01 17:56:02 +08:00
Thibault Kruse
e4ea6c5374 Replace **strong** fake headers with real markdown headers carrying section semantics 2015-09-30 22:26:44 +02:00
Thibault Kruse
d5295a8d9d Fix broken and fragile rendering of Bibliography 2015-09-30 20:36:03 +02:00
Thibault Kruse
4b1f9ad99c fix missing closing parens (in test()) 2015-09-30 20:36:03 +02:00
David Mitchell
3d3d43d60f Fix grammar. 2015-09-30 10:18:58 -07:00
David Mitchell
d8f54449d6 Fix typo. 2015-09-30 10:02:48 -07:00
Jiwan
e41b65cca1 Fixed a minor error in an example in I.12. 2015-09-30 15:33:25 +02:00
Emmanuel Briot
cc45432b01 Minor typo fixes 2015-09-30 12:05:07 +02:00
Gabriel Dos Reis
812fb8f314 Merge pull request #221 from david-mitchell/patch-9
Fix typo.
2015-09-29 17:43:43 -07:00
Gabriel Dos Reis
b7940d2ef4 Merge pull request #220 from david-mitchell/patch-8
Fix typo.
2015-09-29 17:43:13 -07:00
Gabriel Dos Reis
a39f61bc5c Merge pull request #223 from delta-nry/patch-1
Correct and clarify FAQ.59 and FAQ.60
2015-09-29 17:42:35 -07:00
Gabriel Dos Reis
cedd9c6481 Merge pull request #209 from jlaire/typos-and-other-fixes
Typos and other fixes
2015-09-29 17:40:02 -07:00
Gabriel Dos Reis
d3d0426b39 Merge pull request #228 from david-mitchell/patch-10
Fix verb agreement.
2015-09-29 17:32:05 -07:00
Gabriel Dos Reis
b8c9ad47ac Merge pull request #230 from david-mitchell/patch-12
Fix awkward wording.
2015-09-29 17:31:17 -07:00
David Mitchell
7103785b20 Fix awkward wording. 2015-09-29 16:55:56 -07:00
David Mitchell
7d82c95191 Add missing punctuation. 2015-09-29 16:50:55 -07:00
David Mitchell
5560508b28 Fix verb agreement. 2015-09-29 16:48:24 -07:00
Johannes Laire
3f160967b6 More small fixes 2015-09-30 00:42:58 +02:00
Johannes Laire
74b5debe8c Add an example 2015-09-30 00:42:27 +02:00
Johannes Laire
9a976c8a85 Fix bugs in examples 2015-09-30 00:42:27 +02:00
Johannes Laire
d01a414fed Typo fixes 2015-09-30 00:42:27 +02:00
Johannes Laire
7e6734ade4 Small fixes to markdown formatting 2015-09-30 00:41:38 +02:00
Nathan Yee
4befe68ea6 Correct and clarify FAQ.59 and FAQ.60 2015-09-29 15:35:38 -07:00
David Mitchell
e1810cf164 Fix typo. 2015-09-29 14:57:08 -07:00