Commit Graph

800 Commits

Author SHA1 Message Date
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
Herb Sutter
9aa9f290e2 Added Intro to type/resource safety paper 2015-10-07 07:13:19 -07: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
Gabriel Dos Reis
aa8ff693cd Merge pull request #288 from tkruse/fix-mdstyle20
Minor style issues
2015-10-05 05:30:23 -07:00
Thibault Kruse
8a4550c8f9 Minor style issues 2015-10-05 14:15:58 +02:00
Gabriel Dos Reis
130989e3aa Merge pull request #287 from tkruse/space-4
Code indent 4 spaces instead of tabs
2015-10-05 04:56:29 -07: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
Gabriel Dos Reis
ca210989c7 Merge pull request #280 from tkoeppe/master
[GSL.view] Make wording around null pointers and null references more precise.
2015-10-05 04:41:08 -07: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
Gabriel Dos Reis
0fc6a6d6db Merge pull request #274 from tkruse/fix-mdstyle15
consistent code formatting whitespaces around operators
2015-10-05 04:14:43 -07:00
Thibault Kruse
a519dfc560 consistent code formatting whitespaces 2015-10-05 13:03:01 +02:00
Gabriel Dos Reis
f767a1f4a2 Merge pull request #276 from tkruse/fix-mdstyle17
consistently opening braces for multiline function def on new line
2015-10-05 03:59:06 -07: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
Gabriel Dos Reis
27e9a95048 Merge pull request #285 from Eliyahu-Ravuna/patch-5
Feedback of Jared in #283 incorporated into I.4
2015-10-05 03:49:22 -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
Gabriel Dos Reis
752676347b Merge pull request #283 from Eliyahu-Ravuna/patch-4
I.4: std::chrono::duration to make unit of time duration explicit
2015-10-04 11:16:04 -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
Gabriel Dos Reis
2d04ea8992 Merge pull request #269 from engreimor/master
Minor fixes on the markup for the links
2015-10-02 13:46:47 -07:00
Reinaldo Moreira
fb94b2ece3 Minor fixes on the markup for the links 2015-10-02 17:39:22 -03:00
Gabriel Dos Reis
6da77f898c Merge pull request #264 from tkruse/md-style14
Fix minor markup issues
2015-10-02 09:10:45 -07: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
Gabriel Dos Reis
f72217f30c Merge pull request #262 from Eliyahu-Ravuna/patch-10
Access memory predictably - Revised according to the feedback in #256
2015-10-02 06:40:59 -07: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
Gabriel Dos Reis
ea5b270a53 Merge pull request #260 from Eliyahu-Ravuna/patch-7
Change agreed in #253 (squashed) - Suggested 'return containers by value' example + Title made more concise
2015-10-02 06:04:20 -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
f3780fa74b Formal account of the soundness of RAII for local objects 2015-10-02 04:24:47 -07: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