[Issue 23238] Cannot write a const Nullable(T, T nullValue)

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Aug 25 21:08:36 UTC 2022


https://issues.dlang.org/show_bug.cgi?id=23238

wolframw <wolframw at protonmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |wolframw at protonmail.com

--- Comment #1 from wolframw <wolframw at protonmail.com> ---
Same problem for NullableRef:

import std.stdio, std.typecons;
void main() {
    const NullableRef!(ulong) x = new ulong(1);
    writeln(x);
}

--


More information about the Digitalmars-d-bugs mailing list