mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2024-03-22 13:30:58 +08:00
parent
2f6ec186fd
commit
286cec8d63
|
@ -11793,7 +11793,7 @@ Here are some (very general) ideas:
|
||||||
* The ideal is "just upgrade everything." That gives the most benefits for the shortest total time.
|
* The ideal is "just upgrade everything." That gives the most benefits for the shortest total time.
|
||||||
In most circumstances, it is also impossible.
|
In most circumstances, it is also impossible.
|
||||||
* We could convert a code base module for module, but any rules that affects interfaces (especially ABIs), such as [use `array_view`](#SS-views), cannot be done on a per-module basis.
|
* We could convert a code base module for module, but any rules that affects interfaces (especially ABIs), such as [use `array_view`](#SS-views), cannot be done on a per-module basis.
|
||||||
* We could convert code "botton up" starting with the rules we estimate will give the greatest benefits and/or the least trouble in a given code base.
|
* We could convert code "bottom up" starting with the rules we estimate will give the greatest benefits and/or the least trouble in a given code base.
|
||||||
* We could start by focusing on the interfaces, e.g., make sure that no resources are lost and no pointer is misused.
|
* We could start by focusing on the interfaces, e.g., make sure that no resources are lost and no pointer is misused.
|
||||||
This would be a set of changes across the whole code base, but would most likely have huge benefits.
|
This would be a set of changes across the whole code base, but would most likely have huge benefits.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user