Interface as base class use case supported (#8002)

Previously forgot to update the "Use cases" section of classes.md to
reflect `virtual` being added.
This commit is contained in:
josh11b authored and GitHub committed 2026-10-19 16:42:32 +00:00
1 parent 3056e7e318
commit f21c62524e
1 file changed
+2 -2
+2 -2
View File
@@ -121,8 +121,8 @@ constant value.
The use cases for classes include both cases motivated by C++ interop, and cases
that we expect to be included in idiomatic Carbon-only code.
**This design currently only attempts to address the "data classes" and
"encapsulated types" use cases.** Addressing the "interface as base class",
**This design currently only attempts to address the "data classes",
"encapsulated types", and "interface as base class" use cases.** Addressing the
"interop with C++ multiple inheritance" and "mixin" use cases is future work.
### Data classes