std.container.array.array.linear_remove
- multiple declarations
- Function Array.linearRemove
- Function Array.linearRemove
Function Array.linearRemove
Removes all elements belonging to
, which must be a range
obtained originally from this container. The stable version behaves
the same, but guarantees that ranges iterating over the container are
never invalidated.
r
Prototype
Array.Range linearRemove( Array. Range r );
Returns
A range spanning the remaining elements in the container that
initially were right after
.
r
Complexity
Ο(n - m
), where m
is the number of elements in
r
Function Array.linearRemove
Removes all elements belonging to
, which must be a range
obtained originally from this container. The stable version
behaves the same, but guarantees that ranges iterating over the
container are never invalidated.
r
Prototype
Array.Range linearRemove( Array. Range r );
Returns
A range spanning the remaining elements in the container that
initially were right after
.
r
Complexity
Ο(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 ).