What type does byGrapheme() return?

Robert M. Münch robert.muench at saphirion.com
Fri Dec 27 17:26:58 UTC 2019

I love these documentation lines in the D docs:

	auto byGrapheme(Range)(Range range)

How should I know what auto is? Why not write the explicit type so that 
I know what to expect? When declaring a variable as class/struct member 
I can't use auto but need the explicit type...

I used typeof() but that doesn't help a lot:

gText = [Grapheme(53, 0, 0, 72057594037927936, [83, ...., 1)]Result!string

I want to iterate a string byGrapheme so that I can add, delete, change 

Robert M. Münch
smarter | better | faster

More information about the Digitalmars-d-learn mailing list