mirror of
https://github.com/dlang/phobos.git
synced 2025-05-05 01:20:40 +03:00
clean API for moveAt
This commit is contained in:
parent
6fa02dabcf
commit
3884b9d13a
1 changed files with 1 additions and 1 deletions
|
@ -1943,7 +1943,7 @@ ElementType!R moveBack(R)(R r)
|
||||||
r.front) in a destroyable state that does not allocate any resources
|
r.front) in a destroyable state that does not allocate any resources
|
||||||
(usually equal to its $(D .init) value).
|
(usually equal to its $(D .init) value).
|
||||||
*/
|
*/
|
||||||
ElementType!R moveAt(R, I)(R r, I i) if (isIntegral!I)
|
ElementType!R moveAt(R)(R r, size_t i)
|
||||||
{
|
{
|
||||||
static if (is(typeof(&r.moveAt))) {
|
static if (is(typeof(&r.moveAt))) {
|
||||||
return r.moveAt(i);
|
return r.moveAt(i);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue