Commit Graph

1596 Commits

Author SHA1 Message Date
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
David Mitchell
632e4ef544 Fix typo. 2015-09-29 14:55:43 -07:00
Herb Sutter
8a1d622671 Added dyn_array vs. dynarray to FAQ 2015-09-29 09:09:38 -07:00
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.
2015-09-29 12:06:21 -04:00
Gabriel Dos Reis
1ad595e1a6 Merge pull request #212 from tkruse/fix-mdstyle12
Fix code snippets that do not compile, or mark them with ???
2015-09-29 09:03:38 -07:00
Herb Sutter
474d0d3e6b Elaborated on some of the FAQs 2015-09-29 09:01:29 -07:00
Thibault Kruse
314cff005c Fix code snippets that do not compile, or mark them with at least one ??? 2015-09-29 17:57:48 +02:00
Herb Sutter
2528acd017 Added GSL type-specific FAQs 2015-09-29 08:55:09 -07:00
Gabriel Dos Reis
8a1ff8bb3c Merge pull request #196 from david-mitchell/patch-4
Fix typo.
2015-09-29 08:51:21 -07:00
Gabriel Dos Reis
16a332330c Merge pull request #197 from david-mitchell/patch-5
Improve wording and structure of paragraph.
2015-09-29 08:50:06 -07:00
Gabriel Dos Reis
7fa4b587b1 Merge pull request #201 from jwakely/patch-2
Change gsl:: qualification to lowercase
2015-09-29 08:45:04 -07:00
Gabriel Dos Reis
48c3c3b549 Merge pull request #211 from tkruse/fix-mdstyle11
fix bad mix of tabs and spaces
2015-09-29 08:41:29 -07:00
Thibault Kruse
4b0c6702bb fix bad mix of tabs and spaces 2015-09-29 11:44:07 +02:00
Thibault Kruse
5a449f4bd8 bad char instead of minus 2015-09-29 11:39:22 +02:00
Thibault Kruse
33f832e090 typo 2015-09-29 11:39:22 +02:00
Thibault Kruse
fca180e978 Fix code that does not compile 2015-09-29 11:39:22 +02:00
Thibault Kruse
a4c8444032 Minor fix: remove blank inside html tags 2015-09-29 11:39:22 +02:00
Gabriel Dos Reis
93736f8e41 Merge pull request #137 from trebconnell/final_action
Change casing of Final_action to final_action
2015-09-29 02:19:00 -07:00
Gabriel Dos Reis
1a3b28260f Merge pull request #207 from tryfinally/patch-2
typo fixes: constxp -> constexpr, spaces
2015-09-29 02:15:12 -07:00
Gabriel Dos Reis
5302819df0 Merge pull request #188 from tkruse/fix-mdstyle7
Some style issues
2015-09-29 02:14:20 -07:00
rkawulak
7e4a683c96 Lots of minor fixes (typos, code errors, formatting, etc.) 2015-09-29 10:35:26 +02:00
Muhammad Zahalqa
45ff180fde typo fixes
ES.45
2015-09-29 10:24:15 +03:00
Thibault Kruse
95ed869751 fix: code within bullets must be indented 8 spaces
See http://meta.stackexchange.com/questions/3792/how-to-nest-code-within-a-list-using-markdown
2015-09-29 09:16:10 +02:00
Thibault Kruse
946ffee133 fix bad code indentation 2015-09-29 09:15:39 +02:00
Thibault Kruse
56db9e88a4 minor markdown style fixes 2015-09-29 09:15:39 +02:00
Thibault Kruse
5ac1676b10 Remove trailing whitespace, as it can be unintentionally interpreted as meaningful after bullet lists 2015-09-29 09:15:13 +02:00
Gabriel Dos Reis
f34bc55c73 Merge pull request #194 from tkruse/fix-mdstyle8
Fix markdwn issues that confuse mdast markdown linter
2015-09-28 23:58:13 -07:00
Gabriel Dos Reis
7c4b526325 Merge pull request #199 from david-mitchell/patch-7
Fix typo.
2015-09-28 23:56:03 -07:00
Johannes Laire
4bea8b4573 Fix typo 2015-09-29 08:36:37 +02:00
Thibault Kruse
777f7bc5fb fix code blocks indented with tab (4 spaces instead) 2015-09-29 01:44:26 +02:00
Thibault Kruse
8adf569a57 Fix style issues that confuse the mdast linter (and need to be fixed anyways) 2015-09-29 01:44:26 +02:00
Treb Connell
462590319a Merge branch 'master' of https://github.com/isocpp/CppCoreGuidelines into final_action
Conflicts:
	CppCoreGuidelines.md
2015-09-28 15:23:12 -07:00
Treb Connell
04637619de Change 'finally object' to 'final_action object' 2015-09-28 15:20:19 -07:00
Herb Sutter
4b6fb49772 Added a FAQ section 2015-09-28 12:32:50 -07:00
Jonathan Wakely
53dc924649 Change gsl:: qualification to lowercase 2015-09-28 19:36:07 +01:00
David Mitchell
d7f7ca5ab4 Fix typo. 2015-09-28 10:23:19 -07:00
David Mitchell
46e867e9c6 Improve wording and structure of paragraph.
To be grammatically correct, the phrase "Confusion about what meaning a T* is the source" should have had a doubled "is", which would have been awkward, so the sentence has been reworded.

The second and third sentences were inverted. Prior to the inversion, the sentence starting with "For example" initially appeared to be expanding on the debuggability of not_null, rather than providing an example of how using separate names improves code quality.
2015-09-28 09:54:11 -07:00
David Mitchell
aad584c8b1 Fix typo. 2015-09-28 09:16:20 -07:00
Thibault Kruse
a7dc7d1fa6 Put header-anchors in header. For Compliance, correctness, consistency
The anchor would else point to the end of the previous section
Also this causes issues with tools ensuring a blank line before a header.
2015-09-28 10:10:42 +02:00
Thibault Kruse
35161a3d04 Consistent Space between anchor and header 2015-09-27 21:45:30 +02:00
Thibault Kruse
7b422eac3f fix header inside anchor 2015-09-27 21:45:14 +02:00
Thibault Kruse
12db7f8757 Fix html anchors for links 2015-09-27 21:44:42 +02:00
Thibault Kruse
78b66f4eae Obsolete question marks 2015-09-27 21:04:32 +02:00
Thibault Kruse
452f587a4d bad indentation, mark missing example with ??? 2015-09-27 21:04:32 +02:00
Thibault Kruse
c2266bd8e4 fix bad indentation, causes bullet list to become code block 2015-09-27 21:04:32 +02:00
Thibault Kruse
411a5749e4 typos 2015-09-27 21:04:32 +02:00
Thibault Kruse
104d2327d5 fix markdown style 2015-09-27 21:04:32 +02:00
Gabriel Dos Reis
4f76723995 Merge pull request #155 from tkruse/fix-mdstyle5
Fix typos and minor style problems
2015-09-27 11:55:34 -07:00
Thibault Kruse
a68ace40df use markdown link instead of html link 2015-09-27 20:48:09 +02:00
Thibault Kruse
7c0d7830e2 typos
Conflicts:
	CppCoreGuidelines.md
2015-09-27 20:48:09 +02:00
Thibault Kruse
90b62edaf0 Ambiguous indentation within unordered list 2015-09-27 20:47:15 +02:00
Thibault Kruse
0855efaa1d fix mixup of indentation strategies inside same codeblocks 2015-09-27 20:46:07 +02:00
Gabriel Dos Reis
1e49b7b7a3 Merge pull request #174 from tkruse/fix-mdstyle3
Fix minor style issues around bullet lists and Enforcement sections
2015-09-27 11:04:26 -07:00
Gabriel Dos Reis
e4b961394c Merge pull request #160 from certik/number_fix
Fix numbers in sections to be consistent with TOC
2015-09-27 10:58:42 -07:00
Thibault Kruse
c4f09f2d19 Fix / Consistent Enforcement sections 2015-09-27 19:37:29 +02:00
Thibault Kruse
7f20741f38 Fix missing / bad indent or style within bullet list 2015-09-27 19:34:00 +02:00
Thibault Kruse
d2ea0766b0 make headlines within list 1st level list (else they are prone to be part of earlier bullet 2015-09-27 19:32:34 +02:00
Gabriel Dos Reis
07ae55a037 Merge pull request #164 from tkruse/fix-mdstyle6
Fix mdstyle6
2015-09-27 10:02:14 -07:00
Gabriel Dos Reis
521200397e Merge pull request #165 from tkruse/links-without-spaces
Fix: Consistently name anchors for links without spaces
2015-09-27 09:59:04 -07:00
Gabriel Dos Reis
12ee68f8d2 Merge pull request #171 from RicoAntonioFelix/master
Corrected typographical errors...
2015-09-27 09:56:52 -07:00
Thibault Kruse
b2a4132cf2 Fix / Consistent Enforcement sections 2015-09-27 18:55:53 +02:00
Thibault Kruse
c83bdc5495 fix double hash and missing Discussion 2015-09-27 18:55:52 +02:00
Thibault Kruse
8b0460d899 remove bad chars 2015-09-27 18:55:41 +02:00
Thibault Kruse
cc492c1e56 add missing ??? 2015-09-27 18:55:30 +02:00
Thibault Kruse
cb4ee8e286 Fix: Consistently name anchors for links without spaces 2015-09-27 18:53:26 +02:00
Gabriel Dos Reis
f2c4d1459c Merge pull request #162 from tkruse/fix-biblio
fix citations/references/bibliography.
2015-09-27 09:46:46 -07:00
Gabriel Dos Reis
ca57720e30 Merge pull request #161 from tkruse/fix-comma
fix blank after comma
2015-09-27 09:44:35 -07:00
Gabriel Dos Reis
3c3b204b75 Merge pull request #163 from tkruse/fix-anchors
Markdown fix anchors and move Header text outside anchor
2015-09-27 09:39:49 -07:00
Gabriel Dos Reis
1b944fade2 Merge pull request #166 from tryfinally/patch-1
typo fix: ES.5 + ES.6 retension -> retention
2015-09-27 09:36:12 -07:00
Gabriel Dos Reis
4f7b740d94 Merge pull request #168 from tkruse/fix-backtick
add missing backticks
2015-09-27 09:35:00 -07:00
Mikhail Maltsev
4bc790c522 Indent some code examples for correct rendering 2015-09-27 19:14:13 +03:00
RicoAntonioFelix
a2473a5c69 Corrected typographical error... 2015-09-27 11:46:30 -04:00
RicoAntonioFelix
1652fb6d56 Corrected typographical error... 2015-09-27 11:28:54 -04:00
Thibault Kruse
46e313c256 add missing backticks (breaks formatting else because of underscore in std::memory_order) 2015-09-27 13:56:22 +02:00
Muhammad Zahalqa
c9b7b8aa06 typo fix: ES.5 + ES.6 retension -> retention
renesion usually applied to magnetic tapes.
2015-09-27 12:46:24 +03:00
Thibault Kruse
758f3101fc Markdown fix anchors: Move Header text outside anchor, else header becomes an ugly noop link (also for Consistency) 2015-09-27 10:00:49 +02:00
Thibault Kruse
18bd7f3c92 fix citations/references/bibliography. 2015-09-27 09:59:59 +02:00
Thibault Kruse
e558cf9919 fix blank after comma 2015-09-27 09:56:42 +02:00
Ondřej Čertík
88e881c197 Fix numbers in sections to be consistent with TOC
The sections R.24, R.30 - R.37 had incorrect numbers in the text. Also R.30 was
after R.31. This is now fixed.
2015-09-26 19:17:22 -06:00
Andrew Pardoe
2a50e98a19 Addressed issue #123 2015-09-26 18:13:22 -07:00
Andrew Pardoe
bb95e9839d Addressing issue #51 2015-09-26 18:10:54 -07:00
Piotr Padlewski
b8e9216bca Update CppCoreGuidelines.md
Destructors are always marked as noexcept (unless noexcept(false)) using this word here is ambigious.
2015-09-26 15:46:41 -07:00
Gabriel Dos Reis
572119b71d Merge pull request #157 from prazek/patch-1
Update CppCoreGuidelines.md
2015-09-26 15:11:44 -07:00
Egor Pugin
9222fd1b1f Fix typo. 2015-09-26 14:00:52 +03:00
Egor Pugin
240bc0ea0c Private constructor does not allow to create derived classes. 2015-09-26 13:59:26 +03:00
Gabriel Dos Reis
bf8f1b8f49 Merge pull request #139 from trebconnell/fixtypos
Fix typos
2015-09-26 00:57:45 -07:00
Gabriel Dos Reis
9e25b93a18 Merge pull request #148 from RicoAntonioFelix/master
Minor fixes to clean up the document...
2015-09-26 00:46:47 -07:00
Piotr Padlewski
4ad6d50f86 Update CppCoreGuidelines.md 2015-09-26 00:36:35 -07:00
Evan Teran
e508837f42 Correcting minor typo 2015-09-26 00:05:15 -04:00
RicoAntonioFelix
c7a820e219 Corrected spelling error... 2015-09-25 22:20:40 -04:00
RicoAntonioFelix
eef63f5188 Capitalize for consistency... 2015-09-25 22:16:53 -04:00
RicoAntonioFelix
d43d484417 Remove extra backtick... 2015-09-25 22:02:05 -04:00
Andrew Pardoe
c813800c1a Addressing issue #68 2015-09-25 13:06:19 -07:00
Treb Connell
8eb26fc8dd Fix typos. I don't think these are fixed by other PR's 2015-09-25 11:56:51 -07:00
Treb Connell
43051d1fc8 fix a case of Finally 2015-09-25 11:53:46 -07:00
Treb Connell
dffb544a2c change casing of 'Final_action' to 'final_action' 2015-09-25 11:51:29 -07:00
Andrew Pardoe
3926ebbf72 Merge branch 'master' of https://github.com/isocpp/CppCoreGuidelines 2015-09-25 11:39:22 -07:00
Andrew Pardoe
1d9be95ee0 Added alternative fix for PR #132 2015-09-25 11:38:54 -07:00
Andrew Pardoe
6127598008 Merge pull request #121 from jfultz/patch-1
Fix usage of non_null in zstring clause.
2015-09-25 11:31:37 -07:00
Andrew Pardoe
033059103d Add fix from issue #122 2015-09-25 11:16:51 -07:00
Gabriel Dos Reis
0599a69d4a Merge pull request #127 from frutiger/fixes-broken-links
CppCoreGuidelines.md: fixes broken links.
2015-09-24 22:56:32 -07:00
Victor Thompson
cfb673ef6c Fix a few minor spelling mistakes. 2015-09-24 21:25:21 -05:00
Masud Rahman
bd026d26a7 CppCoreGuidelines.md: fixes broken links.
Some links had trailing quote marks, and the 'BDE' link was broken because the
location had changed.
2015-09-24 19:14:02 -04:00
Andrew Pardoe
de505d38f9 es.74 "loop induction variable" -> "loop variable" 2015-09-24 10:28:21 -07:00
Andrew Pardoe
fa4150b633 Added Discussion for ES.74 2015-09-24 09:55:51 -07:00
John Fultz
07cbf4544e Fix usage of non_null in zstring clause.
Also, fix a typo.
2015-09-24 10:18:40 -05:00
Andrew Pardoe
e6e87ef919 Merge branch 'master' of https://github.com/isocpp/CppCoreGuidelines 2015-09-24 07:58:11 -07:00
Gabriel Dos Reis
fbeeb302c9 Merge pull request #113 from ga2arch/master
Fix typo rule C.42
2015-09-24 07:57:55 -07:00
Andrew Pardoe
414924c62d Merge branch 'es74' of https://github.com/dacap/CppCoreGuidelines into dacap-es74 2015-09-24 07:57:17 -07:00
Gabriel Dos Reis
21f60632a9 Merge pull request #115 from blakehawkins/fix_invalid_links
fix invalid local anchor links
2015-09-24 07:57:00 -07:00
Gabriel Dos Reis
f478991194 Merge pull request #114 from jneidlinger/typo/f21
[Typo] Fix typo in function argument passing rule 21
2015-09-24 07:55:48 -07:00
Gabriel Dos Reis
cfe4349320 Merge pull request #112 from jneidlinger/typo/f5
[Typo] Fix typo in function definition rule 5
2015-09-24 07:52:18 -07:00
Andrew Pardoe
137906b32e Merge pull request #110 from dacap/fix-es26-example
Fix example in ES.26 section
2015-09-24 07:47:41 -07:00
Gabriel Dos Reis
868145943c Merge pull request #119 from niun/patch-1
Fix: unequal parantheses in example
2015-09-24 07:47:22 -07:00
Andrew Pardoe
9c5637fd24 Merge pull request #107 from fkaelberer/patch-1
Fix typos in I.1
2015-09-24 07:47:10 -07:00
Andrew Pardoe
cdf12055e5 Merge pull request #105 from david-mitchell/patch-3
Fix grammar in I.13
2015-09-24 07:45:38 -07:00
Andrew Pardoe
f5c3eecc00 Merge pull request #104 from david-mitchell/patch-1
Fix typo.
2015-09-24 07:44:58 -07:00
Andrew Pardoe
88716fd1c6 Merge pull request #102 from clausjensbymadsen/master
Fix typo in E.17
2015-09-24 07:44:03 -07:00
Andrew Pardoe
460e6fe986 Merge pull request #100 from fabiogaluppo/patch-1
Update CppCoreGuidelines.md
2015-09-24 07:42:28 -07:00
Andrew Pardoe
8b8e0a8e34 Merge pull request #99 from fabiogaluppo/patch-2
Update CppCoreGuidelines.md
2015-09-24 07:39:55 -07:00
Gabriel Dos Reis
40f8e6040d Merge pull request #120 from krismeld/master
fix quote marks
2015-09-24 07:23:43 -07:00
Andrew Pardoe
c61b997305 Fixed comments after pulling PR #85 2015-09-24 07:23:13 -07:00
Andrew Pardoe
11b32170c1 Merge pull request #85 from AmeenAli/temp
update at  ES.72 rule
2015-09-24 07:20:56 -07:00
krismeld
ee80491fc3 fix quote marks 2015-09-24 16:18:21 +02:00
Andrew Pardoe
8ebb29c249 Merged commit for PR #86 and fixed formatting 2015-09-24 07:12:29 -07:00
Andrew Pardoe
1cfa58e298 Merge branch 'temp' of https://github.com/AmeenAli/CppCoreGuidelines into AmeenAli-temp 2015-09-24 07:10:47 -07:00
Andrew Pardoe
95a823cee5 Merge branch of k-satoda-fix-obvious-link-errors 2015-09-24 07:03:10 -07:00
Andrew Pardoe
dde3cc5c20 Merge pull request #78 from phamd/master
Fix example in SF.4
2015-09-24 06:26:45 -07:00
niun
4278cd5c92 fix parantheses in example
() => {} in initializer list
2015-09-24 14:53:07 +02:00
niun
d2b5249aef Fix: unequal parantheses in example 2015-09-24 13:36:50 +02:00
Blake Hawkins
4beff8a602 fix invalid local anchor links
Many local named anchors had slightly incorrect
addresses.  This fixes a few of them.
2015-09-23 21:29:00 +01:00
Jordan Neidlinger
b370731cc9 [Typo] Fix typo in function argument passing rule 21 2015-09-23 13:25:25 -07:00
Gabriele Carrettoni
0776c58847 Fix typo rule C.42
runrime -> runtime
2015-09-23 22:21:18 +02:00
Jordan Neidlinger
fd3d7083b0 [Typo] Fix typo in function definition rule 5 2015-09-23 13:12:40 -07:00
David Capello
e9f95eb4d6 Complete ES.74 section 2015-09-23 16:55:18 -03:00
David Capello
2238007823 Fix example in ES.26 section 2015-09-23 16:28:48 -03:00
Felix Kälberer
031e7f5300 Fix typos
1. thorough --> through
2. Add missing `)`
3. Fix "a a move assignment" (#90)
2015-09-23 19:39:24 +02:00
David Mitchell
11d28dfeff Fix grammar. 2015-09-23 09:53:22 -07:00
David Mitchell
9c9a3b576b Fix typo. 2015-09-23 09:44:07 -07:00
Claus Jensby Madsen
1d324efc7d Fix typo in E.17 2015-09-23 16:56:48 +02:00
Fabio Galuppo
5944e37e44 Update CppCoreGuidelines.md
Typo on function in F.21
2015-09-23 11:34:41 -03:00
Fabio Galuppo
c4f87d19a9 Update CppCoreGuidelines.md
Typo in example F.20
2015-09-23 11:13:17 -03:00
Gabriel Dos Reis
058e1bfb41 Merge pull request #98 from octoploid/syntax-fix
Fix syntax error in Rc-in-class-initializer
2015-09-23 06:59:03 -07:00
Gabriel Dos Reis
257aa9d6b7 Merge pull request #81 from justanotheranonymoususer/patch-1
Update CppCoreGuidelines.md
2015-09-23 06:56:58 -07:00
Gabriel Dos Reis
15e186941c Merge pull request #79 from rfernandes/patch-1
Fix typo (Poco Project)
2015-09-23 06:55:37 -07:00
Gabriel Dos Reis
5d81c03e56 Merge pull request #87 from LocalToasty/LocalToasty-patch-typo-1
Local toasty patch typo 1
2015-09-23 06:52:09 -07:00
Gabriel Dos Reis
3af2b93263 The name of the namespace of the support library
Fixes #91
2015-09-23 06:44:39 -07:00
Gabriel Dos Reis
8dbdd1504b Merge pull request #93 from burner/patch-1
read_and_print comment typo fix
2015-09-23 06:32:53 -07:00
Gabriel Dos Reis
029016fa39 Merge pull request #94 from jullej/master
Fixed typos in chapter C.127
2015-09-23 06:31:41 -07:00
Gabriel Dos Reis
f1981f9e99 Fix obscure precondition expression 2015-09-23 05:40:07 -07:00
Robert Schadek
a4dd4bd121 read_and_print comment typo fix
read and print and int -> read and print an int
2015-09-23 11:14:11 +02:00
jullej
5a4e719f86 Update CppCoreGuidelines.md
Fixed typos.
2015-09-23 12:10:21 +03:00
Markus Trippelsdorf
cc747323ee Fix syntax error in Rc-in-class-initializer 2015-09-23 11:06:03 +02:00
Egor Pugin
26ad1aa7f9 Domain of sqrt() is nonnegative numbers, not positive. 2015-09-23 09:45:52 +03:00
Marko van Treeck
8f47862f29 Fixed typo. 2015-09-23 01:09:30 +02:00
Ameen Ali
34e636c2f4 update at ES.74 Rule
add (Reason) and (Example) at (Prefer to declare a loop variable in the initializer part of as `for`-statement) Rule
2015-09-22 22:03:46 +03:00
Ameen Ali
f80fa9f5fa update at ES.72 rule
add code sample for (Prefer a `for`-statement to a `while`-statement when there is an obvious loop variable) rule
2015-09-22 21:45:51 +03:00
Kazutoshi SATODA
47d96204b3 Give correct links to "#Ri-???" 2015-09-23 03:00:34 +09:00
Kazutoshi SATODA
0fe30fb712 Give an unique anchor name to C.33 "#Rc-dtor-ptr2"
instead of the same one with C.32 "#Rc-dtor-ptr".
2015-09-23 03:00:34 +09:00
Kazutoshi SATODA
4c73b0bff1 Give an unique anchor name to C.5 "#Rc-helper"
instead of the same one with C.4 "#Rc-member".
2015-09-23 03:00:33 +09:00
Kazutoshi SATODA
a9ca380378 Fix broken anchor links
which have obvious correct targets with slightly different names.
2015-09-23 03:00:33 +09:00
Kazutoshi SATODA
f739719e7b Fix broken anchor names
which are referred by links with different names.
2015-09-23 03:00:11 +09:00
justanotheranonymoususer
23a483ad85 Update CppCoreGuidelines.md
Typo
2015-09-22 20:33:27 +03:00
Marko van Treeck
fa74b0ceeb Corrected a typo 2015-09-22 19:30:26 +02:00
Rodrigo Fernandes
0bee27691d Fix typo (Poco Project) 2015-09-22 17:00:52 +01:00
Don Pham
66a1bc8e58 Fix example in SF.4 2015-09-22 11:43:40 -04:00
Alexey Dmitriev
2801dc22d1 change {} -> () in function call
at least it's consistent with prev example
2015-09-22 17:46:39 +03:00
Alexey Dmitriev
ed8cd27556 fix typo 2015-09-22 17:35:03 +03:00
Gabriel Dos Reis
a426e5fcd6 Merge pull request #74 from PhilLab/patch-1
Fixed swapped rule links
2015-09-22 06:52:09 -07:00
Philipp Hasper
a8799181eb Fixed swapped rule links 2015-09-22 15:45:55 +02:00
Alexey Dmitriev
c32a12b47a fix typo 2015-09-22 16:37:46 +03:00
Gabriel Dos Reis
a786c4aa1f Merge pull request #69 from octoploid/master
Remove invalid characters
2015-09-22 05:12:04 -07:00
Markus Trippelsdorf
207b8b5a19 Remove invalid characters
pandoc complains, e.g.:

 pandoc CppCoreGuidelines.md --latex-engine=xelatex --variable fontsize=11pt --variable papersize=a4 --variable geometry=margin=2cm -V mainfont="Lexicon" -o sch.pdf
 ! Text line contains an invalid character.
 l.3481 result = myset.insert( “Hello” );^^K
 pandoc: Error producing PDF from TeX source

Fix by removing invalid characters.
2015-09-22 13:41:36 +02:00
Sachin Joseph
256461b818 Fix highlight typo 2015-09-22 16:29:39 +05:30
Gabriel Dos Reis
ec37d1ac0c Merge pull request #62 from david10r/master
Fix some minor spelling errors. Issue #61
2015-09-22 03:19:52 -07:00
Gabriel Dos Reis
ea2fbb6f49 Merge pull request #60 from LeftofZen/patch-1
Update CppCoreGuidelines.md
2015-09-22 03:18:01 -07:00
Gabriel Dos Reis
4b480fa0fc Merge pull request #64 from mpark/T80
T.80: Fixed minor typos and a missing template argument in an example.
2015-09-22 03:04:29 -07:00
Gabriel Dos Reis
e702a64b24 Merge pull request #65 from jwakely/patch-1
Fix a couple of typos in GSL section.
2015-09-22 03:02:51 -07:00
Jonathan Wakely
ec78b69d07 Fix a couple of typos in GSL section. 2015-09-22 10:38:56 +01:00
Michael Park
62ac49b37a T.80: Fixed minor typos and a missing template argument in an example. 2015-09-22 01:40:25 -07:00
Vladimir Gamalian
ed78161416 Fix typo 2015-09-22 10:06:44 +07:00
David McCortney
b02c9a28fb Fix some minor spelling errors.
It is easier to see this commit with the following command.
git --no-pager diff --unified=0 --word-diff-regex=.
2015-09-21 22:11:31 -04:00
Benjamin Sutas
554380b8d9 Update CppCoreGuidelines.md
Fix a typo in P.9
2015-09-22 11:33:04 +10:00
Gabriel Dos Reis
8a96308c83 Merge pull request #58 from assertchris/patch-1
Fixing adverb usage
2015-09-21 16:41:17 -07:00
Christopher Pitt
e796e55722 Fixing adverb usage
Other options include: "use it where appropriate".
2015-09-22 09:45:29 +12:00
Dmitry Marakasov
9f85515f7d Fix typo 2015-09-21 23:38:28 +03:00
Simon Wächter
f585f81f9d Fixed a paragraph and typo 2015-09-21 22:02:28 +02:00
Aleksei Safronov
eeb25a859a Fix typo in T.123 2015-09-21 20:24:16 +03:00
Vadim Zeitlin
7b38170ebc Add missing "=" to the example of using tie() 2015-09-21 16:17:24 +02:00
Adnn
9b96b72f0a Fixes counting erros/typos in I.14 2015-09-21 12:13:49 +02:00
Adnn
225f1945f5 Fixes minor mistakes in I.8 section
* use of "precondition" instead of "postcondition".
* typo "and" instead of "are".
2015-09-21 11:25:18 +02:00
Andrew Pardoe
84a30986af Fix issue #34 2015-09-20 19:41:22 -07:00
ven
2110dded0d fix indexing typo in ES.2 2015-09-20 23:20:08 +02:00
Gabriel Dos Reis
0c98949215 Fix #26
Don't forget to supply `flag1` to `func`_tau`.
2015-09-20 10:37:21 -07:00
Gabriel Dos Reis
f18b83a563 Fix #30
The loop variable should be a reference in order to effect the
modification of the array elements.
2015-09-20 10:26:34 -07:00
Gabriel Dos Reis
e85995ed0b Fix #28
Help following the main thread without being distracted.
2015-09-20 10:16:47 -07:00
Gabriel Dos Reis
286cec8d63 Fix #35
'srandomly' was already fixed.
'botton' -> 'bottom'.
2015-09-20 10:07:16 -07:00
Gabriel Dos Reis
2f6ec186fd Merge pull request #44 from whoshuu/master
Fix links to the Guideline Support Library. Close #44
2015-09-20 09:53:48 -07:00
Huu Nguyen
404dc9520b Use S-gsl instead of S-support for GSL links 2015-09-20 09:35:05 -07:00
Andrew Pardoe
ae61f09861 Merge branch 'master' of https://github.com/isocpp/CppCoreGuidelines 2015-09-20 09:24:56 -07:00
Andrew Pardoe
3002b6b482 Merge branch 'master' of https://github.com/flippingtables/CppCoreGuidelines into flippingtables-master 2015-09-20 09:24:15 -07:00
Gabriel Dos Reis
e297db51f5 Merge pull request #45 from whoshuu/fix-raii-links
Fix links to RAII section
2015-09-20 09:23:59 -07:00
Gabriel Dos Reis
fe05904a1f Merge pull request #43 from vendethiel/patch-3
Fix code typos for C.145
2015-09-20 09:21:01 -07:00
Gabriel Dos Reis
090370b99f Merge pull request #42 from vendethiel/patch-2
Fix <a> closing tag
2015-09-20 09:18:56 -07:00
Andrew Pardoe
d5cdbbbb3d Merge pull request #22 from mindless2112/patch-1
Fix typo: "loose" to "lose"
2015-09-20 09:15:35 -07:00
Andrew Pardoe
5959bbc7be Merge pull request #20 from pcadottemichaud/typo_in_precondition_section
Fix two typos in the precondition section
2015-09-20 09:14:58 -07:00
Huu Nguyen
157365ecb1 Fix links to RAII section 2015-09-20 08:03:05 -07:00
Huu Nguyen
25e07bbaff Fix links to the Guideline Support Library 2015-09-20 07:54:22 -07:00
ven
e2a9591a48 Fix code typos for C.145
Also added the "extends B" to D
2015-09-20 14:19:27 +02:00
ven
e279f3b1bd Fix <a> closing tag 2015-09-20 12:35:14 +02:00
Joannes I Sandagerdi
cb7c0e48aa Fix some typos
Read through the document and fixed some typos.
2015-09-20 09:24:31 +02:00
Tom Walsh
cf76c9d4e1 Fix typos: change it's to its where appropriate 2015-09-19 22:01:34 -04:00
David Capello
c465e65c8f Fix typo in Appendix B 2015-09-19 22:02:22 -03:00
Gabriel Dos Reis
033c50279c Merge pull request #21 from pcadottemichaud/fix_weird_characters
remove weird characters in R.38 examples
2015-09-19 17:40:30 -07:00
Gabriel Dos Reis
2c0a96a8d2 Merge pull request #36 from vendethiel/patch-2
Use a variable in the erroring constexpr example …
2015-09-19 17:38:59 -07:00
Gabriel Dos Reis
736e52526a Merge pull request #18 from radarhere/patch-1
Fixed typos
2015-09-19 17:36:05 -07:00
Gabriel Dos Reis
c6a30d2452 Merge pull request #25 from dilanshah/master
fix minor typo in CppCoreGuidelines.md
2015-09-19 17:33:14 -07:00
Gabriel Dos Reis
d6b087c034 Merge pull request #37 from calcu16/patch-1
Fixing typos in R.11,15 and ES.76
2015-09-19 17:31:11 -07:00
Gabriel Dos Reis
001699f3ba Merge pull request #17 from marcodiiga/master
Fix small typos
2015-09-19 17:29:27 -07:00
Andrew Carter
0d3d7ec0ff Fixing typos in R.11,15 and ES.76 2015-09-19 17:03:55 -07:00
ven
e4e22f9e48 Use a variable in the erroring constexpr example …
I don't see why it'd fail otherwise, so I assume the "2" was a typo

Also add a missing "f" to "side effect"
2015-09-20 01:38:53 +02:00
Gabriel Dos Reis
6845e84f0b Merge pull request #31 from vendethiel/patch-1
rime->time
2015-09-19 14:34:58 -07:00
Gabriel Dos Reis
7e0ecf9f76 Merge pull request #32 from ssbr/patch-1
s/build-in/built-in/
2015-09-19 14:29:12 -07:00
Devin Jeanpierre
e78f42c06b s/build-in/built-in/ 2015-09-19 09:58:38 -07:00
ven
0246d57e59 rime->time
I was reading, and noticed this was probably wrong.
2015-09-19 17:42:58 +02:00
Dilan Shah
8211c4700d Update CppCoreGuidelines.md 2015-09-18 23:15:04 -07:00
Carl Reinke
f6e94fb504 Fix typo: "loose" to "lose" 2015-09-18 19:39:12 -06:00
Pascal Cadotte Michaud
43ca7880c7 remove weird characters in R.38 examples 2015-09-18 21:03:07 -04:00
Pascal Cadotte Michaud
95e8e527fb typo: identfied -> identified 2015-09-18 20:39:15 -04:00
Pascal Cadotte Michaud
b01f499285 Fix two typos in the precondition section 2015-09-18 20:31:30 -04:00
Andrew Murray
227529c729 Fixed typos 2015-09-19 08:22:34 +10:00
Marco A
6a1ccf5d0c Fix small typos 2015-09-18 23:43:07 +02:00
Adam Schwalm
f59b024b7f Remove unnecessary reference to 'no naked new' in ES.62 2015-09-18 16:07:58 -05:00
Andrew Pardoe
95f6cfcdd8 Merge pull request #14 from chrisrosset/master
Fix typo in ES.1
2015-09-18 13:36:53 -07:00
Andrew Pardoe
ec3e041874 Merge branch 'SpellingAndSpaceCorrections' of https://github.com/ErikUggeldahl/CppCoreGuidelines into ErikUggeldahl-SpellingAndSpaceCorrections 2015-09-18 13:32:32 -07:00
Christopher Rosset
dcfc21ea1f Fix typo in ES.1 2015-09-18 20:54:29 +01:00
Michael Robson
472d7cb66b Fix CPL anchor to match links
Change-Id: I182b0628f5d02325301960dcf325f94f6d2f3df4
2015-09-18 14:25:01 -05:00
Erik Uggeldahl
ccf97bd378 Remove extra trailing spaces 2015-09-18 15:08:09 -04:00
Erik Uggeldahl
0554c1fa5a Correct small spelling mistakes 2015-09-18 15:05:22 -04:00
Andrew Pardoe
ee75a9cfcb Merge pull request #10 from tonymagro/master
Fix typo in C.3 example
2015-09-18 11:57:09 -07:00
Andrew Pardoe
292d57f999 Merging PR 2015-09-18 11:54:07 -07:00
Tony Magro
2f066bb6a2 Fix typo in C.3 example 2015-09-18 13:28:47 -05:00
Andrew Pardoe
c5b8efea4a Merge pull request #6 from whoshuu/patch-2
Update comment in I.4 second example
2015-09-18 11:04:45 -07:00
Andrew Pardoe
3650a3f016 Merge pull request #5 from dextercd/patch-1
Update CppCoreGuidelines.md
2015-09-18 10:59:48 -07:00
Andrew Pardoe
2d360b5acf Merge pull request #4 from whoshuu/patch-1
Correct spelling and fix grammar in the intro
2015-09-18 10:28:09 -07:00
Huu Nguyen
774f159646 Update comment in I.4 second example 2015-09-18 09:15:25 -07:00
Huu Nguyen
e2faf345e5 Correct spelling and fix grammar in the intro 2015-09-18 08:55:13 -07:00
dextercd
803a7f6aef Update CppCoreGuidelines.md 2015-09-18 17:50:40 +02:00
Alessandro Vergani
4757800cfd Fix P.5 first example
The shift instruction in the example should be <<= instead of >>=
2015-09-18 16:18:07 +02:00
Herb Sutter
2ce60168eb Added Bounds profile 2015-09-16 10:50:49 -07:00
Herb Sutter
f292f6793b Added Type profile 2015-09-16 10:22:43 -07:00
Herb Sutter
563f7062a9 Added Profiles section with stubs 2015-09-16 09:54:07 -07:00
Andrew Pardoe
f2a900b542 Updated version number 2015-09-14 07:44:16 -07:00
Andrew Pardoe
6f49042045 Fixed typo 2015-09-13 20:24:16 -07:00
Andrew Pardoe
947cf3affc Initial checkin 2015-09-13 20:21:02 -07:00