49 Commits

Author SHA1 Message Date
Alec Breton
6b84e8dd7b Update 03-Style.md 2023-07-25 15:10:44 -04:00
Joseph T Lyons
f58462f198 Remove trailing whitespace 2021-01-16 18:10:50 -05:00
Eric Curtin
f4be721652 rmf.io is dead 2019-11-03 14:17:38 +00:00
Jason Turner
ff5a566fc3 Merge branch 'master' into patch-3 2019-06-06 14:38:56 -05:00
Erik Rigtorp
a8db0f19ce Update 03-Style.md 2019-05-24 17:33:57 -05:00
Erik Rigtorp
1122346247 Add clang-format instructions for CLion 2019-05-24 17:31:33 -05:00
Jason Turner
57a62b8f6b Add notes on using clang-format for style 2017-12-10 15:26:36 -07:00
Richel Bilderbeek
89be9bb3c3 Simple typo 2017-06-23 14:06:25 +02:00
Jason Turner
418251195f Merge pull request #69 from olivif/olivif/initlist
Clarifying performance in POD vs other in initializer lists.
2017-06-22 13:49:17 -06:00
Olivia
e3fec18d31 Adding comment about is_trivially_default_constructible 2017-06-18 12:53:53 +02:00
Olivia
47da1a23b7 Clarify narrowing between = and {} 2017-05-31 02:09:16 +02:00
Olivia
f894e14e12 Clarifying performance in POD vs other in initializer lists. 2017-05-31 01:53:14 +02:00
Jason Turner
2bbcaf6eb6 Merge pull request #65 from offa/broken_link
Link to rule of zero article fixed
2017-03-07 15:23:05 -08:00
Arun Sah
743c4ebbcb Note on copy assignment 2017-02-25 07:35:23 -08:00
offa
e3e136e170 Link to rule of zero article fixed. 2017-02-24 14:45:05 +01:00
Arun Saha
9efc2a70dc const member variable 2017-02-18 10:11:46 -08:00
Arun Saha
eea3d25f0c formatting fix 2017-02-18 08:23:28 -08:00
Jason Turner
6e95809dcb Update 03-Style.md
Closes #56
2016-10-10 08:10:51 -06:00
ekse
2da51324fa Updated a link to new site
The content has moved to a new site and the currently linked version has code formatting issues.
2016-09-05 17:05:07 -04:00
Jason Turner
3bc2c04819 Add note about underflow
Closes #47
2016-05-25 15:50:11 -06:00
Jason Turner
75e12df808 Update 03-Style.md 2016-05-25 15:32:23 -06:00
Jason Turner
4520dcd62a Update 03-Style.md 2016-05-24 22:28:48 -06:00
Jason Turner
01ab3b9fa5 Add example for explicit conversion operators 2016-05-24 22:20:03 -06:00
Steve Meredith
a3db2e57dc Edit style section for grammar and clarity
I added a few missing punctuations and cleaned up the wording in a few places to
make it a little clearer.
I fixed the name of the constructor in a couple of the code examples.
2015-10-26 09:02:46 -07:00
Jason Turner
d1064a60b8 Comment on the function parameter naming. 2015-08-21 19:02:09 -06:00
vladon
e1b8b4c9f2 best idea is to use brace initialization 2015-08-17 20:06:58 +03:00
Jason Turner
fb744a1681 Update 03-Style.md 2015-08-04 14:56:57 -06:00
rob100
83de05d9cd Several minor improvements
Fixed some typos, added some links and some further minor improvements
2015-08-04 14:57:28 +02:00
Jason Turner
6b8144baea Add note about implicit conversions 2015-07-27 13:24:55 -06:00
Daniel Albuschat
e58e915da7 Filled out "Use Operator Overloads Judiciously"
Added some thoughts and some high ranked (and good) links to web
resources
2015-07-22 23:29:55 +02:00
Jason Turner
070d3e7d39 Add a note about the rule of 0 2015-07-17 18:19:52 -06:00
Jason Turner
5c7340061d Add a new section on maintainability 2015-06-08 10:44:17 -06:00
Jason Turner
e0ce0f9183 Update 03-Style.md
Make additional note about `t_` and `m_` suggested prefixes.

Closes #11
2015-06-02 08:25:55 -06:00
Timothy Lyanguzov
3e67b67c3e Fix type for PI constant 2015-05-31 13:48:43 +12:00
Alex Swindler
21a6d5aa88 Small improvements, cleanup 2015-05-24 21:32:03 -06:00
Jason Turner
803a7d2a99 Merge pull request #10 from JeremyLWright/master
Miscellaneous spelling
2015-05-21 08:26:29 -06:00
Jason Turner
665e7a3cc4 Describe reasoning behind m_ and t_ prefixes 2015-05-21 08:25:45 -06:00
Jeremy Wright
52bf950699 Update 03-Style.md 2015-05-20 21:12:02 -07:00
Boris Rasin
7f79f38462 Describe C++ Standard Library style 2015-05-20 11:55:50 +03:00
Jason Turner
e431705ccb Update 03-Style.md
Correct spelling error in include guard
2015-05-18 10:26:01 -06:00
Ralph Tandetzky
a49760dde6 Gave explanation for 'assert' and use of templates. 2015-03-07 20:46:00 +01:00
Ralph Tandetzky
0a15944665 Added C++11 guideline for member initialization. 2015-03-07 20:39:47 +01:00
Ralph Tandetzky
2a7773fcbb Improved explanation for "Avoid Compiler Macros". 2015-03-07 20:32:33 +01:00
Ralph Tandetzky
285da913f6 Fixed typo: "memeber" -> "member" 2015-03-07 20:28:20 +01:00
Ralph Tandetzky
e01358c20b Inserted reasonable line length and gave reasons.
Gave some reasons behind the guideline to use a reasonable line length.
2015-03-07 20:26:03 +01:00
Ralph Tandetzky
2e55a671e1 Added "#pragma once" idea to include guards guideline. 2015-03-07 20:17:48 +01:00
Ralph Tandetzky
bece9883e1 Changed "Never use 'using' In a Header File" guideline.
Changed it to "Never use 'using namespace' ...". Also added some more explanation.
2015-03-07 20:14:23 +01:00
Jason Turner
811ea616a0 Update 03-Style.md 2014-05-25 14:14:24 -06:00
Jason Turner
1577bec869 Shift chapters around to allow for TOC 2014-05-24 11:37:53 -06:00