std.uni.CodepointSet from range of pairs of integers

Carl Sturtivant sturtivant at gmail.com
Mon Feb 19 04:33:51 UTC 2024


On Monday, 19 February 2024 at 01:42:03 UTC, Richard (Rikki) 
Andrew Cattermole wrote:
> I can understand ``pure``.
>
> https://github.com/dlang/phobos/blob/master/std/uni/package.d#L2075
>
> It is literally on the constructor.
>
> Now @safe I don't know. My best guess would be for some reason 
> the constructor is getting inferred as it (templates get 
> inferred).

What about needing a forward range, not just an input range? It 
would seem it just needs to iterate through a sequence of pairs 
of integers.


More information about the Digitalmars-d-learn mailing list