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
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
Jonathan Wakely
598e6f99b6
Fix cross-references to [C++03] and [C++CS]
...
Anchors should be #Cplusplus03 and #CplusplusCS not #C++03 and #C++CS.
2017-07-20 12:46:57 +01:00
Jonathan Wakely
498eb97dd2
Remove repetition of "as well"
...
Fixes #983
2017-07-20 12:39:15 +01:00
Jonathan Wakely
1143bfab79
Remove confusing "copy" in discussion of move ops
...
Fixes #989
2017-07-20 12:35:16 +01:00
Andrew Pardoe
bf7d7da165
updating date
2017-07-18 09:36:10 -04:00
michaelz85
e9b627f209
C.64 fixed typo ( #987 )
2017-07-17 12:29:22 +01:00
Jonathan Wakely
24b733f0b9
NL.17 fix typo
...
Fixes #982
2017-07-12 13:38:40 +01:00
Felix Kälberer
d26dde2a4f
Fix Fibonacci sequence
...
A number sequence called `fib` should be the Fibonacci sequence or have a different name.
https://en.wikipedia.org/wiki/Fibonacci_number
2017-07-06 22:24:32 +02:00
Andrew Pardoe
f6ba91e90a
update date
2017-07-03 09:22:01 -07:00
Will Wray
5ffabce718
Fix Inconsistent definition of czstring in comments
...
Comments in sections SL.str.3 and GSL.view disagree on whether czstring may be the nullptr.
This PR fixes the first comment definition in SL.str.3 that czstring `is a C-style string that is not the nullptr`
### SL.str.3: Use zstring or czstring to refer to a C-style, zero-terminated, sequence of characters
```
void f1(zstring s); // s is a C-style string or the nullptr
void f1(czstring s); // s is a C-style string that is not the nullptr
```
### GSL.view: Views
`zstring` // a `char*` supposed to be a C-style string; that is, a zero-terminated sequence of `char` or `nullptr`
`czstring` // a `const char*` supposed to be a C-style string; that is, a zero-terminated sequence of const `char` or `nullptr`
2017-07-03 12:13:40 -04:00
Vincas Dargis
0b1b5bbac8
Fix if statement for checking error condition
...
Example mentions that it handles error, and errors are commonly non-zero values.
Closes #970
2017-07-01 19:29:35 +03:00
Andrew Pardoe
66fc5d4f5c
Merge branch 'master' of https://github.com/isocpp/CppCoreGuidelines
2017-06-26 10:51:38 -07:00
Andrew Pardoe
7ba2317992
Updating date
2017-06-26 10:51:23 -07:00
Andrew Pardoe
a3860f3cc2
Merge pull request #971 from tkruse/style-fixes2
...
Style fixes for compile-time, run-time and similar
2017-06-25 10:23:34 -07:00
Thibault Kruse
d13bfcda64
Consistent hyphenation of ajectives like lock-free, well-defined, old-style,...
2017-06-25 13:30:17 +09:00
Thibault Kruse
015ee8df10
make 'non-' prefix spelling consistent
2017-06-25 13:30:17 +09:00
Thibault Kruse
9159315d8c
make non-const
spelling consistent
2017-06-25 13:30:17 +09:00
Thibault Kruse
ba82be70bd
make 'side effect' vs. 'side-effect' spelling consistent
2017-06-25 13:30:16 +09:00
Thibault Kruse
172520b570
make 'reuse' vs. 're-use' spelling consistent
2017-06-25 13:30:16 +09:00
Thibault Kruse
d14067a5b4
make 'error-prone' usage consistent
2017-06-25 13:30:16 +09:00
Thibault Kruse
9aa9e8fc9f
fix hyphenation of ...-allocated adcjectives
2017-06-25 13:30:16 +09:00
Thibault Kruse
95b001c0d8
fix hyphenation of open-source
2017-06-25 13:26:24 +09:00
Thibault Kruse
00f9e9ae50
fix bad hyphen for standard-library as adjective
2017-06-25 13:26:24 +09:00
Thibault Kruse
d28a46983e
Fix missing comma
2017-06-25 13:26:23 +09:00
Thibault Kruse
b4c1e30743
Make usage of run-time, compile-time, lifetime, real-time and hard-real-time consistent
2017-06-25 13:26:23 +09:00
Thibault Kruse
f70ca3ee9e
Consistent formatting of interval ranges
2017-06-25 11:26:41 +09:00
Andrew Pardoe
69d2341c1e
Fixing edit fail
2017-06-19 12:25:30 -07:00
Andrew Pardoe
b3b329f937
Fixing up suggestions from Issues 505 and 496
2017-06-19 12:22:21 -07:00
Andrew Pardoe
2bd4a7c9ad
Fix Enforcement for C.151 after PR #952
2017-06-19 10:11:05 -07:00
Andrew Pardoe
8c0f764b77
Merge pull request #952 from tkruse/code-fixes
...
small issues found trying to compile examples
2017-06-19 10:09:36 -07:00
Rory Jaffe
24fa6d4b00
Added break to each case in switch statement
2017-06-18 16:44:57 -07:00
Thibault Kruse
b02eb91b84
code fixes
2017-06-18 20:39:00 +09:00
Sergey Zubkov
22c305fdee
travis fixes and a typo
2017-06-17 20:36:23 -04:00
Thibault Kruse
70655d1131
Fix typos and change spellcheck call to not check URLs ( #961 )
2017-06-17 20:32:04 -04:00
Andrew Pardoe
03dc7d3f44
Updating date
2017-06-12 16:13:30 -07:00
Bjarne Stroustrup
9472111c6c
Talk materials list
...
Issue #929 .
It would be nice to have more material, and I haven't yet uploaded all
slides.
2017-06-12 17:55:01 -04:00
Bjarne Stroustrup
8cc76e2c38
Fix Enum.4 example
...
Issue #716
2017-06-12 17:07:50 -04:00
Bjarne Stroustrup
5393fab88f
labels missing
...
#938 . I have inserted a temporary fix. We need to re-work the whole
discussions section
2017-06-12 16:54:38 -04:00
Andrew Pardoe
5e2f9064b2
Merge pull request #927 from ZachHenkel/master
...
Additional guidance around casts:
2017-06-12 11:26:37 -07:00
Andrew Pardoe
19da9a1d03
Merge pull request #950 from cubbimew/pimpl
...
New rule: I.27 Pimpl
2017-06-12 11:20:56 -07:00