Commit Graph

1406 Commits (9c9d8d2dfced4d13e7aee0209d1665b77db0b818)
 

Author SHA1 Message Date
Jonathan Wakely 9c9d8d2dfc Separate good example from bad
Fixes #1001
9 years ago
Gabriel Dos Reis 8249a49c69 Merge pull request #625 from GlassAndOneHalf/example-update
Issue #624 ES.34 Add Example.
9 years ago
hsutter f0935e33b1 Closes #315 9 years ago
hsutter f01bded2a1 Elminated 's' typo 9 years ago
hsutter a55cd51662 Fixed typos introduced when 'fixing' PR merge 9 years ago
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
9 years ago
Gabriel Dos Reis 0de765443a Merge pull request #974 from Talkless/patch-1
Fix if statement for checking error condition
9 years ago
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.
9 years ago
Gabriel Dos Reis 45fff26517 Merge pull request #976 from willwray/patch-1
Fix Inconsistent definition of czstring in comments
9 years ago
Herb Sutter 995caaa7d2 Merge pull request #891 from isocpp/hs-gsl-intro-branch
GSL intro
9 years ago
hsutter b4d5f39d1a Fixed Bjarne's name 9 years ago
Jonathan Wakely 7e7e1d8926 Move period outside parenthesis 9 years ago
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
9 years ago
Gabriel Dos Reis 2a1472657f Merge pull request #990 from isocpp/issue-989
Remove confusing "copy" in discussion of move ops
9 years ago
Abigail 56df32bd95 Fix typo in C.8 (#985) 9 years ago
Jonathan Wakely 3924087459 Replace broken links to #Rf-pass-ref-ref and #Rf-pass-ref-move 9 years ago
Jonathan Wakely 3a6466f09c Fix anchor links with double hash symbols 9 years ago
Jonathan Wakely 598e6f99b6 Fix cross-references to [C++03] and [C++CS]
Anchors should be #Cplusplus03 and #CplusplusCS not #C++03 and #C++CS.
9 years ago
Jonathan Wakely 498eb97dd2 Remove repetition of "as well"
Fixes #983
9 years ago
Jonathan Wakely 1143bfab79 Remove confusing "copy" in discussion of move ops
Fixes #989
9 years ago
Andrew Pardoe bf7d7da165 updating date 9 years ago
michaelz85 e9b627f209 C.64 fixed typo (#987) 9 years ago
qalpaq e43d971f47 Update README.md (#986) 9 years ago
Jonathan Wakely 24b733f0b9 NL.17 fix typo
Fixes #982
9 years ago
Louis Brandy 29dce84b98 Merge pull request #979 from fkaelberer/patch-4
Fix Fibonacci sequence
9 years ago
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
9 years ago
Andrew Pardoe f6ba91e90a update date 9 years ago
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`
9 years ago
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
9 years ago
Andrew Pardoe 863dcae05e Add in the "real" logo with text, delete mine 9 years ago
Andrew Pardoe 66fc5d4f5c Merge branch 'master' of https://github.com/isocpp/CppCoreGuidelines 9 years ago
Andrew Pardoe 7ba2317992 Updating date 9 years ago
Andrew Pardoe c6c3c36e44 Updating logo 9 years ago
Andrew Pardoe a3860f3cc2 Merge pull request #971 from tkruse/style-fixes2
Style fixes for compile-time, run-time and similar
9 years ago
Andrew Pardoe e82d9b4d77 Merge pull request #972 from tkruse/interval-fix
Interval-notation fix (attempt 2)
9 years ago
Andrew Pardoe b8e4dc42fc Fixing hunspell errors 9 years ago
Thibault Kruse d13bfcda64 Consistent hyphenation of ajectives like lock-free, well-defined, old-style,... 9 years ago
Thibault Kruse 015ee8df10 make 'non-' prefix spelling consistent 9 years ago
Thibault Kruse 9159315d8c make non-`const` spelling consistent 9 years ago
Thibault Kruse ba82be70bd make 'side effect' vs. 'side-effect' spelling consistent 9 years ago
Thibault Kruse 172520b570 make 'reuse' vs. 're-use' spelling consistent 9 years ago
Thibault Kruse d14067a5b4 make 'error-prone' usage consistent 9 years ago
Thibault Kruse 9aa9e8fc9f fix hyphenation of ...-allocated adcjectives 9 years ago
Thibault Kruse 95b001c0d8 fix hyphenation of open-source 9 years ago
Thibault Kruse 00f9e9ae50 fix bad hyphen for standard-library as adjective 9 years ago
Thibault Kruse f1971b1401 add nonwords to dict to remove spellchacker warning 9 years ago
Thibault Kruse d28a46983e Fix missing comma 9 years ago
Thibault Kruse b4c1e30743 Make usage of run-time, compile-time, lifetime, real-time and hard-real-time consistent 9 years ago
Thibault Kruse f70ca3ee9e Consistent formatting of interval ranges 9 years ago
Andrew Pardoe db5e75b08b Adding logo to readme.md 9 years ago