...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Returns the iterator pointing at the begin of the rtree values range.
This method returns the iterator which may be used to iterate over all values stored in the rtree.
template<
typename Value
,
typename Parameters
,
typename IndexableGetter
,
typename EqualTo
,
typename Allocator
>
rtree< Value, Parameters, IndexableGetter, EqualTo, Allocator >::const_iterator
begin
(
rtree< Value, Parameters, IndexableGetter, EqualTo, Allocator > const &
tree
)
The iterator pointing at the begin of the range.
std::for_each(bgi::begin(tree), bgi::end(tree), do_something()); // the same as std::for_each(boost::begin(tree), boost::end(tree), do_something());
ForwardIterator
If allocation throws.
Warning | |
---|---|
The modification of the rtree may invalidate the iterators. |