Parameters
range | an input range |
Returns
An input range with the lazily cached values of range
Similar to cache, but lazily evaluates the elements. Unlike cache, this function does not eagerly evaluate the front of the range until it's explicitly requested.
This can be useful when evaluation of range elements has side effects that should be delayed until actually needed.
range | an input range |