mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-10 12:28:25 +00:00
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:
1 parent
3056e7e318
commit
f21c62524e
1 file changed
+2
-2
@@ -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
|
||||
|
||||
Reference in new issue
Block a user