...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Remove a value corresponding to an object convertible to it or a range of values from the container.
Remove a value corresponding to an object convertible to it or a range
of values from the container. In contrast to the
or std::set
method it removes values
equal to these passed as a range. Furthermore this method removes only
one value for each one passed in the range, not all equal values.
std::map erase()
It calls rtree::remove(ConvertibleOrRange
const&)
.
template<
typename Value
,
typename Parameters
,
typename IndexableGetter
,
typename EqualTo
,
typename Allocator
,
typename ConvertibleOrRange
>
rtree< Value, Parameters, IndexableGetter, EqualTo, Allocator >::size_type
remove
(
rtree< Value, Parameters, IndexableGetter, EqualTo, Allocator > &
tree
,
ConvertibleOrRange const &
conv_or_rng
)
Type |
Name |
Description |
---|---|---|
|
|
The spatial index. |
|
|
The object of type convertible to value_type or the range of values. |
The number of removed values.