Commit Graph

1439 Commits

Author SHA1 Message Date
JonasToth
2184c57dd1 reorder sections C.167 and C.168 to be in numerical ascending order (#1034) 2017-09-28 13:23:28 +01:00
Franz Hollerer
531952a300 Issue #999 c128 applied to c129 (#1036) 2017-09-26 11:27:49 +01:00
Artem Golubikhin
d318a68e35 ES.20: Fix typo (#1033) 2017-09-18 22:50:19 +01:00
hsutter
1b2ba25b4b Closes #997 2017-09-18 12:06:35 -07:00
Andrew Pardoe
74c36a43b0 Fixing ES.87 2017-09-18 11:13:09 -07:00
Andrew Pardoe
3eaf4fe886 Merge pull request #1031 from WPMGPRoSToTeMa/patch-1
R.1: Fix finally link
2017-09-18 11:06:40 -07:00
Artem Golubikhin
f77fa1ad40 R.1: Fix finally link 2017-09-18 19:50:36 +03:00
Bjarne Stroustrup
6574f05356 added ES.87 about conditions in if-statements
#1006 and #1010
2017-09-17 18:51:43 -04:00
Bjarne Stroustrup
1a3de0e9b8 add a cross reference to P.3 2017-09-17 18:13:16 -04:00
Bjarne Stroustrup
2839c87890 add example to R.20
addresses #1015
2017-09-17 17:54:33 -04:00
Neil MacIntosh
b87d21b662 Merge pull request #1018 from Cleroth/patch-1
Avoid `std::endl` :)
2017-09-11 11:24:33 -07:00
Gabriel Dos Reis
6d5a219e66 Merge pull request #1023 from marzojr/master
Fixing memory handling in E.5 example
2017-09-11 11:22:06 -07:00
Gabriel Dos Reis
26f3ee9cfd Fix #998. 2017-09-11 10:48:20 -07:00
Gabriel Dos Reis
7146b55d30 Fix #1008. 2017-09-11 10:36:50 -07:00
Sebastian Valle
9840eefacf CP.2: Fixed a typo in the async example code. (#1030)
span a task -> spawn a task
2017-08-21 18:01:00 +01:00
tg-m
7a3d3c5a29 Fix issue #1026 (#1027) 2017-08-18 15:59:16 +01:00
Ivan Baidakou
c2456ccf5b Fix typo: Public -> public (#1025) 2017-08-13 13:22:06 +01:00
Andrew Pardoe
c04e3657fb Updating date 2017-08-11 10:41:03 -07:00
Marzo Sette Torres Junior
0bb69d80e6 Fixing memory handling in E.5 example
Instead of constructing an array, it constructs and deletes a single double, and accesses elements as if it had constructed an array.
2017-08-08 16:37:19 +02:00
Cleroth
d51a304e0a Update CppCoreGuidelines.md 2017-08-06 21:36:48 +02:00
TalLancaster
e61f111301 Per C.66: a global edit adding noexcept to move constructor/assignment examples (#1016) 2017-08-06 15:25:29 +01:00
Cleroth
43f378c6b3 Avoid std::endl :) 2017-08-06 11:04:41 +02:00
Gabriel Dos Reis
4ffab15e77 Merge pull request #1012 from franzhollerer/aligning_case_with_switch
aligning case with switch
2017-08-01 17:05:57 -07:00
Gabriel Dos Reis
e5e7082efa Merge pull request #1013 from franzhollerer/opening_brace_in_same_line_as_switch
opening brace in same line with switch statement to be aligned with NL.17
2017-08-01 17:05:24 -07:00
Gabriel Dos Reis
2ad03719ca Merge pull request #1014 from HazardyKnusperkeks/master
Fix typo in ES.84
2017-08-01 17:03:49 -07:00
Björn Schäpers
378370e20d Fix typo in ES.84 2017-08-01 12:24:51 +02:00
Franz Hollerer
1cc009bb57 placing opening brace in same line with switch statement to be aligned with NL.17 2017-07-31 21:23:43 +02:00
Franz Hollerer
83561b15eb aligning case with switch 2017-07-31 21:21:09 +02:00
Andrew Pardoe
82755da679 Fixing NL.17 per issue #1002 discussion 2017-07-31 11:29:09 -07:00
Gabriel Dos Reis
9d93e34ea7 Merge pull request #1009 from bgianinetti/patch-1
Fix example in C.61
2017-07-31 11:11:11 -07:00
Ben
4b6e6eb190 Fix example in C.61 2017-07-27 03:40:16 +02:00
Benoît Blanchon
150744a8d3 Fix example in CP.21 (#1007) 2017-07-25 11:32:29 -04:00
Jonathan Bohren
69f749bf7f Fixing typo / improving language in NR.3 (#1005)
Current text has a plurality typo ("separates" vs "separate"), modified version more precisely conveys the idea.
2017-07-25 08:15:49 +01:00
Jonathan Wakely
9c9d8d2dfc Separate good example from bad
Fixes #1001
2017-07-24 20:36:44 +01:00
Gabriel Dos Reis
8249a49c69 Merge pull request #625 from GlassAndOneHalf/example-update
Issue #624 ES.34 Add Example.
2017-07-24 11:57:50 -07:00
hsutter
f0935e33b1 Closes #315 2017-07-24 11:52:25 -07:00
hsutter
f01bded2a1 Elminated 's' typo 2017-07-24 11:41:03 -07:00
hsutter
a55cd51662 Fixed typos introduced when 'fixing' PR merge 2017-07-24 11:40:33 -07:00
jeanphilippeD
1d8ed2b59e Fix CP.3 to allow local reasoning and compilation without error (#951)
* Fix CP.3 to allow local reasoning and compilation without error

(CP.3: Minimize explicit sharing of writable data)

Use 'ES.28: Use lambdas for complex initialization,
especially of const variables' to ensure we can see from the body
of the function that the function called in async only require const
parameter.

This ensure that if a non local change to the function signature
(making the const parameter non const) it will result in a compilation
error.

Added necessary construct and compiled with https://godbolt.org/g/tjGXbV

* Update CppCoreGuidelines.md
2017-07-24 11:38:45 -07:00
Gabriel Dos Reis
0de765443a Merge pull request #974 from Talkless/patch-1
Fix if statement for checking error condition
2017-07-24 11:28:32 -07:00
Jonathan Wakely
898f819b00 Add [Abrahams01] bibliography entry for exception-safety (#991)
Link to it when talking about the strong and basic exception-safety
guarantees.

Add it to the dictionary.
2017-07-24 19:26:03 +01:00
Gabriel Dos Reis
45fff26517 Merge pull request #976 from willwray/patch-1
Fix Inconsistent definition of czstring in comments
2017-07-24 11:25:18 -07:00
Herb Sutter
995caaa7d2 Merge pull request #891 from isocpp/hs-gsl-intro-branch
GSL intro
2017-07-24 11:16:09 -07:00
hsutter
b4d5f39d1a Fixed Bjarne's name 2017-07-22 16:42:38 -07:00
Jonathan Wakely
7e7e1d8926 Move period outside parenthesis 2017-07-20 20:05:42 +01:00
Gabriel Dos Reis
cf223f3cb8 Merge pull request #992 from isocpp/broken-links
Replace broken links to #Rf-pass-ref-ref and #Rf-pass-ref-move
2017-07-20 09:26:55 -07:00
Gabriel Dos Reis
2a1472657f Merge pull request #990 from isocpp/issue-989
Remove confusing "copy" in discussion of move ops
2017-07-20 09:24:48 -07:00
Abigail
56df32bd95 Fix typo in C.8 (#985) 2017-07-20 13:22:38 +01:00
Jonathan Wakely
3924087459 Replace broken links to #Rf-pass-ref-ref and #Rf-pass-ref-move 2017-07-20 13:16:07 +01:00
Jonathan Wakely
3a6466f09c Fix anchor links with double hash symbols 2017-07-20 12:53:27 +01:00