You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -11,24 +11,24 @@ they can be freely copied and modified to meet your organization's needs.
11
11
12
12
The guidelines themselves are found at [CppCoreGuidelines](CppCoreGuidelines.md). There is also [a version formatted for browsing] (http://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines) that is manually integrated and thus slightly older than the version in the master branch.
13
13
14
-
Many of the guidelines make use of the headeronly Guideline Support Library. One implementation is available at [GSL: Guideline Support Library](https://github.com/Microsoft/GSL).
14
+
Many of the guidelines make use of the header-only Guideline Support Library. One implementation is available at [GSL: Guideline Support Library](https://github.com/Microsoft/GSL).
15
15
16
16
## Background and scope
17
17
18
18
The aim of the guidelines is to help people to use modern C++ effectively. By "modern C++" we mean C++11 and C++14 (and soon C++17). In other
19
19
words, what would you like your code to look like in 5 years' time, given that you can start now? In 10 years' time?
20
20
21
21
The guidelines are focused on relatively higher-level issues, such as interfaces, resource management, memory management, and concurrency. Such
22
-
rules affect application architecture and library design. Following the rules will lead to code that is statically typesafe, has no resource
23
-
leaks, and catches many more programming logic errors than is common in code today. And it will run fast - you can afford to do things right.
22
+
rules affect application architecture and library design. Following the rules will lead to code that is statically type-safe, has no resource
23
+
leaks, and catches many more programming logic errors than is common in code today. And it will run fast -- you can afford to do things right.
24
24
25
25
We are less concerned with low-level issues, such as naming conventions and indentation style. However, no topic that can help a programmer is
26
26
out of bounds.
27
27
28
-
Our initial set of rules emphasize safety (of various forms) and simplicity. They may very well be too strict. We expect to have to introduce
28
+
Our initial set of rules emphasizes safety (of various forms) and simplicity. They may very well be too strict. We expect to have to introduce
29
29
more exceptions to better accommodate real-world needs. We also need more rules.
30
30
31
-
You will find some of the rules contrary to your expectations or even contrary to your experience. If we haven't suggested you change your
31
+
You will find some of the rules contrary to your expectations or even contrary to your experience. If we haven't suggested that you change your
32
32
coding style in any way, we have failed! Please try to verify or disprove rules! In particular, we'd really like to have some of our rules
0 commit comments