Commit Graph

1055 Commits

Author SHA1 Message Date
Andrew Pardoe
c0b1ea189f Merge pull request #958 from xfix/patch-1
Rename rnd to round in I.1
2017-06-11 18:44:55 -07:00
Andrew Pardoe
18e8e91745 Merge pull request #957 from eliaskosunen/master
Add braces to for loop in P.1 example
2017-06-11 18:41:25 -07:00
Andrew Pardoe
ba3bdb1f40 Merge pull request #949 from robert-andrzejuk/patch-2
Minor typo (I think)
2017-06-11 18:36:21 -07:00
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
Tom Isaacson
974d6a2090 Fix link to constructor virtual 2017-06-09 08:04:15 +12:00
Florin
d4d48ec772 Fix tense, semantic error 2017-06-08 13:57:50 +02: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
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
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
Bledson Kivy
d240b7611e #included instead of #included 2017-06-01 23:26:45 -03:00
Andrew Pardoe
c7733a398a Updating date 2017-05-29 17:46:56 -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
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