[Issue 11307] Make const(T).init and immutable(T).init lvalues

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sat Apr 26 13:56:05 PDT 2014


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

--- Comment #2 from monarchdodra at gmail.com ---
(In reply to Andrej Mitrovic from comment #1)
> Does lvalueOf help with this?

Not really. All `lvalueOf` does is provide an "external" lvalue you can test
for your traits/contraints, but it doesn't actually provide an actual instance
you can read or use.

--


More information about the Digitalmars-d-bugs mailing list