Commit Graph

1631 Commits

Author SHA1 Message Date
Konrad Borowski
7367e07598 Rename rnd to round in I.1
At first, I assumed that this is "rand" function, not "round" function,
and was confused why exactly is it a problem that this returns
different values. While it's easy to notice when actually reading the
code, this slows down the comprehension, and bad function naming is
not point of that particular guideline.
2017-06-10 12:08:12 +02:00
Elias Kosunen
7763b97b52 Add braces to for loop in P.1 example
`for` with no `block-statement` as its `statement` is bad practice and should not be shown in an example. This example is meant to demonstrate code duplication and expessiveness, not to show poor usage of braces or lack thereof.
2017-06-09 23:30:42 +03:00
Andrew Pardoe
6907911089 Updating date 2017-06-08 16:58:52 -07:00
Robert Andrzejuk
d5667c5f8a Minor typo
I think a minor typo got itself in ... the second 'string_span' should be string_view.
2017-06-08 22:24:25 +02:00
Gabriel Dos Reis
0eba15190b Merge pull request #956 from parsley72/master
Fix link to constructor virtual
2017-06-08 13:21:17 -07:00
Tom Isaacson
974d6a2090 Fix link to constructor virtual 2017-06-09 08:04:15 +12:00
Gabriel Dos Reis
a8377b9302 Merge pull request #955 from codeboost/patch-3
C.133 - Grammar/semantic issues fixed
2017-06-08 05:17:36 -07:00
Florin
d4d48ec772 Fix tense, semantic error 2017-06-08 13:57:50 +02:00
Sergey Zubkov
fe9861d98a New rule: I.27 Pimpl 2017-06-04 10:58:27 -04:00
Sergey Zubkov
906ae347f3 travis CI fixes 2017-06-04 10:47:46 -04:00
Bjarne Stroustrup
c355df948f reorganize the lifetime profile description 2017-06-03 15:38:36 -04:00
Gabriel Dos Reis
6c82e4abbf Merge pull request #947 from AbigailBuccaneer/patch-1
Fix Markdown rendering failure
2017-06-03 12:15:12 -07:00
Abigail
11e92eb4c5 Fix Markdown rendering failure
Use of <iostream> without backticks causes the Markdown render to fail
from this point onwards on GitHub pages.
2017-06-03 07:47:06 +01:00
Gabriel Dos Reis
4359ca5ae5 Merge pull request #941 from tkruse/style-fixes
Style fixes
2017-06-02 09:17:39 -07:00
Zachary Henkel
f3ff5bae6d Clarify "unnecessary cast" by decomposing the class into identity casts and implicit casts. 2017-06-02 09:24:29 -05:00
Thibault Kruse
9cc50836bd Diverse style fixes
Remove whitespace at end of line

fix code indent

whitepsace between operators

align comments

add method name to fix syntax highlighting

typo: start with capital letter

Apply snake-case naming for unctions (for consistency)
2017-06-02 20:34:32 +09:00
Gabriel Dos Reis
520087569f Merge pull request #943 from galik/fix_unique_target_case
Fix case of unique anchors to match others
2017-06-01 19:51:54 -07:00
Gabriel Dos Reis
5fb7c03bed Merge pull request #945 from Bledson/patch-2
`#include`d instead of `#included`
2017-06-01 19:35:47 -07:00
Bledson Kivy
d240b7611e #included instead of #included 2017-06-01 23:26:45 -03:00
Zachary Henkel
4b3352b435 Add words used in anchors to custom dictionary 2017-05-31 10:24:39 -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
Andrew Pardoe
c7733a398a Updating date 2017-05-29 17:46:56 -07:00
hsutter
3794dc2f45 spans -> spans for readability 2017-05-26 10:14:00 -07:00
galik
7cf5f01bad Fix case if unique anchors to match others
SL.str.5, SL.str.10, SL.str.11, SL.str.12
2017-05-26 06:21:54 +01:00
Gabriel Dos Reis
07d2413d80 Merge pull request #939 from galik/fix_item_tags
Fix various item tags (missing colons)
2017-05-25 15:18:15 -07:00
galik
fa50221dd0 Fix various item tags (missing colons)
I.2, C.10, A.1, A.2, A.4, NL.5
2017-05-25 23:09:08 +01:00
Gabriel Dos Reis
9e29780db6 Merge pull request #937 from ProgramMax/add-missing-period
Add missing period
2017-05-25 15:05:02 -07:00
Chris Blume
ea50b4ea78 Add missing period 2017-05-25 13:38:51 -07:00
Sergey Zubkov
d816cc5705 travis CI fixes 2017-05-24 22:35:05 -04:00
Zachary Henkel
2cd9993ae4 Revise cast guidance following upstream edits 2017-05-24 15:31:11 -05:00
Zachary Henkel
6a7552db21 Additonal merge from https://github.com/isocpp/CppCoreGuidelines 2017-05-24 15:00:07 -05:00
Zachary Henkel
9ef1d51c34 Merge from https://github.com/isocpp/CppCoreGuidelines 2017-05-24 14:58:33 -05:00
hsutter
cafe186e42 Added Mike's suggested notes 2017-05-24 11:56:59 -07:00
hsutter
444f7040e3 Applied Bjarne's and Neil's feedback 2017-05-24 11:51:39 -07:00
hsutter
a0137d587d Merge remote-tracking branch 'refs/remotes/origin/master' into hs-gsl-intro-branch 2017-05-24 11:34:14 -07: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