Titus Winters
21815d7ba0
Changes that seem editorial or (hopefully) non-controversial.
10 years ago
Darren Shen
63e5e23e2c
Fix NL.8 typo
10 years ago
Andrew Pardoe
ca22f65232
Merge pull request #387 from darrnshn/master
...
Fix minor formatting issues
10 years ago
Andrew Pardoe
cc3ffb50af
Merge pull request #385 from timp3289/patch-1
...
Fixed typo
10 years ago
Darren Shen
92458af3fa
Fix minor formatting
10 years ago
timp3289
31016ad113
Fixed typo
10 years ago
Richard Holmes
f13a89539e
Fix F.16 (Use T* or owner<T*> to designate a single object) to use consistent variable name in the example provided.
10 years ago
Sergey Zubkov
f0091dbc56
typo: s/preformance/performance
10 years ago
Neil MacIntosh
5bb3b3f732
Updated description of *_view to reference span.
10 years ago
Neil MacIntosh
af48243d0a
Updated FAQ entry about string_span/string_view.
10 years ago
Neil MacIntosh
0a9cdd34b6
Grammar fixes after span rename.
10 years ago
Neil MacIntosh
0eaee02da9
Rename: array_view=>span, string_view=>string_span.
10 years ago
Bjarne Stroustrup
7df274bcbe
etc
...
just a few of my assignments; I'll get better at keeping track
10 years ago
Gabriel Dos Reis
98dd36e921
Merge pull request #369 from villasv/master
...
C.43: rewording and examples suggested in #344
10 years ago
Victor Villas
ebd3a33d1d
C.43: rewording and examples suggested in #344
10 years ago
Eliyahu Ravuna
1dc02e15a7
Enforcement rule for I.3: Avoid singletons
...
Proposal revised as agreed in #266 .
10 years ago
Gabriel Dos Reis
8275f69ce3
Merge pull request #327 from ulilaube/fixcrossref
...
Fixcrossref
10 years ago
Gabriel Dos Reis
3e2aec11bf
Merge pull request #372 from wwalexander/patch-1
...
Fix misplaced end parenthesis in NL.17.Reason
10 years ago
Gabriel Dos Reis
ee793dfb38
Merge pull request #371 from drusk/es31_typos
...
Fixed some typos in section ES.31.
10 years ago
Will Alexander
57b16ed800
Fix misplaced end parenthesis in NL.17.Reason
10 years ago
drusk
31d4985179
Fixed some typos in section ES.31.
10 years ago
Brett
d3dd1c683b
capitalize "resource acquisition is initialization"
10 years ago
Kalman Keri
6029fc813d
Replacing problematic code example in ES.41
10 years ago
uli
bf306f81cb
Rules T.11 and T.124 used the same cross reference anchor Rt-std.
...
Rules SF.1 and SF.2 used the same cross reference anchor Rs-suffix.
There is no rule F.54 with anchor Rf-local-ref-ref (yet?). Broken reference removed.
Sections TPG.concepts and GSL.concepts used the same anchor SS-concepts.
Section C.ctor and its own subsection C.ctor.ctor used the same anchor SS-ctor.
10 years ago
Gabriel Dos Reis
792b831e7a
Merge pull request #341 from ascherer/fix-typos
...
Fix typos
10 years ago
Gabriel Dos Reis
a4b400e9eb
Merge pull request #349 from alrekr/master
...
Typo
10 years ago
Gabriel Dos Reis
2c72daaab7
Merge pull request #358 from khatharr/master
...
A few spelling and grammar fixes R.22 and ES.23
10 years ago
Kálmán Kéri
42bbbf6a2d
ES.23: two corrected typos in code example
10 years ago
Khatharr
d0ac3dc3bc
A few spelling and grammar fixes R.22 and ES.23
10 years ago
Malthe Høj-Sunesen
6d992f9b79
Typo
10 years ago
Andreas Scherer
302b9848d4
Fix errors in Resource section.
10 years ago
Andreas Scherer
ff623adc6b
Mismatching and missing quotes.
...
And other problems fixed.
10 years ago
Andreas Scherer
4c55ed4662
Errors in enum section.
10 years ago
Andreas Scherer
31ce56e75f
Three more bugs fixed.
10 years ago
Andreas Scherer
545c7c40e3
Correct multiple problems in related sentences.
10 years ago
Andreas Scherer
3e8dc12982
Several typos fixed.
...
Missing or superfluous characters corrected.
Rewording to avoid "problems requires tools".
...
10 years ago
Andreas Scherer
69405d3d15
Remove in-text C++ comment sign.
10 years ago
Andreas Scherer
7c25281c38
Fix singular/plural mismatches.
...
Either the rules eliminate, or the rule eliminates.
Multiple 'Date' classes have default dates.
...
10 years ago
Andreas Scherer
6571ede5e7
Invert single occurrence of closing brace after comma.
10 years ago
Andreas Scherer
41f1c30d1c
Add missing closing brace.
10 years ago
Andreas Scherer
8221bd9016
Fix missing backticks for std-code.
10 years ago
Herb Sutter
a076dede74
Added FAQ.10 for Markdown
10 years ago
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.
10 years ago
Gabriel Dos Reis
9653bdb38f
Merge pull request #297 from dhood/copyedit
...
Various copy editing changes up to I.6
10 years ago
Deanna Hood
6dbdc9d33e
Copy edit
10 years ago
Gabriel Dos Reis
2bbc1c249e
Merge pull request #333 from ulilaube/fixmarkup
...
Fix markup
10 years ago
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.
10 years ago
Andrew Pardoe
abed1970b5
Update tag in I4 based on Issue #329
10 years ago
Gabriel Dos Reis
57a5446625
Merge pull request #326 from ralphtandetzky/patch-1
...
Fixed grammatical error.
10 years ago
Ralph Tandetzky
81635bad4e
Fixed grammatical error.
10 years ago
Thibault Kruse
5d1d990cd9
minor style fixes
10 years ago
xtofl
be59e3c73e
[fix] markdown backtick mismatch
10 years ago
Gabriel Dos Reis
b369145220
Merge pull request #319 from tkruse/pr/291
...
Added example to NL 9
10 years ago
richelbilderbeek
a86ae876a2
Added example to NL 9
10 years ago
Eliyahu Ravuna
a7459b4164
Typo fixed in C.165
10 years ago
Bjarne Stroustrup
592d67ea12
using std:;swap();
...
C.165 added.
Also: glossary extended.
Please review both.
10 years ago
Bjarne Stroustrup
70a19387fe
add reference to RTTI
10 years ago
Bjarne Stroustrup
72821c0f88
more minor issues
...
static_cast/dynamic_cast- not really satisfactory
10 years ago
Bjarne Stroustrup
1b79ede5c5
minor changes to do with functions
...
f(void)
void main()
final
10 years ago
Gabriel Dos Reis
552855c17a
Merge pull request #296 from kpx1894/kpx1894-patch-1
...
fixes to code examples in C.61
10 years ago
Gabriel Dos Reis
96dfc9f96e
Merge pull request #306 from mitro42/fix_discussion_dtorneverfail
...
Fixed code indentation, numbering and typo in Discussion: Destructors…
10 years ago
Gabriel Dos Reis
72630e3d60
Merge pull request #308 from kjpgit/master
...
s/constructor/destructor
10 years ago
kjpgit
537e15d0af
C40: correct enforcement wording
10 years ago
mitro42
f909c0fc02
Fixed typos
10 years ago
Bjarne Stroustrup
91109eb8ab
A few clarifications
...
especially to do with initializations
the beginnings of a glossary
10 years ago
mitro42
c827bddcd5
Fixed code indentation, numbering and typo in Discussion: Destructors, deallocation, and swap must never fail
10 years ago
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.
10 years ago
Thibault Kruse
8a4550c8f9
Minor style issues
10 years ago
Thibault Kruse
ad2717f7fa
Unnecessary ';'
10 years ago
Thibault Kruse
2a907f088d
Code indent 4 spaces instead of tabs
10 years ago
Thibault Kruse
31fec52f4f
Use Only alphanumerics for anchor-ids
10 years ago
Thomas Köppe
2f6c3d5c2b
[GSL.view] Simplify explanation of lack of "null references".
10 years ago
Thomas Köppe
7143050ef6
[GSL.view] Make wording around null pointers and null references more precise.
10 years ago
Thibault Kruse
a519dfc560
consistent code formatting whitespaces
10 years ago
Thibault Kruse
4ba88ae0ea
consistently opening braces for multiline function def on new line
10 years ago
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