Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of Boost. Click here to view this page for the latest version.
PrevUpHomeNext
qend(rtree<...> const &)

Returns the query iterator pointing at the end of the query range.

Description

This method returns the iterator which may be used to check if the query has ended.

Synopsis
template<typename Value,
         typename Parameters,
         typename IndexableGetter,
         typename EqualTo,
         typename Allocator>
rtree< Value, Parameters, IndexableGetter, EqualTo, Allocator >::const_query_iterator qend(rtree< Value, Parameters, IndexableGetter, EqualTo, Allocator > const & tree)
Returns

The iterator pointing at the end of the query range.

Example

std::for_each(bgi::qbegin(tree, bgi::nearest(pt, 3)), bgi::qend(tree), do_something());

Iterator category

ForwardIterator

Throws

Nothing

[Warning] Warning

The modification of the rtree may invalidate the iterators.


PrevUpHomeNext