[Issue 17934] [scope] scopeness entrypoint for unique/ref-counted missing
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed May 31 10:28:32 UTC 2023
https://issues.dlang.org/show_bug.cgi?id=17934
--- Comment #12 from Nick Treleaven <nick at geany.org> ---
If you define `front` as `return`, *not* `return scope`:
Elem front() @safe return
You get an error for:
elem = l.front;
I think that fixes this issue, though that feature may need documenting.
--
More information about the Digitalmars-d-bugs
mailing list