finish function for output ranges

Walter Bright newshound2 at digitalmars.com
Sun Aug 12 03:20:49 PDT 2012


On 8/12/2012 1:36 AM, Johannes Pfau wrote:
> Probably we should distinguish between finish functions which destroy
> the internal state and peek functions which do not modify the internal
> state.

I worry about too many parts to an interface.

A peek function needs a really strong use case to justify it.


More information about the Digitalmars-d mailing list