rknuus
2bdd1ae705
add example for R.24 ( #1127 )
...
* add example for R.24
taken from https://cpppatterns.com/patterns/weak-reference.html , where
it's published under CC0 Public Domain Dedication
* improve example for R.24
2018-01-22 11:08:23 -08:00
Alexey Porotnikov
9de66ec027
add "return" to the compound literal exclusions ( #1113 )
...
inhibits readability/brace warning for compound literals in return
statement
2018-01-22 10:43:41 -08:00
Andrew Pardoe
999f9dd0ce
Adding "ptrdiff" to travis dictionary
2018-01-22 10:39:01 -08:00
Jonathan Wakely
5c3006b60f
Change "untended" to "unintended" in C.9
2018-01-09 22:27:14 +00:00
Herb Sutter
7aac5313d9
Correct example comment
2018-01-09 11:02:25 -05:00
Herb Sutter
e1cc6fedb0
In docs\gsl-intro, cleaned up stray notes into a "hints" section
2018-01-08 13:53:39 -05:00
Sergey Zubkov
59eb77027e
travis CI fixes
2018-01-02 22:15:02 -05:00
Sergey Zubkov
7dc8aaa420
travis CI fixes
2018-01-02 22:14:16 -05:00
Bjarne Stroustrup
8f87a03588
ES.87
...
#1032 comment and example added.
To consider: should integer comparison be broken out as its own rule?
2018-01-01 17:37:38 -05:00
Bjarne Stroustrup
72b9b40a7c
Some examples in Per.11
...
In response to #936 I added some text to Per.11. More would be welcome
2018-01-01 15:47:20 -05:00
Bjarne Stroustrup
edbfc3b8ec
Clarifying (I hope) text and example added
...
addressing #980 and #9777
2018-01-01 14:26:00 -05:00
Bjarne Stroustrup
0df2c26e9a
C.129
...
#1052 added Jonathan's example
2018-01-01 13:56:34 -05:00
Bjarne Stroustrup
ff42e7bbaf
closing #547
...
(now?) we have CP.3 and CP.31. Also CP.mess.
Yes we need more work on CP.mess
2018-01-01 11:44:58 -05:00
Bjarne Stroustrup
ecabc369bb
simplifying ES.20
...
#488
2018-01-01 11:13:38 -05:00
Bjarne Stroustrup
7e5019378b
Fix #493 array myth
...
Added comment about performance to SL.con.1
2018-01-01 10:40:45 -05:00
Andrew Pardoe
7cfb1d7961
update date
2017-12-26 08:13:24 -08:00
Mitch Phillips
bd948ee839
Fix example code in F.20. ( #1109 )
2017-12-22 16:01:42 -05:00
michaelz85
044a4b277e
fixed anchor name for T.21 ( #1108 )
2017-12-20 11:50:46 -05:00
michaelz85
7c11ac1acf
fixed a word (should be 'that' not 'the') ( #1107 )
2017-12-20 11:46:50 -05:00
michaelz85
b5a20f10ea
fixed error in code comment ( #1105 )
2017-12-18 11:39:04 -05:00
Oleg Artenii
352e94babe
fixed minor typo: "on the on the" -> "on the" ( #1103 )
2017-12-13 12:52:13 -05:00
Andrew Pardoe
d3a523eea8
Typos found at I.* ( #1093 )
...
* Typo: change word compute by inserted code . is the name of a previous function.
* Typo: add missing comma
* Typo: minor period typo
* Typo: form lower to upper case
* Typos found at I.*
Typo: add missing comma
Typo: minor period typo
Typo: form lower to upper case
Typos found at I.*
2017-12-11 11:13:07 -08:00
Andrew Pardoe
3667b08ce3
Merge pull request #1095 from brenoguim/hotfix/public-deleted-methods
...
Add public access modifier to examples
2017-12-11 11:11:23 -08:00
Andrew Pardoe
fbc48fafb0
Merge pull request #1096 from brenoguim/hotfix/recommend-public-deleted-methods
...
Recommend deleted methods to be public.
2017-12-11 11:10:10 -08:00
Andrew Pardoe
6ac3ac940f
Merge pull request #1100 from breyed/patch-1
...
T.concept: Remove comment unnecessary in good example
2017-12-11 11:08:46 -08:00
Gabriel Dos Reis
79dd574a65
Fix #1004
2017-12-11 10:59:13 -08:00
Andrew Pardoe
4bbcd758f2
updating date
2017-12-11 10:51:03 -08:00
Edward Brey
0931fab3d5
T.concept: Remove comment unnecessary in good example
...
The properly defined `Number` concept used as the template type is fully expressive.
2017-12-05 13:46:59 -06:00
Jonathan Wakely
bdc07cc4ef
Fix link to Rt-concepts
...
Fixes #1099
2017-12-05 19:25:09 +00:00
Breno Rodrigues Guimaraes
771a75e183
Add note to make deleted methods public
2017-12-02 16:46:47 -08:00
Breno Rodrigues Guimaraes
eb0707d7ae
Add public access modifier to examples
2017-12-02 16:27:43 -08:00
hsutter
e6ac978f3a
Updated due to discussion about #1068
2017-11-27 11:56:15 -08:00
Andrew Pardoe
2b4438603c
Updating date
2017-11-27 11:52:45 -08:00
Andrew Pardoe
0a6167e1fc
Merge pull request #1066 from brenoguim/hotfix/add-virtual-destructor
...
Add virtual destructor to base class "Device"
2017-11-27 11:18:23 -08:00
Andrew Pardoe
0364ecace7
Merge pull request #1073 from martinfinke/hotfix/avoid-magic-constant
...
Avoid magic constant in F.44
2017-11-27 11:16:05 -08:00
Andrew Pardoe
b553f02f84
Merge pull request #1075 from Eliyahu-Ravuna/patch-2
...
Link added for function objects and lambdas
2017-11-27 11:15:33 -08:00
Andrew Pardoe
18578a421a
Merge pull request #1087 from leoperezpulido/master
...
Typo: add missing semicolon
2017-11-27 11:06:50 -08:00
Leonardo Perez Pulido
16e270dee9
Typo: add missing question mark
2017-11-27 10:43:15 -04:00
Leonardo Perez Pulido
7f909cc18e
Typo: add missing comma
2017-11-26 10:03:48 -04:00
Leonardo Perez Pulido
27d1c01782
Typo: add missing semicolon
2017-11-24 19:48:48 -04:00
Florian Behrens
3d4e860bdd
Fixed comment in example code of F.54 ( #1082 )
2017-11-17 10:20:09 -05:00
Oleg Artenii
df68bfdc5b
fixed minor typo: it this
-> this
(on master) ( #1079 )
2017-11-14 11:47:43 +00:00
Thomas Schaub
90076b9795
Use correct header level ( #1078 )
2017-11-13 15:59:51 -05:00
Eliyahu Ravuna
eb5f6a5b90
Link added for function objects and lambdas
2017-11-09 19:56:41 +02:00
Mohit Jain
7be6e7daed
Fix typo in destructor name ( #1074 )
...
Itream -> Istream in I.30: Encapsulate rule violations code snippet
2017-11-09 12:53:13 -05:00
Martin Finke
d13ac81e27
Avoid magic constant
2017-11-09 05:18:11 +01:00
Jonas Toth
8a408d8500
reorder ES.expr and ES.stmt in text
2017-10-31 16:22:07 +00:00
Jonathan Wakely
62e8a9862c
Add generated Python files to .gitignore
2017-10-31 15:29:08 +00:00
Jonathan Wakely
1e20e02c5c
Remove pycache file added in f9e2ea1d9f
2017-10-31 09:17:41 +00:00
Breno Rodrigues Guimaraes
3a320fdf53
Add virtual destructor to base class
2017-10-28 15:53:33 -07:00