mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2024-03-22 13:30:58 +08:00
Add links to GSL, structure to README.md
This commit is contained in:
parent
9aa9167e6c
commit
11275aa086
|
@ -14335,6 +14335,7 @@ Without these facilities, the guidelines would have to be far more restrictive o
|
|||
|
||||
The Core Guidelines support library is defined in namespace `gsl` and the names may be aliases for standard library or other well-known library names. Using the (compile-time) indirection through the `gsl` namespace allows for experimentation and for local variants of the support facilities.
|
||||
|
||||
The GSL is header only, and can be found at [GSL: Guideline support library](https://github.com/Microsoft/GSL).
|
||||
The support library facilities are designed to be extremely lightweight (zero-overhead) so that they impose no overhead compared to using conventional alternatives.
|
||||
Where desirable, they can be "instrumented" with additional functionality (e.g., checks) for tasks such as debugging.
|
||||
|
||||
|
|
16
README.md
16
README.md
|
@ -1,12 +1,20 @@
|
|||
#[C++ Core Guidelines](http://isocpp.github.io/CppCoreGuidelines)
|
||||
#[C++ Core Guidelines](http://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines)
|
||||
|
||||
>"Within C++ is a smaller, simpler, safer language struggling to get out."
|
||||
>-- <cite>Bjarne Stroustrup</cite>
|
||||
|
||||
The C++ Core Guidelines are a collaborative effort led by Bjarne Stroustrup, much like the C++ language itself. They are the result of many
|
||||
The [C++ Core Guidelines](CppCoreGuidelines.md) are a collaborative effort led by Bjarne Stroustrup, much like the C++ language itself. They are the result of many
|
||||
person-years of discussion and design across a number of organizations. Their design encourages general applicability and broad adoption but
|
||||
they can be freely copied and modified to meet your organization's needs.
|
||||
|
||||
## Getting started
|
||||
|
||||
The guidelines themselves are found at [CppCoreGuidelines](http://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines).
|
||||
|
||||
Many of the guidelines make use of the header only [GSL: Guideline support library](https://github.com/Microsoft/GSL)
|
||||
|
||||
## Background and scope
|
||||
|
||||
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
|
||||
words, what would you like your code to look like in 5 years' time, given that you can start now? In 10 years' time?
|
||||
|
||||
|
@ -32,5 +40,7 @@ We do not expect you to memorize all the rules before trying to write code.
|
|||
|
||||
The rules are meant for gradual introduction into a code base. We plan to build tools for that and hope others will too.
|
||||
|
||||
## Contributions and LICENSE
|
||||
|
||||
Comments and suggestions for improvements are most welcome. We plan to modify and extend this document as our understanding improves and the
|
||||
language and the set of available libraries improve.
|
||||
language and the set of available libraries improve. More details are found at [CONTRIBUTING](./CONTRIBUTING.md) and [LICENSE](./LICENSE) .
|
||||
|
|
Loading…
Reference in New Issue
Block a user