Commit Graph

753 Commits

Author SHA1 Message Date
Markus Trippelsdorf
cc747323ee Fix syntax error in Rc-in-class-initializer 2015-09-23 11:06:03 +02:00
Egor Pugin
26ad1aa7f9 Domain of sqrt() is nonnegative numbers, not positive. 2015-09-23 09:45:52 +03:00
Marko van Treeck
8f47862f29 Fixed typo. 2015-09-23 01:09:30 +02:00
Ameen Ali
34e636c2f4 update at ES.74 Rule
add (Reason) and (Example) at (Prefer to declare a loop variable in the initializer part of as `for`-statement) Rule
2015-09-22 22:03:46 +03:00
Ameen Ali
f80fa9f5fa update at ES.72 rule
add code sample for (Prefer a `for`-statement to a `while`-statement when there is an obvious loop variable) rule
2015-09-22 21:45:51 +03:00
Kazutoshi SATODA
47d96204b3 Give correct links to "#Ri-???" 2015-09-23 03:00:34 +09:00
Kazutoshi SATODA
0fe30fb712 Give an unique anchor name to C.33 "#Rc-dtor-ptr2"
instead of the same one with C.32 "#Rc-dtor-ptr".
2015-09-23 03:00:34 +09:00
Kazutoshi SATODA
4c73b0bff1 Give an unique anchor name to C.5 "#Rc-helper"
instead of the same one with C.4 "#Rc-member".
2015-09-23 03:00:33 +09:00
Kazutoshi SATODA
a9ca380378 Fix broken anchor links
which have obvious correct targets with slightly different names.
2015-09-23 03:00:33 +09:00
Kazutoshi SATODA
f739719e7b Fix broken anchor names
which are referred by links with different names.
2015-09-23 03:00:11 +09:00
justanotheranonymoususer
23a483ad85 Update CppCoreGuidelines.md
Typo
2015-09-22 20:33:27 +03:00
Marko van Treeck
fa74b0ceeb Corrected a typo 2015-09-22 19:30:26 +02:00
Rodrigo Fernandes
0bee27691d Fix typo (Poco Project) 2015-09-22 17:00:52 +01:00
Don Pham
66a1bc8e58 Fix example in SF.4 2015-09-22 11:43:40 -04:00
Alexey Dmitriev
2801dc22d1 change {} -> () in function call
at least it's consistent with prev example
2015-09-22 17:46:39 +03:00
Alexey Dmitriev
ed8cd27556 fix typo 2015-09-22 17:35:03 +03:00
Gabriel Dos Reis
a426e5fcd6 Merge pull request #74 from PhilLab/patch-1
Fixed swapped rule links
2015-09-22 06:52:09 -07:00
Philipp Hasper
a8799181eb Fixed swapped rule links 2015-09-22 15:45:55 +02:00
Alexey Dmitriev
c32a12b47a fix typo 2015-09-22 16:37:46 +03:00
Gabriel Dos Reis
a786c4aa1f Merge pull request #69 from octoploid/master
Remove invalid characters
2015-09-22 05:12:04 -07:00
Markus Trippelsdorf
207b8b5a19 Remove invalid characters
pandoc complains, e.g.:

 pandoc CppCoreGuidelines.md --latex-engine=xelatex --variable fontsize=11pt --variable papersize=a4 --variable geometry=margin=2cm -V mainfont="Lexicon" -o sch.pdf
 ! Text line contains an invalid character.
 l.3481 result = myset.insert( “Hello” );^^K
 pandoc: Error producing PDF from TeX source

Fix by removing invalid characters.
2015-09-22 13:41:36 +02:00
Sachin Joseph
256461b818 Fix highlight typo 2015-09-22 16:29:39 +05:30
Gabriel Dos Reis
ec37d1ac0c Merge pull request #62 from david10r/master
Fix some minor spelling errors. Issue #61
2015-09-22 03:19:52 -07:00
Gabriel Dos Reis
ea2fbb6f49 Merge pull request #60 from LeftofZen/patch-1
Update CppCoreGuidelines.md
2015-09-22 03:18:01 -07:00
Gabriel Dos Reis
4b480fa0fc Merge pull request #64 from mpark/T80
T.80: Fixed minor typos and a missing template argument in an example.
2015-09-22 03:04:29 -07:00
Gabriel Dos Reis
e702a64b24 Merge pull request #65 from jwakely/patch-1
Fix a couple of typos in GSL section.
2015-09-22 03:02:51 -07:00
Jonathan Wakely
ec78b69d07 Fix a couple of typos in GSL section. 2015-09-22 10:38:56 +01:00
Michael Park
62ac49b37a T.80: Fixed minor typos and a missing template argument in an example. 2015-09-22 01:40:25 -07:00
Vladimir Gamalian
ed78161416 Fix typo 2015-09-22 10:06:44 +07:00
David McCortney
b02c9a28fb Fix some minor spelling errors.
It is easier to see this commit with the following command.
git --no-pager diff --unified=0 --word-diff-regex=.
2015-09-21 22:11:31 -04:00
Benjamin Sutas
554380b8d9 Update CppCoreGuidelines.md
Fix a typo in P.9
2015-09-22 11:33:04 +10:00
Gabriel Dos Reis
8a96308c83 Merge pull request #58 from assertchris/patch-1
Fixing adverb usage
2015-09-21 16:41:17 -07:00
Christopher Pitt
e796e55722 Fixing adverb usage
Other options include: "use it where appropriate".
2015-09-22 09:45:29 +12:00
Dmitry Marakasov
9f85515f7d Fix typo 2015-09-21 23:38:28 +03:00
Simon Wächter
f585f81f9d Fixed a paragraph and typo 2015-09-21 22:02:28 +02:00
Aleksei Safronov
eeb25a859a Fix typo in T.123 2015-09-21 20:24:16 +03:00
Vadim Zeitlin
7b38170ebc Add missing "=" to the example of using tie() 2015-09-21 16:17:24 +02:00
Adnn
9b96b72f0a Fixes counting erros/typos in I.14 2015-09-21 12:13:49 +02:00
Adnn
225f1945f5 Fixes minor mistakes in I.8 section
* use of "precondition" instead of "postcondition".
* typo "and" instead of "are".
2015-09-21 11:25:18 +02:00
Andrew Pardoe
84a30986af Fix issue #34 2015-09-20 19:41:22 -07:00
ven
2110dded0d fix indexing typo in ES.2 2015-09-20 23:20:08 +02:00
Gabriel Dos Reis
0c98949215 Fix #26
Don't forget to supply `flag1` to `func`_tau`.
2015-09-20 10:37:21 -07:00
Gabriel Dos Reis
f18b83a563 Fix #30
The loop variable should be a reference in order to effect the
modification of the array elements.
2015-09-20 10:26:34 -07:00
Gabriel Dos Reis
e85995ed0b Fix #28
Help following the main thread without being distracted.
2015-09-20 10:16:47 -07:00
Gabriel Dos Reis
286cec8d63 Fix #35
'srandomly' was already fixed.
'botton' -> 'bottom'.
2015-09-20 10:07:16 -07:00
Gabriel Dos Reis
2f6ec186fd Merge pull request #44 from whoshuu/master
Fix links to the Guideline Support Library. Close #44
2015-09-20 09:53:48 -07:00
Huu Nguyen
404dc9520b Use S-gsl instead of S-support for GSL links 2015-09-20 09:35:05 -07:00
Andrew Pardoe
ae61f09861 Merge branch 'master' of https://github.com/isocpp/CppCoreGuidelines 2015-09-20 09:24:56 -07:00
Andrew Pardoe
3002b6b482 Merge branch 'master' of https://github.com/flippingtables/CppCoreGuidelines into flippingtables-master 2015-09-20 09:24:15 -07:00
Gabriel Dos Reis
e297db51f5 Merge pull request #45 from whoshuu/fix-raii-links
Fix links to RAII section
2015-09-20 09:23:59 -07:00
Gabriel Dos Reis
fe05904a1f Merge pull request #43 from vendethiel/patch-3
Fix code typos for C.145
2015-09-20 09:21:01 -07:00
Gabriel Dos Reis
090370b99f Merge pull request #42 from vendethiel/patch-2
Fix <a> closing tag
2015-09-20 09:18:56 -07:00
Andrew Pardoe
d5cdbbbb3d Merge pull request #22 from mindless2112/patch-1
Fix typo: "loose" to "lose"
2015-09-20 09:15:35 -07:00
Andrew Pardoe
5959bbc7be Merge pull request #20 from pcadottemichaud/typo_in_precondition_section
Fix two typos in the precondition section
2015-09-20 09:14:58 -07:00
Huu Nguyen
157365ecb1 Fix links to RAII section 2015-09-20 08:03:05 -07:00
Huu Nguyen
25e07bbaff Fix links to the Guideline Support Library 2015-09-20 07:54:22 -07:00
ven
e2a9591a48 Fix code typos for C.145
Also added the "extends B" to D
2015-09-20 14:19:27 +02:00
ven
e279f3b1bd Fix <a> closing tag 2015-09-20 12:35:14 +02:00
Joannes I Sandagerdi
cb7c0e48aa Fix some typos
Read through the document and fixed some typos.
2015-09-20 09:24:31 +02:00
Tom Walsh
cf76c9d4e1 Fix typos: change it's to its where appropriate 2015-09-19 22:01:34 -04:00
David Capello
c465e65c8f Fix typo in Appendix B 2015-09-19 22:02:22 -03:00
Gabriel Dos Reis
033c50279c Merge pull request #21 from pcadottemichaud/fix_weird_characters
remove weird characters in R.38 examples
2015-09-19 17:40:30 -07:00
Gabriel Dos Reis
2c0a96a8d2 Merge pull request #36 from vendethiel/patch-2
Use a variable in the erroring constexpr example …
2015-09-19 17:38:59 -07:00
Gabriel Dos Reis
736e52526a Merge pull request #18 from radarhere/patch-1
Fixed typos
2015-09-19 17:36:05 -07:00
Gabriel Dos Reis
c6a30d2452 Merge pull request #25 from dilanshah/master
fix minor typo in CppCoreGuidelines.md
2015-09-19 17:33:14 -07:00
Gabriel Dos Reis
d6b087c034 Merge pull request #37 from calcu16/patch-1
Fixing typos in R.11,15 and ES.76
2015-09-19 17:31:11 -07:00
Gabriel Dos Reis
001699f3ba Merge pull request #17 from marcodiiga/master
Fix small typos
2015-09-19 17:29:27 -07:00
Andrew Carter
0d3d7ec0ff Fixing typos in R.11,15 and ES.76 2015-09-19 17:03:55 -07:00
ven
e4e22f9e48 Use a variable in the erroring constexpr example …
I don't see why it'd fail otherwise, so I assume the "2" was a typo

Also add a missing "f" to "side effect"
2015-09-20 01:38:53 +02:00
Gabriel Dos Reis
6845e84f0b Merge pull request #31 from vendethiel/patch-1
rime->time
2015-09-19 14:34:58 -07:00
Gabriel Dos Reis
7e0ecf9f76 Merge pull request #32 from ssbr/patch-1
s/build-in/built-in/
2015-09-19 14:29:12 -07:00
Devin Jeanpierre
e78f42c06b s/build-in/built-in/ 2015-09-19 09:58:38 -07:00
ven
0246d57e59 rime->time
I was reading, and noticed this was probably wrong.
2015-09-19 17:42:58 +02:00
Dilan Shah
8211c4700d Update CppCoreGuidelines.md 2015-09-18 23:15:04 -07:00
Carl Reinke
f6e94fb504 Fix typo: "loose" to "lose" 2015-09-18 19:39:12 -06:00
Pascal Cadotte Michaud
43ca7880c7 remove weird characters in R.38 examples 2015-09-18 21:03:07 -04:00
Pascal Cadotte Michaud
95e8e527fb typo: identfied -> identified 2015-09-18 20:39:15 -04:00
Pascal Cadotte Michaud
b01f499285 Fix two typos in the precondition section 2015-09-18 20:31:30 -04:00
Andrew Murray
227529c729 Fixed typos 2015-09-19 08:22:34 +10:00
Marco A
6a1ccf5d0c Fix small typos 2015-09-18 23:43:07 +02:00
Adam Schwalm
f59b024b7f Remove unnecessary reference to 'no naked new' in ES.62 2015-09-18 16:07:58 -05:00
Andrew Pardoe
95f6cfcdd8 Merge pull request #14 from chrisrosset/master
Fix typo in ES.1
2015-09-18 13:36:53 -07:00
Andrew Pardoe
ec3e041874 Merge branch 'SpellingAndSpaceCorrections' of https://github.com/ErikUggeldahl/CppCoreGuidelines into ErikUggeldahl-SpellingAndSpaceCorrections 2015-09-18 13:32:32 -07:00
Christopher Rosset
dcfc21ea1f Fix typo in ES.1 2015-09-18 20:54:29 +01:00
Michael Robson
472d7cb66b Fix CPL anchor to match links
Change-Id: I182b0628f5d02325301960dcf325f94f6d2f3df4
2015-09-18 14:25:01 -05:00
Erik Uggeldahl
ccf97bd378 Remove extra trailing spaces 2015-09-18 15:08:09 -04:00
Erik Uggeldahl
0554c1fa5a Correct small spelling mistakes 2015-09-18 15:05:22 -04:00
Andrew Pardoe
ee75a9cfcb Merge pull request #10 from tonymagro/master
Fix typo in C.3 example
2015-09-18 11:57:09 -07:00
Andrew Pardoe
292d57f999 Merging PR 2015-09-18 11:54:07 -07:00
Tony Magro
2f066bb6a2 Fix typo in C.3 example 2015-09-18 13:28:47 -05:00
Andrew Pardoe
c5b8efea4a Merge pull request #6 from whoshuu/patch-2
Update comment in I.4 second example
2015-09-18 11:04:45 -07:00
Andrew Pardoe
3650a3f016 Merge pull request #5 from dextercd/patch-1
Update CppCoreGuidelines.md
2015-09-18 10:59:48 -07:00
Andrew Pardoe
2d360b5acf Merge pull request #4 from whoshuu/patch-1
Correct spelling and fix grammar in the intro
2015-09-18 10:28:09 -07:00
Huu Nguyen
774f159646 Update comment in I.4 second example 2015-09-18 09:15:25 -07:00
Huu Nguyen
e2faf345e5 Correct spelling and fix grammar in the intro 2015-09-18 08:55:13 -07:00
dextercd
803a7f6aef Update CppCoreGuidelines.md 2015-09-18 17:50:40 +02:00
Alessandro Vergani
4757800cfd Fix P.5 first example
The shift instruction in the example should be <<= instead of >>=
2015-09-18 16:18:07 +02:00
Herb Sutter
2ce60168eb Added Bounds profile 2015-09-16 10:50:49 -07:00
Herb Sutter
f292f6793b Added Type profile 2015-09-16 10:22:43 -07:00
Herb Sutter
563f7062a9 Added Profiles section with stubs 2015-09-16 09:54:07 -07:00
Andrew Pardoe
f2a900b542 Updated version number 2015-09-14 07:44:16 -07:00
Andrew Pardoe
6f49042045 Fixed typo 2015-09-13 20:24:16 -07:00
Andrew Pardoe
947cf3affc Initial checkin 2015-09-13 20:21:02 -07:00