On Friday, 27 December 2019 at 17:26:58 UTC, Robert M. Münch wrote:
...

There are set of range interfaces that can be used to mask range type. Check for https://dlang.org/library/std/range/interfaces/input_range.html for starting point, and for https://dlang.org/library/std/range/interfaces/input_range_object.html for wrapping any range to those interfaces.

Note: resulting wrapped range is an object and has reference semantics, beware of using it directly with other range algorithms as they can consume your range.

Best regards,
Alexandru.
          • Re: What typ... Steven Schveighoffer via Digitalmars-d-learn
            • Re: Wha... H. S. Teoh via Digitalmars-d-learn
            • Re: Wha... Steven Schveighoffer via Digitalmars-d-learn
              • Re:... H. S. Teoh via Digitalmars-d-learn
              • Re:... Steven Schveighoffer via Digitalmars-d-learn
              • Re:... H. S. Teoh via Digitalmars-d-learn
              • Re:... Robert M. Münch via Digitalmars-d-learn
              • Re:... H. S. Teoh via Digitalmars-d-learn
              • Re:... Robert M. Münch via Digitalmars-d-learn
              • Re:... Alex via Digitalmars-d-learn
  • Re: What type does byGrapheme... Alexandru Ermicioi via Digitalmars-d-learn

Reply via email to