I wish all qualifiers were revisited with an eye for simplification
Alexandru Ermicioi
alexandru.ermicioi at gmail.com
Mon Aug 3 08:16:58 UTC 2020
On Monday, 3 August 2020 at 03:14:15 UTC, RazvanN wrote:
>
> Maybe a library implementation of `TailMutable(T) if (is(T ==
> immutable) || is(T == const))` for reference types can fix this
> without causing breakage and leaving immutable/const
> transitivity intact.
There is already Rebindable structure for that.
More information about the Digitalmars-d
mailing list