...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 from the container.
Remove a value from the container. In contrast to the
or std::set
method this function removes
only one value from the container.
std::map erase()
It calls rtree::remove(value_type
const&)
.
template<
typename Value
,
typename Parameters
,
typename IndexableGetter
,
typename EqualTo
,
typename Allocator
>
rtree< Value, Parameters, IndexableGetter, EqualTo, Allocator >::size_type
remove
(
rtree< Value, Parameters, IndexableGetter, EqualTo, Allocator > &
tree
,
Value const &
v
)
Type |
Name |
Description |
---|---|---|
|
|
The spatial index. |
|
|
The value which will be removed from the index. |
1 if value was removed, 0 otherwise.