Commit Graph

813 Commits (5f66e004d80e3ec8bb192930c64f3bd1ce59e6ba)

Author SHA1 Message Date
tal 5d19b4b875 CP.2_617: Switched to an alternate form of span<>. 10 years ago
tal 54bd880898 C.33_610: changed owner<T>* to owner<T*> per issue 610
Did not change the owner<T> to owner<T*> in the Enforcement section.
10 years ago
tal c3e45c9403 R.3_609: changed owner<T> to owner<T*> in R.3 per issue #609 10 years ago
Anthony Williams 60e3875e63 Fix some typos in the concurrency section 10 years ago
eyal bari e41f3f85f8 fix mixed index / iterator loop condition
replaced end with size
10 years ago
Sergey Zubkov d7d39b4c98 update FAQ.55 10 years ago
Thibault Kruse 0ad523eecf fix cpplint style warnings 10 years ago
Thibault Kruse 765ebd6fbc fix slanted quotes 10 years ago
Andrew Pardoe 3b93c16fbd Merge pull request #596 from tkruse/style-fix27
Style fix27
10 years ago
Andrew Pardoe 11ee7e5626 Merge branch 'patch-1' of https://github.com/rafzi/CppCoreGuidelines into rafzi-patch-1 10 years ago
Andrew Pardoe d6143fb6c7 Merge branch 'master' of https://github.com/isocpp/CppCoreGuidelines 10 years ago
Andrew Pardoe e19e0575c0 Merge branch 'fix-linelength' of https://github.com/tkruse/CppCoreGuidelines into tkruse-fix-linelength 10 years ago
Andrew Pardoe 27dc740789 Merge pull request #593 from ubique/span-c-style-traversal-example
Fix span C-style traversal example
10 years ago
Andrew Pardoe 11718e96a2 Merge branch 'check-badchars' of https://github.com/tkruse/CppCoreGuidelines into tkruse-check-badchars 10 years ago
Boris Smidt 122ce83509 fixed markdown style errors 10 years ago
Boris Smidt 757737e86d changed tabs into 4 spaces 10 years ago
rafzi 109f00847a Fix bounds.3 example 10 years ago
Bjarne Stroustrup e8dea3807a replaced the concurrency section
a couple of dozen new rules;
introduced raii_thread and detached_thread.
ntroduced the beginnings of lifetime and ownership safety.
10 years ago
Bjarne Stroustrup d76d8c31ef "do no harm"
a philosophical addition
10 years ago
Thibault Kruse d7bab1ab0f Fix whitespace around operator 10 years ago
Thibault Kruse da92068a5f Shorten Fix longest C++ lines longer than 100 chars 10 years ago
Dmitry Banschikov 5ece97ed68 Fix span C-style traversal example 10 years ago
Thibault Kruse 321e411e4f Fix further typographic mistakes 10 years ago
Andreas Scherer 6353ff2c8f Undo typographic apostrophes.
Double- and single-quotes (apostrophes) are written in their "straight"
versions. The task of replacing them by their typographic versions is
left to the Markdown renderer, e.g., `pandoc --smart ...`.
10 years ago
Andreas Scherer b83449a33b Consistent use of double-hyphen for en-dash.
Use `--` for all occurrences of en-dashes. All UTF-8 dashes are reduced
to this convention. Let the Markdown renderer cope with the correct
expansion of such items, e.g., `pandoc --smart ...`.
10 years ago
Andrew Pardoe 111dcfada1 Merge pull request #589 from tkruse/remark-fix
Remark fix
10 years ago
Andrew Pardoe 2a95737285 Merge branch 'style-fix26' of https://github.com/tkruse/CppCoreGuidelines into tkruse-style-fix26 10 years ago
Thibault Kruse 91a731a6f8 Remove last 2 tab instances, Flag all tabs as warning breaking travis build 10 years ago
Thibault Kruse 0491ccb880 Remove superfluous newlines 10 years ago
Thibault Kruse 34d6c79f06 Escape slashes to fix footnote warnings 10 years ago
Thibault Kruse d9562f683d typo Int -> int 10 years ago
Thibault Kruse e8675ea23a unify dummy function names 10 years ago
Thibault Kruse c4698f22fe Consistently use simple function name for meaningless functions 10 years ago
Thibault Kruse e910836f3b typo 10 years ago
Thibault Kruse 1863a750c0 whitespace 10 years ago
Thibault Kruse 0695f5968d fix ellipses encoding 10 years ago
Thibault Kruse 19c0e77a6e Fix whitespace around operators and commas 10 years ago
Thibault Kruse a9c42279bb delete trailing whitespace 10 years ago
Thibault Kruse 55083af21e fix line length 10 years ago
Thibault Kruse 46b4a20881 Minor style: convert tabs to spaces 10 years ago
d3fault 8382c216d7 Fix tiny typo in CP.2 10 years ago
Andrew Pardoe 68af55caaf Removing the rest of the unnecessary escapes 10 years ago
Roman 6ea1422dd6 Update CppCoreGuidelines.md
Must be `int* p = new int[12]; delete[] p;`
10 years ago
Andrew Pardoe 7255e7d2f0 Testing formatting on bibliography 10 years ago
Thibault Kruse 006832159c Consistent References Blocks 10 years ago
Thibault Kruse f9ebe1fc9a Fix missing open braces escape and missing backticks 10 years ago
Thibault Kruse c8a18317c1 whitespaces fixes, by remark tool 10 years ago
Andrew Pardoe 033918b998 Updating date 10 years ago
uli 4af6b1e5e0 The table of contents was missing several chapters. The TOC now correctly reflects the order of the chapters in the document. 10 years ago
uli 88a6c1d790 The rule name ES.40 was used twice. 10 years ago
Andrew Pardoe 1c3c35b0f5 Updating date 10 years ago
johan lundberg 11275aa086 Add links to GSL, structure to README.md 10 years ago
jmihalicza f48dac72bd P.10 typo
Sumething -> Something
10 years ago
Steven Peters 2a7fab1697 CppCoreGuidelines.md spelling error
stared_ptr -> shared_ptr
10 years ago
tvaneerd 7a4fbef370 remove use of == on doubles
could use an epsilon, but that just distracts from the point of the example, so changed double to int instead
10 years ago
Andrew Pardoe 7a8cac8dbc Changed { { hack to proper liquid template fix 10 years ago
Andrew Pardoe aa82e03ac8 Updated date` 10 years ago
Patryk Małek 9b2b07d8f3 Updated comments after updating variable names 10 years ago
hsutter dd3d73f643 Closed #537 10 years ago
Andrew Pardoe 0e9d6502f8 Merge pull request #552 from ltowarek/patch-2
Fix broken links in I.13
10 years ago
Andrew Pardoe aa7f978f3c Merge pull request #551 from ltowarek/patch-1
Fix broken links in P.8
10 years ago
Andrew Pardoe 98aee93b0a Merge pull request #546 from tvaneerd/patch-1
== instead of =
10 years ago
Andrew Pardoe 1c686854e2 Merge pull request #536 from Marat-Tanalin/master
Typos
10 years ago
Andrew Pardoe 89cd79db3f Merge pull request #531 from tituswinters/per-opt
A more numeric reason for targeted optimization.
10 years ago
Andrew Pardoe f01b4aac2e Merge pull request #528 from tituswinters/per-editorial
Expanding missing text for PER and CP sections, some editorial cleanup
10 years ago
Andrew Pardoe 033d3ec0eb Merge pull request #521 from jeanphilippeD/Minor-typo
Add missing word 'from'
10 years ago
Andrew Pardoe 3fe4e40ae9 Merge pull request #520 from PiotrSliwa/F.53
More comprehensive example and enforcements for F.53
10 years ago
Lukasz Towarek cf8d521437 Fix broken links in I.13 10 years ago
Lukasz Towarek 70c4997f84 Fix broken links in P.8 10 years ago
tvaneerd 5e855a2de4 == instead of =
really should be +/- epsilon, or change double to int
10 years ago
hsutter bcb93bd803 Updated RF.rules 10 years ago
Marat Tanalin 8e8d437123 Typos
expecially => especially (This is expecially important for)
deafault => default (This is what a deafault == would do)
+ `==` marked-down as code.
10 years ago
psliwa c680191bf9 F.53: Fixed after review. 10 years ago
hsutter a4cfded181 Editorial: Moved ES.60 into proper order 10 years ago
hsutter 1b3efdf1e8 Rewrote ES.56, closed #514 10 years ago
Titus Winters 92091c4b81 A more numeric reason for targeted optimization. 10 years ago
Titus Winters e8f5dac762 Add note on brace-init for type conversion. 10 years ago
Titus Winters ea1ed17c1c Bad editorial fix. 10 years ago
Titus Winters b93b851568 Editorial updates for PER, CP.
Especially some descriptive text for conurrency, races, lock-free
programming.
10 years ago
Bjarne Stroustrup 23b7ceab9c a bit of fillout in the template section 10 years ago
hsutter fd2dc97baf Closed #527 10 years ago
Bjarne Stroustrup af86ae575e some minor fixes in the class hierarchy section
closing issue 524
10 years ago
Bjarne Stroustrup e7f6ecc470 hat to do if you can't use exceptions 10 years ago
Bjarne Stroustrup dfd29f3963 immutability
Added immutability under "Philosophy" and fleshed out the Con section
10 years ago
jeanphilippeD b99f3765c7 Add missing word 'from' 10 years ago
psliwa f11db25628 Minor improvement. 10 years ago
psliwa fdd91e959a F.53: Minor fix. 10 years ago
Bjarne Stroustrup f1fcc0fe68 added a not to C.170 10 years ago
psliwa 4fc0beafc3 F.53: More comprehensive example and enforcements. 10 years ago
Bjarne Stroustrup 3eca774fc7 a few cross references relating to operators 10 years ago
Bjarne Stroustrup 31d3dac828 C.168
define operators in the namespace of their operands
10 years ago
Andrew Pardoe 3e57e3603a Merge branch 'es-editorial' of https://github.com/tituswinters/CppCoreGuidelines into tituswinters-es-editorial 10 years ago
Andrew Pardoe 36c209a374 Merging PR486 10 years ago
Marat Tanalin 210455c1c6 23 typos
transfering => transferring (ownership transfering APIs)
prefent => prevent (to prefent range errors)
standarization => standardization (active discussion in standarization)
effectivily => effectively (This effectivily means)
declarate => declared (Flag classes declarate with `struct`)
Mimimize => Minimize (Mimimize the chance of untended access.)
The The => The (The The standard-library containers)
contaiers => containers (Users of hashed contaiers)
defie => define (to defie a specialization)
ibrary => library (combine standard-ibrary specializations)
specoalists => specialists ("cleverness" for non-specoalists)
yur => your (don't invent yur own names)
deploymenta => deployment (deploymenta and use of such tools)
suprises => surprises (perennial source of suprises and bugs)
implementating  => implementing (essential for implementating)
movesemantics => move semantics (movesemantics and certain rare
optimizations)
assingment => assignment (copying only part of an object using
assingment)
user => used (type can be user for a wide variety)
Templatizing => Templating (Templatizing a class hierarchy)
sourcefiles => source files (declarations used in multiple sourcefiles)
[2 times]
alternatives.These => alternatives. These (// space between sentences)
its => it’s (the first time its called)
LanguagesC++ => Languages — C++ ([C++03]: ISO/IEC 14882:2003(E),
Programming LanguagesC++)
10 years ago
Bjarne Stroustrup ad97ba3fdb Dealt with issue 516
added C.8 and C.9 to clarify access conventions
10 years ago
Gabriel Dos Reis 6e812c1588 Merge pull request #498 from tituswinters/editorial-2
Editorial changes for PER, CP, E, and T.
10 years ago
Andrew Pardoe 8452e8ae84 Merge pull request #490 from dkorolev/master
Declaring one name per declaration.
10 years ago
Andrew Pardoe 0712b24c91 Merge pull request #510 from ZhangWangda/patch-1
fix typo
10 years ago
Andrew Pardoe 366150957b Merge pull request #513 from cmello/master
passes -> passed
10 years ago
Marat Tanalin a67f8d3c27 Typos
wil => will;
developemnt => development.
10 years ago
Bjarne Stroustrup 5547b43c4b a few issues 10 years ago
Bjarne Stroustrup df9aca5ec3 a bit of fill-in and cleanup 10 years ago
Cesar Mello c041ced2c0 passes -> passed 10 years ago
ZhangWangda 67bf6a14ab fix typo
add a missing bracket
10 years ago
Bjarne Stroustrup 379938d743 rule against std::move()
ES.55
maybe the rule could be phrased more precisely
10 years ago
Bjarne Stroustrup 99673eb1f4 overloading vs default arguments
prefer default arguments and flag inconsistent default arguments on
virtual functions
10 years ago
hsutter 4748906ec1 c/assigned to/modified in F.7 and R.30 10 years ago
hsutter 94b567d2b8 Updated F.7 and R.30 based on 2016-01-25 telecon discussion 10 years ago
hsutter ad66f6ecda Tweaked F.7 enforcement 10 years ago
hsutter 815cdbbe72 Refined Enforcement for F.7 10 years ago
Bjarne Stroustrup 1d6e7a6e6b many minor changes to the F section 10 years ago
hsutter 63316bc0dc Corrected F.54, part 2 10 years ago
hsutter b97f67cd60 Corrected F.54 example 10 years ago
Titus Winters 20ed3d12fd Editorial changes for PER, CP, E, and T. 10 years ago
hsutter 7ae6ad4eb7 Completed and corrected Meyers book references 10 years ago
hsutter 3668c8c491 Added F.54 to never capture this implicitly 10 years ago
Jeremy Voorhis dd683abae7 Fix typographical error (variable name) in example for C.30. 10 years ago
hsutter 935a5ee325 Closed #485. 10 years ago
hsutter e4f908093d Closed #484. 10 years ago
Dima 2d9c0582ad Another minor grammar fix. 10 years ago
Dima 7ae316c605 Minor grammar fix. 10 years ago
Dima 6a39167b86 Declaring one name per declaration. 10 years ago
Titus Winters d653d5e89c (Hopefully) editorial cleanup for Sec ES. 10 years ago
hsutter 46f38a7917 Closed #388. 10 years ago
hsutter 2bea1b9d30 Closed #442. 10 years ago
hsutter 8758eabcbf Folded duplicate C.6 into Con.2 and addressed PR #438. 10 years ago
hsutter 7cd72691e8 Improved R.3 note wording to help address PR #417. 10 years ago
hsutter 13c8df9abc Applied suggestion in PR #414. 10 years ago
hsutter 41751f548c Merge pull request #409 from agrygorenko/F-27-patch
F.27: Example fix
10 years ago
hsutter 47a1405707 Applied suggestion in PR #343. 10 years ago
hsutter f013c1b22d Applied suggestion in PR #298. 10 years ago
hsutter 3586cf7d0e Applied suggestion in PR #273. 10 years ago
hsutter 6c47693b58 Applied suggestion in PR #268. 10 years ago
hsutter 50e89327bb Applied the suggestion in PR #238. 10 years ago
hsutter 12dd788e1d Applied suggestion in PR #213. 10 years ago
hsutter 4b15a57f96 Applied the suggestion in PR #198. 10 years ago
hsutter 10d1d9dbc5 Addressed PR #140. 10 years ago
hsutter c9e015ce1f Addressed PR 52. 10 years ago
hsutter 9c2aba298c Closed #436. 10 years ago
hsutter c6891262a7 Tweaked PR #481. 10 years ago
Andrew Pardoe 3f99f673d4 Wording in Intro and Philosophy 10 years ago
Gabriel Dos Reis 9b9a71bf18 Merge pull request #439 from mpark/P1
P.1: Minor fixes to the examples.
10 years ago
hsutter 7d99f7605a Closed #478. 10 years ago
hsutter 238ffceb62 Closed #477.' 10 years ago
hsutter dc5cb14536 Closed #294. 10 years ago
hsutter 2d8377aab5 Closes #133. 10 years ago
Michael Park a26d6c98d5 P.1: Fixed incorrect use of `std::find`. 10 years ago
Michael Park 3b29134985 P.1: The index result of a `std::find`-like loop needs to be initialized to -1. 10 years ago
hsutter 21b28d91ef Merge pull request #465 from tituswinters/f.6
Clarify f.6 note on noexcept and allocation
10 years ago
hsutter d5cbcd23ec Merge pull request #472 from Alexolut/patch-7
fixed typos
10 years ago
hsutter a1f7cdfc6e Merge pull request #473 from mpark/C.61
C.61: Fixed example to use `new[]` instead to allocate an array.
10 years ago
Sergey Zubkov 3f51ca23fa typos s/insigth/insight s/reders/readers s/psource/source 10 years ago
Bjarne Stroustrup c07d9189d7 C.167: Use an operator for an operation with its conventional meaning
issue #290
10 years ago
Bjarne Stroustrup b1c907387f ES.65 Don't slice 10 years ago
hsutter afdaa1d110 Closed #437. 10 years ago
hsutter f0e29f0492 Closed #423. 10 years ago
hsutter 9e0b9f435e Closes #189. 10 years ago
hsutter 9c93ba6c5f Closed #108. 10 years ago
hsutter 6156e95782 Closed #83. 10 years ago
Michael Park d78a1b81a0 C.61: Fixed example to use `new[]` instead to allocate an array. 10 years ago
Bjarne Stroustrup 26fc14cc8a operator&
C.166 Overload unary `&` only as part of a system of smart pointers and
references
10 years ago
Alexolut a6051b2058 fixed typos 10 years ago
Gabriel Dos Reis fac322ee67 Merge pull request #471 from mpark/C.40
C.40: Fixed a couple of typos.
10 years ago
Michael Park 8916eddfa5 C.40: Fixed a couple of typos. 10 years ago
Michael Park d423e855b5 C.ctor: Fixed typo. 10 years ago
Gabriel Dos Reis b1f33a48a2 Merge pull request #469 from mpark/C.37
C.37: Added a note about implicit declaration of `noexcept` for destructors
10 years ago
Michael Park f90b15dd7a C.37: Added a note about implicit declaration of `noexcept` for destructors. 10 years ago
Michael Park 5f7432b131 C.36: Fixed a couple of typos. 10 years ago
uli 26e006b148 Section C.over was marked as a chapter.
The chapter on templates T was also abbreviated as TPG and TCP.
Anchor names corrected.
Rule T.26 was designated as T.27.
Missing ) added.
added missing references
The rules T.12 and T.13 were designated as T.14 and T.15 in the summary.
10 years ago
Michael Park d1abdd220c C.30: Fixed a typo in the example. 10 years ago
Gabriel Dos Reis 023d60ce8b Merge pull request #463 from tituswinters/f.4
Don't mix future runtime customization constexpr.
10 years ago
Titus Winters 3918d16274 Revise according to GDRs suggestion in PR 463. 10 years ago
Titus Winters 6de4da0793 Clarify f.6 note on noexcept and allocation
The bigger picture issue of "What context is your code executing in?"
and "What type of code are the core guidelines addressing?" should be
handled separately with text in the overview.
10 years ago
Titus Winters fea884184e Blend new F.47 into existing text. 10 years ago
Titus Winters 7615d3076d Add F.47 - Assignment operators return T&
As discussed in
https://github.com/isocpp/CppCoreGuidelines/issues/422
10 years ago
Titus Winters 60706af58d Don't mix future runtime customization constexpr.
As discussed in https://github.com/isocpp/CppCoreGuidelines/issues/420
10 years ago
Alexolut b831fedb4a fixed typos 10 years ago
Andrew Pardoe ef18df66e8 Update TOC in In.sec 10 years ago
Herb Sutter 0198926d53 Addressed issue #134 10 years ago
Andrew Pardoe 67f8609657 Merge pull request #458 from tkruse/fix-toc2
Fix item order in second Table of contents
10 years ago
Alexolut c0a4d1a087 changed dot operator to arrow. 10 years ago
Thibault Kruse 24df4ed549 Fix item order in second Table of contents 10 years ago
Andrew Pardoe 1356a6d046 Fixed a comment that looks like a Liquid tag 10 years ago
Andrew Pardoe 73915ab827 Update date 10 years ago
Andrew Pardoe d33cfd97dd Merge PR 425 10 years ago
Michael Park ba6c91c8fc Swapped the order between `F.50` and `F.46`. 10 years ago
Gabriel Dos Reis b43ff9b63c Merge pull request #453 from mpark/tabs
Removed tabs as specified in `CONTRIBUTING.md`
10 years ago
Gabriel Dos Reis b4260e6fa9 Fix data member names
Rename `fx` to `x`, `fy` to `y`, `fz` to `z`, and `fe` to `e` to match
names used in the narative and other member function.

Fix pull request #456.
10 years ago
hsutter 782e070fcd Merge pull request #451 from mpark/F.21
F.21: Fixed order of arguments to `make_tuple`.
10 years ago
hsutter e7833ab1fe Merge pull request #450 from mpark/F.19
F.19: `s/T&&/TP&&/`
10 years ago
hsutter 893d11e6f5 Fixed F.16 references to -consume
This replaces PR #452
10 years ago
hsutter 72143e71ab Merge pull request #454 from mpark/F.27
F.27: Fixed typo `s/treads/threads/` in example.
10 years ago
Andrew Pardoe 2107d2852e Revert "Add header for gh-pages rendering"
This reverts commit 294b2495f1.
10 years ago
Andrew Pardoe 294b2495f1 Add header for gh-pages rendering 10 years ago
Michael Park 642cec4555 F.27: Fixed typo `s/treads/threads/` in example. 10 years ago
unknown 704f6cc339 Add reference to s-const in index 10 years ago
Michael Park 06348247d9 Align comments that were aligned by tabs. 10 years ago
Michael Park 1a850815d3 Replaced all tab characters with 4 spaces. 10 years ago
Michael Park 9b61e8e324 F.21: Fixed order of arguments to `make_tuple`. 10 years ago
Michael Park 33e24fb389 F.19: `s/T&&/TP&&/` 10 years ago