www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - move has{Mobile,Swappable}Elements and move{Front,Back,At} to

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.


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, 

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
Apr 15 2016