Hi all,

since this has been pending for more than one week without a lot of interest and it's a larger deprecation, I thought I try to ping people here.

#4170 [1] is a proposal to move moveAt, moveFront and moveBack to std.algorithm.mutation. It also moves the two templates hasMobileElements and hasSwappableElements. The reasoning is that std.algorithm.mutation "contains generic mutation algorithms" and already has move, moveAll, moveSome, swap, swapRanges. Since #4127 [2] swapAt is there too (=publicly documented) The template hasSwappableElements already only calls swap from std.algorithm.mutation.

You can find more details at [1].

The current deprecation time is two years, which imho is a bit long, but I haven't heard a word from any maintainer on Phobos's current deprecation policy.

[1] https://github.com/D-Programming-Language/phobos/pull/4170
[2] https://github.com/D-Programming-Language/phobos/pull/4127

Reply via email to