does carbon support type erasure for Comparable? #4535
Unanswered
fililili
asked this question in
Getting started
Replies: 1 comment
-
Yes, what you're describing is what Carbon calls checked generics. See https://github.com/carbon-language/carbon-lang/tree/trunk/docs/design/generics for the design. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
hi, all. I found Swift supports such usage for type erasure. It's interesting for me and I am looking for other language that supports same usage. So, Is such usage supported by carbon, too? thanks.
Beta Was this translation helpful? Give feedback.
All reactions