Commit Graph

888 Commits (t84-example)

Author SHA1 Message Date
Andrew Pardoe 6ba822f535 Merge branch 'upgrade-checkers' of https://github.com/tkruse/CppCoreGuidelines into tkruse-upgrade-checkers 9 years ago
Andrew Pardoe 7f510892e5 Merge pull request #680 from tkruse/fix-style
style fixes
9 years ago
Andrew Pardoe 9a9e958955 Manually fixed PR #657 9 years ago
Andreas Scherer 25044afca0 Correct a few typos.
A quick inspection with 'aspell -l en_US'.
9 years ago
Thibault Kruse be304fedd6 R.1 example: change names according to NL.8 10 years ago
Thibault Kruse 0af83def79 Style: Rename classes with underscore as separator 10 years ago
Thibault Kruse 2bfb860cfe separate names with underscores 10 years ago
Thibault Kruse 0701c4df62 Style: Consistently name custom classes with initial capital and underscore notation 10 years ago
Thibault Kruse 00cf8d08ff Fix bad reference 10 years ago
Sam Bristow 9f2d2645ff Remove rogue comma from example 10 years ago
Passw 04cd9a5d73 fix typo 10 years ago
Robin Degen d084dcef31 Fixed typo shuld -> should, fixed missing words 10 years ago
Thibault Kruse 70d056f087 Fix duplicate/wrong anchors. Fix Makefile uniq check for anchors, must sort 10 years ago
Thibault Kruse 4cbbf55bd3 style fixes 10 years ago
Thibault Kruse 6e1599f6f9 style fixes 10 years ago
Thibault Kruse 0120560f13 update to pypi cpplint 1.3.0, fix linter errors 10 years ago
Thibault Kruse ced78ffad1 typo 10 years ago
Thibault Kruse 6867d13363 type error 10 years ago
Thibault Kruse 9160dbb818 invalid enums 10 years ago
Thibault Kruse b14fe453a4 avoid keyword name 10 years ago
Thibault Kruse 9d4fc0b5cb bad type 10 years ago
Thibault Kruse d6ffbfdcc2 missing semicolon 10 years ago
Thibault Kruse 3e1519beb3 bad parens within name 10 years ago
Thibault Kruse bcca1488e8 unique var names in example 10 years ago
Thibault Kruse 46a26976ba typo in method invocation 10 years ago
Thibault Kruse 4e46bd9a8b fix indent 10 years ago
Thibault Kruse 12bdb63b06 fix parens 10 years ago
Thibault Kruse 6a8728a054 qualified access 10 years ago
Thibault Kruse 04345df6d0 remove duplicate constructor 10 years ago
Thibault Kruse 0997489573 bad signature 10 years ago
Thibault Kruse b9f41b5cd0 missing template argument 10 years ago
Thibault Kruse 0b15a43c54 missing comma 10 years ago
Thibault Kruse dc683521ee wrong sample class 10 years ago
Thibault Kruse 01b66d9a7e unique variable names in example 10 years ago
Thibault Kruse bf11606c1a completely implement assignOperator 10 years ago
Thibault Kruse 165c61e7ce bad signature
# Conflicts:
#	CppCoreGuidelines.md
10 years ago
Thibault Kruse 005e546d63 bad return type 10 years ago
Thibault Kruse 2a9d0a43b8 dodgy example code 10 years ago
Thibault Kruse 360ba610d1 Fix many typos 10 years ago
Gabriel Dos Reis d4da142302 Merge pull request #678 from alex-weej/patch-3
Typos in NL.7
10 years ago
Alexander “weej” Jones 43f6b85fbc Typos in NL.7 10 years ago
Alexander “weej” Jones ca4b223a27 Typo "intelligible" 10 years ago
Andrew Pardoe 3dcc0e6976 Merge branch 'master' of https://github.com/isocpp/CppCoreGuidelines 10 years ago
Andrew Pardoe 745b148ba7 Merge PR #643 10 years ago
Gabriel Dos Reis 5ced8d0e16 Merge pull request #605 from anthonywilliams/master
Fix some typos in the concurrency section
10 years ago
ypyf 866abafb07 fixed typo 10 years ago
Pim Schellart e708b8856d Fix link 10 years ago
Lars Volker 91ceea287c Fix typo 10 years ago
Bjarne Stroustrup a0a1d8615c some cleanup in NL and SL 10 years ago
Gabriel Dos Reis 72a58497a9 Merge pull request #648 from cubbimew/travis-fixes
fix Travis CI issues caused by recent direct commits
10 years ago
Bjarne Stroustrup a5cd446ccf minor cleanup of exception section
Closing issue 313 on E.25 for now
10 years ago
Bjarne Stroustrup 441070c203 PRO->PRO and CON->Con
they are not acronyms
10 years ago
Sergey Zubkov 7890037c8d fix Travis CI issues caused by recent direct commits 10 years ago
Bjarne Stroustrup 141356db52 F.21 and GSL and Etc.
The cleanup continues.
Note the caller-allocates example in F.21.
Note the attempted cleanup of the Enforcement section of F.7: too many
ands and ors; did I get it right?
Note the simplification of the treatment of char* in the GSL section;
char* is considered a pointer to a single char, rather than a C-style
string; viable?
10 years ago
Florin Iucha 3876d12c63 Fix a few typos 10 years ago
Bjarne Stroustrup d155244c70 a few minor changes 10 years ago
Bjarne Stroustrup 1b026e5492 Slight cleanup in profiles section 10 years ago
Bjarne Stroustrup cb5bab9ae5 C.129
rationale and examples added
10 years ago
Bjarne Stroustrup df88742f7d int->if 10 years ago
Bjarne Stroustrup 25deeba3b5 T.140 10 years ago
Bjarne Stroustrup 6d1de28c91 template rule cleanup 10 years ago
Bjarne Stroustrup c553535fb8 fixing typos
adding "concept" markers, hopefully to minimize confusion
10 years ago
Bjarne Stroustrup bf5635d085 a few changes to "Templates"
and a definition of "Library"
10 years ago
Bjarne Stroustrup 2950a03589 Cleanup of the template section
More cleanup is needed
The new T.41 is interesting
10 years ago
Bjarne Stroustrup ae8c320cdf Update and extension of enumeration section 10 years ago
Bjarne Stroustrup 39eaac7317 Cleanup of P and I
P.11 added
10 years ago
Bjarne Stroustrup e63549f287 Improve F.22 10 years ago
Gabriel Dos Reis 7c9ec43f8b Merge pull request #642 from galik/SL.50fix-typos
Fix typos in SL.50
10 years ago
Sergey Zubkov ba8ccd35a5 Fix Travis CI by reverting "Better comment for implicit conversion example"
This reverts commit c2f54b5ed1.
10 years ago
galik b290556127 Fix typos in SL.50 10 years ago
Andrew Pardoe c2f54b5ed1 Better comment for implicit conversion example 10 years ago
Andrew Pardoe c9bd992a92 Merge pull request #635 from grzebiel/master
use proper argument for creation of span from array
10 years ago
grzebiel f4ad185de5 visualy align comments 10 years ago
Jeff Hutchison ddc0093d7e Fix the URL to isocpp.org. 10 years ago
grzebiel 470a603239 use proper argument for creation of span from array 10 years ago
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