Commit Graph

  • b5412f5922 Add new rule ES.3 Don't repeat yourself (#1715) peno2 2021-01-21 20:13:45 +01:00
  • 2c95a33fef travis CI fixes Sergey Zubkov 2020-12-16 23:14:07 -05:00
  • cef2f6bb77 Replace Travis CI with GitHub Actions (#1688) David Leal 2020-12-16 22:06:38 -06:00
  • e2c0f23ce1 F.60: Remove C-style cast (T&) from example of invalid C++ (#1711) Niels Dekker 2020-11-16 17:07:56 +01:00
  • a6eb40c5a2 Improved F.7 lifetime note; closes #1698 Herb Sutter 2020-10-29 11:57:25 -07:00
  • 5fdddf821d Added a justification message option for gsl::suppress Herb Sutter 2020-10-29 11:37:08 -07:00
  • 53aaebb074 Updated Mozilla link and Google style guide C++ version note Herb Sutter 2020-10-29 11:21:07 -07:00
  • 525d8f225e Update C.83 with swap for resource mgmt. (#1694) Fernando J. Iglesias García 2020-10-29 19:12:40 +01:00
  • 840fa592ac merge C.150 in R.23, leaving a redirect behind (#1676) Sergey Zubkov 2020-10-05 15:09:08 -04:00
  • dd98129f40 Fixes example in ES.105, closes #1678 hsutter 2020-10-01 11:48:22 -07:00
  • 6ad29ce609 Fixes ES.50 example and closes #1682 hsutter 2020-10-01 11:30:30 -07:00
  • 55bea2089b Remove string_span, recommend using std::string_view, std:::span,<char> or gsl::span<char> instead (#1680) Herb Sutter 2020-10-01 11:23:58 -07:00
  • 146864fe89 Cleaned up casting guidance (#1685) Herb Sutter 2020-10-01 11:18:38 -07:00
  • 86102531dc merge C.151 into R.22, leaving a redirect behind (#1675) Sergey Zubkov 2020-10-01 14:10:13 -04:00
  • 30b41c32e3 merge R.30 and F.7, closes #1671 (#1674) Sergey Zubkov 2020-10-01 14:09:24 -04:00
  • 45a68e8ac7 Cleaned up casting guidance cast-to-void-cleanup hsutter 2020-09-29 12:18:16 -07:00
  • b43b672c75 Remove string_span, recommend using std::string_view, std:::span,<char> or gsl::span<char> instead string_span-excision hsutter 2020-09-23 15:43:50 -07:00
  • c86be249f3 Revert "Revert "Revert "Removed gsl::string_span, recommend using std::string_view, std::span<char>, or gsl::span<char> instead""" hsutter 2020-09-23 15:41:22 -07:00
  • 8241609450 Revert "Revert "Removed gsl::string_span, recommend using std::string_view, std::span<char>, or gsl::span<char> instead"" hsutter 2020-09-23 15:40:44 -07:00
  • f15ee43ad6 Revert "Removed gsl::string_span, recommend using std::string_view, std::span<char>, or gsl::span<char> instead" hsutter 2020-09-23 15:40:17 -07:00
  • 5257915dee Removed gsl::string_span, recommend using std::string_view, std::span<char>, or gsl::span<char> instead hsutter 2020-09-23 15:39:43 -07:00
  • ab34c8b6b0 Merge pull request #1679 from N-Dekker/E.30-Remove-suggestion-to-use-throw() Gabriel Dos Reis 2020-09-21 19:54:11 -07:00
  • 0d46b2006c E.30: Remove suggestion to use throw() Niels Dekker 2020-09-21 19:16:05 +02:00
  • 2e3f983971 Restored whitespace after "might" hsutter 2020-09-03 16:34:34 -07:00
  • 75406a2db8 Remove "may" except for the month name -- closes #1542 hsutter 2020-09-03 12:57:06 -07:00
  • fae4ed3768 ES.103 examples updated, addresses Issue #1656 (#1659) David B 2020-09-03 19:17:11 +01:00
  • bdccf49849 added minor clarification. (#1672) rjhcnf 2020-09-03 20:11:30 +02:00
  • 739dc98dff Merge pull request #1664 from johnmcfarlane/patch-1 Gabriel Dos Reis 2020-08-16 08:35:09 -07:00
  • c5a771832a Add clarifying example to SF.12 John McFarlane 2020-08-14 06:58:35 +02:00
  • bd7085e53e Change [C++CS] refs to [SuttAlex05] Issue #1660 (#1662) David B 2020-08-12 18:37:57 +01:00
  • fd6ca8c6f0 rougify style github Sergey Zubkov 2020-08-03 17:21:49 -04:00
  • 44d9e1cd3c testing backticks-cpp Sergey Zubkov 2020-08-03 17:18:06 -04:00
  • cb0a908ad3 testing gh-pages highlighter configs Sergey Zubkov 2020-08-03 17:15:52 -04:00
  • e023c0775b testing backticks-cpp Sergey Zubkov 2020-08-03 16:53:17 -04:00
  • f202e94c4e update Sergey Zubkov 2020-08-03 16:51:47 -04:00
  • 2449d5d60f E.27: make example compile, closes #1622 Sergey Zubkov 2020-08-03 16:48:37 -04:00
  • 0439326363 Closes #1579 hsutter 2020-07-30 12:13:07 -07:00
  • 945b34d40e Closes #1574 hsutter 2020-07-30 11:32:36 -07:00
  • 63e2cd0ecd Closes #1585 hsutter 2020-07-30 11:22:00 -07:00
  • 01fa6a9bcf R.31 mark Example as Example, bad (closes #1651) Sergey Zubkov 2020-07-29 12:37:42 -04:00
  • 6d17d10604 T.5: Add an example for Type erasure (#1625) LE GARREC Vincent 2020-07-29 18:37:01 +02:00
  • d4e2281a09 removed extra space in an example in CP.2 (#1654) cadenzasong 2020-07-26 11:23:33 -07:00
  • 6f50150e94 Merge pull request #1596 from apenn-msft/patch-1 Gabriel Dos Reis 2020-07-25 15:00:05 -07:00
  • 94d6123c9a relative path should be from within the same component apenn-msft 2020-07-23 17:24:42 -07:00
  • f458adae1f Update CppCoreGuidelines.md apenn-msft 2020-07-23 14:41:33 -07:00
  • d996c97809 Fix typo in SL.str.1 (#1648) Hugh Macdonald 2020-07-14 16:41:23 +01:00
  • 12f29f2ea9 Closes #1647 hsutter 2020-07-09 12:00:47 -07:00
  • 895d709546 NR.5: note that example is incomplete (closes #1643) Sergey Zubkov 2020-07-09 14:24:22 -04:00
  • c6262ea1a8 += structured bindings mentioning; -= '\n' (#1646) al-mission-2016 2020-07-09 21:04:17 +03:00
  • 72fba35f33 travis CI fix Sergey Zubkov 2020-07-09 13:08:55 -04:00
  • 43bbde7fc9 Committing PR #1640 to main branch hsutter 2020-07-03 17:43:13 -07:00
  • c8d18d2c19 Revert "replace non-inclusive adjective usage (#1640)" (#1644) Herb Sutter 2020-07-03 17:34:59 -07:00
  • cf93fce65a replace non-inclusive adjective usage (#1640) Thibault Kruse 2020-07-04 09:23:30 +09:00
  • ac7079b012 travis CI fix Sergey Zubkov 2020-07-02 15:15:05 -04:00
  • 567331ab4e Const-qualify operator()s. NFC. (#1638) Arthur O'Dwyer 2020-07-02 14:08:50 -04:00
  • c379d3f6ea Remove a broken example, and copyedit. (#1637) Arthur O'Dwyer 2020-07-02 14:07:46 -04:00
  • 45ad5c4628 C.49: fix typo in example (closes #1642) Sergey Zubkov 2020-06-29 14:17:02 -04:00
  • 2477f275dc Fixed broken link (Res-nonnegative) (#1641) Manlio Morini 2020-06-22 19:49:20 +02:00
  • 8b94f6ee58 I.9: update outdated note that talks of 2018 as the future, closes #1525 Sergey Zubkov 2020-06-11 14:39:28 -04:00
  • 62be4c856d ES.28: drop broken and unnecessary example, closes #1590 Sergey Zubkov 2020-06-11 14:35:31 -04:00
  • 9efcaf07f7 Removed anti-CamelCase comments. (#1632) Anthony Cassidy 2020-06-05 06:19:47 +12:00
  • 4867a5c2d3 Use '<thing> template' i.s.o. 'template <thing>' (#1631) xtofl 2020-06-04 20:18:37 +02:00
  • 1936cb6b44 [NL.{11,15}] Bring rules in order (#1629) rico-chet 2020-06-02 21:23:14 +02:00
  • 5f1293aa5d update Sergey Zubkov 2020-05-28 15:15:21 -04:00
  • 4625c984e9 bump date Sergey Zubkov 2020-05-28 15:14:02 -04:00
  • 24c3993e97 fix CI, fix heading and add comment requested at today's editor's call Sergey Zubkov 2020-05-28 15:06:52 -04:00
  • d56d67969c Expand CP.61 to talk about the general "factory" pattern. (#1621) Arthur O'Dwyer 2020-05-28 15:04:34 -04:00
  • e8e0d103c0 CP.1: Simplify example, show good example, expand on rationale (#1615) Arthur O'Dwyer 2020-05-28 14:57:18 -04:00
  • 19f2672b9e Adjust the spacing for consistency (#1626) Hyuk Myeong 2020-05-29 03:41:32 +09:00
  • 9960c7dd7f [SF.10] Fix annotation of the _bad_ example (#1627) rico-chet 2020-05-28 20:37:50 +02:00
  • f604a6b5d6 [F.36] Typo (missing s) (#1623) Moritz 'Morty' Strübe 2020-05-20 17:34:11 +02:00
  • 6e0f8ace0b Tweak one of ES.10's examples for verisimilitude. (#1611) Arthur O'Dwyer 2020-05-14 14:43:48 -04:00
  • 46dadd0b16 Modified slightly impolite language (#1601) Dale Visser 2020-05-07 14:28:14 -04:00
  • 97797870ad code typo in R.20 (#1619) Yaro Shkvorets 2020-05-06 08:41:10 -04:00
  • f4c80921d6 Update CppCoreGuidelines.md apenn-msft 2020-04-25 13:01:25 -07:00
  • 4e61010c27 keep wording more consistent apenn-msft 2020-04-23 02:57:54 -07:00
  • 426ac8747d updated wording around use of <> for projects apenn-msft 2020-04-22 12:30:50 -07:00
  • bbc2f4dc5d Merge branch 'master' into patch-1 apenn-msft 2020-04-22 12:00:37 -07:00
  • 986402298a travis CI fixes Sergey Zubkov 2020-04-22 09:35:16 -04:00
  • d45496ff5e You should never =delete a destructor! (#1605) Arthur O'Dwyer 2020-04-20 08:59:37 -04:00
  • 30ef5b8524 update code markdown for #include apenn-msft 2020-04-03 14:19:18 -07:00
  • 66792e4875 Update wording and examples for SF.12: Prefer the quoted form of #include for files relative apenn-msft 2020-04-03 13:01:07 -07:00
  • e47463c14a SF.12: Prefer the quoted form of #include for files relative to the including file apenn-msft 2020-04-02 15:53:36 -07:00
  • c0e536c8f3 update Sergey Zubkov 2020-04-02 11:32:29 -04:00
  • 9928c95f97 typos, wording, links (closes #1529) Sergey Zubkov 2020-04-02 11:26:53 -04:00
  • b4bb11a833 Tweak to close #1588 hsutter 2020-03-26 11:47:45 -07:00
  • 040b141acf Clarify ES.48 enforcement rule for void cast of [[nodiscard]] (#1588) shaneasd 2020-03-27 02:47:19 +08:00
  • 1ca5545ce1 Followup to close #1586 hsutter 2020-03-26 11:43:27 -07:00
  • 6f01c706a8 Actually detect negative sizes by following ES.106 (#1586) Akash Mozumdar 2020-03-26 12:38:07 -06:00
  • d2be4cba57 F.21 remove ; in function definition (#1592) Sylwester Fraczek 2020-03-24 17:22:45 +01:00
  • ab91388efd fix mismatched anchors, closes #1569 (#1581) Sergey Zubkov 2020-03-19 14:34:50 -04:00
  • aea393c85c C.180 example bugfix (#1587) Akash Mozumdar 2020-03-16 06:27:00 -06:00
  • 2f0c2e5874 C.22 Fixes a mistake in the code example not making a deep copy (#1573) Adnn 2020-02-27 20:18:08 +01:00
  • fc383d6641 Updated #1570 hsutter 2020-02-27 11:16:46 -08:00
  • 63ceef65e3 Add SF.12, 3rd try (#1570) Chris Guzak 2020-02-27 11:16:10 -08:00
  • 6388b4d1ea Followup to PR 1564 hsutter 2020-02-27 11:14:04 -08:00
  • ab0255b371 Add and remove hyphens to words that begin with non (#1564) Hyuk Myeong 2020-02-28 04:10:24 +09:00
  • 1429d9ec71 Added example to CP.61: Use an async() to spawn a concurrent task (#1557) roroberto 2020-01-30 20:45:04 +01:00
  • 6e72adc0fe Casting away const isn't undefined behavior, but modifying a constant is (#1509) Herb Sutter 2020-01-30 11:28:19 -08:00
  • 2eb8ea9279 Tweaked #1516 one more time hsutter 2020-01-30 11:27:07 -08:00