Motive behind !empty() with front() instead of Optional front()

Per Nordlöw per.nordlow at gmail.com
Thu Mar 25 22:29:38 UTC 2021


On Thursday, 25 March 2021 at 09:35:40 UTC, deadalnix wrote:
> The big question is, what if I want a range of Optional!T ?

That might lead to confusing code, yes. Aliases or subtypes could 
come of use in such a situation. Better ask the Rust forums...


More information about the Digitalmars-d mailing list