[Issue 23523] New: Allow User-Defined Implicit Conversions for const/immutable containers
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Nov 30 14:57:31 UTC 2022
https://issues.dlang.org/show_bug.cgi?id=23523
Issue ID: 23523
Summary: Allow User-Defined Implicit Conversions for
const/immutable containers
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P1
Component: dmd
Assignee: nobody at puremagic.com
Reporter: john.michael.hall at gmail.com
>From here (among other places) on the forum
https://forum.dlang.org/post/ooraoriyrftjrpoygtnk@forum.dlang.org
Allow `const type!T` to convert to `type!(const T)`
Similarly, allow `immutable type!T` to convert to `type!(immutable T)`
--
More information about the Digitalmars-d-bugs
mailing list