mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-09-24 21:00:13 +01:00
This is already allowed as a builtin conversion, but the impl allows the generics system to know about it, so that conversions like `Optional(T*)` to `Optional(const T*)` are allowed. This in turn allows a C++ `T*` to be implicitly converted to a C++ `const T*` in Carbon code.