Commit Graph

861 Commits

Author SHA1 Message Date
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
Gabriel Dos Reis
96f0dfeb1c Merge pull request #309 from mitro42/typo_fixes
Fixed typos
2015-10-08 06:53:01 -07: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
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