What type does byGrapheme() return?

Alexandru Ermicioi alexandru.ermicioi at gmail.com
Mon Dec 30 08:17:13 UTC 2019


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.


More information about the Digitalmars-d-learn mailing list