Commit Graph

349 Commits

Author SHA1 Message Date
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