mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2024-03-22 13:30:58 +08:00
C++20 is more up to date than C++17 (#2085)
This commit is contained in:
parent
c17b4be1e8
commit
1634e898b6
|
@ -241,7 +241,7 @@ All C++ programmers. This includes [programmers who might consider C](#S-cpl).
|
|||
|
||||
## <a name="SS-aims"></a>In.aims: Aims
|
||||
|
||||
The purpose of this document is to help developers to adopt modern C++ (currently C++17) and to achieve a more uniform style across code bases.
|
||||
The purpose of this document is to help developers to adopt modern C++ (currently C++20 and C++17) and to achieve a more uniform style across code bases.
|
||||
|
||||
We do not suffer the delusion that every one of these rules can be effectively applied to every code base. Upgrading old systems is hard. However, we do believe that a program that uses a rule is less error-prone and more maintainable than one that does not. Often, rules also lead to faster/easier initial development.
|
||||
As far as we can tell, these rules lead to code that performs as well or better than older, more conventional techniques; they are meant to follow the zero-overhead principle ("what you don't use, you don't pay for" or "when you use an abstraction mechanism appropriately, you get at least as good performance as if you had handcoded using lower-level language constructs").
|
||||
|
|
Loading…
Reference in New Issue
Block a user