Deciding one member of iteration chain at runtime
Chris Piker
chris at hoopjump.com
Fri Feb 17 18:14:07 UTC 2023
On Friday, 17 February 2023 at 17:44:20 UTC, H. S. Teoh wrote:
> Here's an actual function taken from my own code, that returns
> a different range type depending on a runtime condition, maybe
> this will help you?
Thanks, this was helpful.
I keep forgetting to expand my horizons on what can be returned
from an auto function. I'm still unlearning C & Java.
Cheers,
More information about the Digitalmars-d-learn
mailing list