[Issue 15972] range of chars doesn't work with joiner with literal delimiters

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Mar 31 19:11:56 UTC 2018


https://issues.dlang.org/show_bug.cgi?id=15972

Seb <greensunny12 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |greensunny12 at gmail.com

--- Comment #2 from Seb <greensunny12 at gmail.com> ---

> What I have in mind:
> 1. Move autodecoding algorithms to undead.
> 2. Remove autodecoding from algorithms.
> 3. Have dfix rewrite std.algorithm to undead.algorithm

How would that work in practice?

std.algorithm is highly templated and the big issue are the auto-decoding
primitives in std.range.
We can't remove them easily nor even version them out (see e.g.
https://github.com/dlang/phobos/pull/5513) and no one seems to have found a
good transition path so far.

For now .byCodeUnit is the only available workaround and maybe eventually
RCString gets a thing.

--


More information about the Digitalmars-d-bugs mailing list