|
@@ -217,7 +217,7 @@ usability, consistency, or expressivity gains.
|
|
|
|
|
|
|
|
Carbon [packages](/docs/design/code_and_name_organization/#packages) are
|
|
Carbon [packages](/docs/design/code_and_name_organization/#packages) are
|
|
|
designed to ensure all declared names belong to exactly one package and the
|
|
designed to ensure all declared names belong to exactly one package and the
|
|
|
-compiler can enforcement Carbon's equivalent
|
|
|
|
|
|
|
+compiler can enforce Carbon's equivalent
|
|
|
[one-definition rule (ODR)](https://en.wikipedia.org/wiki/One_Definition_Rule).
|
|
[one-definition rule (ODR)](https://en.wikipedia.org/wiki/One_Definition_Rule).
|
|
|
This avoids an issue in C++ where the ODR is not reliably checked by the
|
|
This avoids an issue in C++ where the ODR is not reliably checked by the
|
|
|
compiler, which can leave the correctness of programs dependent on both distant
|
|
compiler, which can leave the correctness of programs dependent on both distant
|