You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
already provide everything needed, we just need to make a parameterized
234
234
implementation of them:
235
235
@@ -328,12 +328,8 @@ This application of `extend api` and binding was first described in
328
328
329
329
A class could extend the API of a class it implicitly converts to. For example,
330
330
imagine we have a class representing an integer in a restricted range that can
331
-
implicitly convert to an integer value.
332
-
333
-
<!--FIXME: add text once #3720 is merged:
334
-
> , see
335
-
> [inheritance and other implicit conversions from proposal #3720](p3720.md#inheritance-and-other-implicit-conversions).
336
-
-->
331
+
implicitly convert to an integer value, see
332
+
[inheritance and other implicit conversions from proposal #3720](p3720.md#inheritance-and-other-implicit-conversions).
337
333
338
334
```carbon
339
335
class I32InRange(Low:! i32, High:! i32) {
@@ -575,10 +571,8 @@ class D {
575
571
}
576
572
```
577
573
578
-
<!--FIXME: add text once #3720 is merged:
579
574
Note that
580
-
[implicit conversions are sufficient for binding to work, no additional binding implementations are needed](p3720.md#inheritance-and-other-implicit-conversions).
581
-
-->
575
+
[implicit conversions are sufficient for member binding to work, no additional member binding implementations are needed](p3720.md#inheritance-and-other-implicit-conversions).
582
576
583
577
**Future work:** Currently the Carbon design doesn't include base-to-derived
584
578
conversions. When they are added, it would be good to also have a way to model
0 commit comments