mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2025-12-17 20:54:41 +03:00
Fix grammar (#1331)
This commit is contained in:
committed by
Sergey Zubkov
parent
1fd6ce78c2
commit
4797c26d4b
@@ -6901,7 +6901,7 @@ Such as on an ABI (link) boundary.
|
|||||||
};
|
};
|
||||||
|
|
||||||
A user can now use `D1`s and `D2`s interchangeably through the interface provided by `Device`.
|
A user can now use `D1`s and `D2`s interchangeably through the interface provided by `Device`.
|
||||||
Furthermore, we can update `D1` and `D2` in a ways that are not binary compatible with older versions as long as all access goes through `Device`.
|
Furthermore, we can update `D1` and `D2` in ways that are not binary compatible with older versions as long as all access goes through `Device`.
|
||||||
|
|
||||||
##### Enforcement
|
##### Enforcement
|
||||||
|
|
||||||
@@ -7020,8 +7020,8 @@ We want to eliminate two particular classes of errors:
|
|||||||
|
|
||||||
##### Reason
|
##### Reason
|
||||||
|
|
||||||
Implementation details in an interface makes the interface brittle;
|
Implementation details in an interface make the interface brittle;
|
||||||
that is, makes its users vulnerable to having to recompile after changes in the implementation.
|
that is, make its users vulnerable to having to recompile after changes in the implementation.
|
||||||
Data in a base class increases the complexity of implementing the base and can lead to replication of code.
|
Data in a base class increases the complexity of implementing the base and can lead to replication of code.
|
||||||
|
|
||||||
##### Note
|
##### Note
|
||||||
|
|||||||
Reference in New Issue
Block a user