std.container.array.array.remove_any
- multiple declarations
- Function Array.removeAny
- Function Array.removeAny
Function Array.removeAny
Picks one value in an unspecified position in the container, removes it from the container, and returns it. The stable version behaves the same, but guarantees that ranges iterating over the container are never invalidated.
Prototype
T removeAny();
Precondition
Returns
The element removed.
Complexity
Ο(log(n)
).
Function Array.removeAny
Picks one value in the container, removes it from the container, and returns it. The stable version behaves the same, but guarantees that ranges iterating over the container are never invalidated.
Prototype
T removeAny();
Precondition
Returns
The element removed.
Complexity
Ο(log(n)
)
Authors
Steven Schveighoffer, Andrei Alexandrescu
License
Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at ).