moveAt vs opIndex
Jonathan M Davis
jmdavisProg at gmx.com
Fri May 18 12:23:55 PDT 2012
On Friday, May 18, 2012 14:50:31 Jonathan M Davis wrote:
> moveFront is used to move the front of a range for stuff like swap, when
> simply copying elements is too expensive. It's "destructive" in that the
> element isn't there anymore when you do that.
I mean that the value isn't there. The ranges length hasn't been changed or
anything like that. It's almost certainly the element's init value which is
there after the move, but I believe that it depends on what exactly moveX
does.
- Jonathan M Davis
More information about the Digitalmars-d-learn
mailing list