Zachary Henkel
f3ff5bae6d
Clarify "unnecessary cast" by decomposing the class into identity casts and implicit casts.
2017-06-02 09:24:29 -05:00
Zachary Henkel
3c867e5079
Final style changes
2017-05-31 10:11:19 -05:00
Zachary Henkel
2ef544d4ad
Additional formatting
2017-05-31 10:10:00 -05:00
Zachary Henkel
abd71982da
Another try with the linter
2017-05-31 10:03:02 -05:00
Zachary Henkel
ca35984813
Try to make the linter happy
2017-05-31 09:50:10 -05:00
Zachary Henkel
2cd9993ae4
Revise cast guidance following upstream edits
2017-05-24 15:31:11 -05:00
Zachary Henkel
9ef1d51c34
Merge from https://github.com/isocpp/CppCoreGuidelines
2017-05-24 14:58:33 -05:00
Bjarne Stroustrup
6c3620d1e8
minor cleanup
2017-05-24 08:49:21 -04:00
Malcolm Parsons
4dfe88b716
Fix broken links ( #935 )
2017-05-24 11:15:58 +01:00
Sergey Zubkov
531a8a5ebd
travis CI fixes and other typos
2017-05-23 23:48:56 -04:00
Shalom Craimer
5f5d5d8ca6
Fixing link to C.146 to be valid, and a link to ??? to be unlinked ( #934 )
...
this fixes links and the issues discovered by travis CI
2017-05-23 22:55:06 -04:00
Bjarne Stroustrup
5975f4d5db
more bounds profile reorganization
2017-05-23 21:36:14 -04:00
Bjarne Stroustrup
df160f3654
Most of the bounds safety profile
2017-05-23 15:55:51 -04:00
Bjarne Stroustrup
9eb18fdf9e
vector exception to {} initializers
2017-05-23 15:03:52 -04:00
Bjarne Stroustrup
9d44e718eb
Reorganized the Type safety profile
2017-05-23 14:39:13 -04:00
Andrew Pardoe
c721b2c325
Merge pull request #931 from sizeofvoid/master
...
fix: unsigned int value comment
2017-05-22 07:55:26 -07:00
Bjarne Stroustrup
5da51a9a44
more work on anchors
2017-05-22 10:45:16 -04:00
Bjarne Stroustrup
9d283bc451
anchors for Type.*
2017-05-21 21:54:27 -04:00
Bjarne Stroustrup
986106c63c
more Type.* reorganization
2017-05-21 21:15:35 -04:00
Bjarne Stroustrup
e2719d035b
Reorganize Type.1-3
2017-05-21 15:40:25 -04:00
Bjarne Stroustrup
6e86c182f9
Don't detach, rename raii_thread to joining_thread
...
Addressing #925 . Please review carefully. #925 is tricky.
2017-05-21 12:18:59 -04:00
Sergey Zubkov
96a41a4a6e
travis CI fixes
2017-05-20 21:04:04 -04:00
Bjarne Stroustrup
a1f59395bb
modifications to C.43
...
Issue #544
2017-05-20 14:29:23 -04:00
Sergey Zubkov
85cb14703c
travis CI fixes
2017-05-19 23:33:06 -04:00
Bjarne Stroustrup
aabfe119d3
typo fix
2017-05-19 18:05:17 -04:00
Rafael Sadowski
a591b3c279
fix: unsigned int value comment
2017-05-19 18:01:41 +02:00
Bjarne Stroustrup
14ef2cde84
add rules against use of unsigned
...
addresses #571
2017-05-18 16:45:10 -04:00
Bjarne Stroustrup
50576c0144
issue #841
...
SF.10: Avoid dependencies on implicitly `#included` names
2017-05-17 15:06:48 -04:00
Bjarne Stroustrup
974fdf4661
improve I.11
...
as suggested in #552
2017-05-17 14:41:53 -04:00
Bjarne Stroustrup
fa1d0e5995
exceptionsand const
...
Added to E.15
2017-05-17 14:25:13 -04:00
Bjarne Stroustrup
81493f331c
Undid untentional change to C.85
2017-05-16 15:58:01 -04:00
Bjarne Stroustrup
7206b618a4
C.86 example accesses private members #541
...
fixed
2017-05-16 15:56:16 -04:00
Bjarne Stroustrup
9620ea8d43
I.30: Encapsulate rule violations
...
Fiexed #893 by moving the bad example from ES.28 to a new rule: I.30:
Encapsulate rule violations.
I may inadvertenly have invented a new suppression syntax
2017-05-16 14:59:55 -04:00
Bjarne Stroustrup
17ccab5836
Fix C.139
2017-05-16 13:28:23 -04:00
hsutter
b10ffdf55f
Reversed order of Lifetime.1 and .2
2017-05-11 19:09:56 -07:00
hsutter
ff9bce8035
Add Lifetime.1-3 rules so tools can refer to them
2017-05-11 17:56:25 -07:00
Zachary Henkel
f1b348e0db
Additional guidance around casts:
...
- Warn on unnecessary casts
- Avoid casts on arithmetic types
- Add specializations of the rules for Pro-type-reinterpretcast
2017-05-09 16:17:45 -07:00
Sergey Zubkov
17715010a2
travis CI fixes and grammar fix from #920
2017-05-08 22:34:18 -04:00
Andrew Pardoe
b09b9ad8b9
Updating date & typos
2017-05-08 12:05:23 -07:00
Andrew Pardoe
bec67d690a
Merge pull request #914 from AndrewPardoe/issue911
...
Clarify I.11 with regards to recommending smart pointers/owner<T>.
2017-05-08 11:09:19 -07:00
Andrew Pardoe
52eca9a174
Merge pull request #917 from scraimer/master
...
C.148 adding Reason and Example
2017-05-08 11:08:12 -07:00
Andrew Pardoe
2e1d9c34d4
Merge pull request #920 from cubbimew/issue899
...
CP.111 more precise motivation and examples
2017-05-08 11:05:28 -07:00
Andrew Pardoe
d5ea1fcc4f
Merge pull request #922 from AndrewPardoe/issue-918
...
Fix anchors in C.147/148
2017-05-08 11:04:21 -07:00
Gabriel Dos Reis
52aa9ba997
Fix #903 .
2017-05-08 10:50:03 -07:00
Andrew Pardoe
e354279e0e
Fix anchors in C.147/148
2017-05-08 10:21:01 -07:00
Bjarne Stroustrup
ad6f863152
Added not about notation to Con.2
...
in response to #902
2017-05-07 15:59:55 -04:00
Sergey Zubkov
f41d36ff25
CP.111 more precise motivation and examples
2017-05-07 14:17:21 -04:00
Bledson Kivy
7c90bdba50
Intended heading level?
...
Following the heading levels throughout the doc, it seems these are typos.
2017-05-05 16:47:41 -03:00
Shalom Craimer
12f0954f66
Fixed the errors detected by Travis CI and @jwakely
2017-05-05 01:20:16 +03:00
Shalom Craimer
cdf2e7e5ea
Fixed the errors detected by Travis CI and @jwakely
2017-05-05 00:56:29 +03:00