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 an older version of Boost and was released in 2022. The current version is 1.90.0.
Returns the query iterator pointing at the begin of the query range.
This method returns the iterator which may be used to perform iterative queries. For the information about the predicates which may be passed to this method see query().
template<typename Value,typename Parameters,typename IndexableGetter,typename EqualTo,typename Allocator,typename Predicates>rtree< Value, Parameters, IndexableGetter, EqualTo, Allocator >::const_query_iteratorqbegin(rtree< Value, Parameters, IndexableGetter, EqualTo, Allocator > const &tree,Predicates const &predicates)
|
Type |
Name |
Description |
|---|---|---|
|
|
|
The rtree. |
|
|
|
Predicates. |
The iterator pointing at the begin of the query range.
std::for_each(bgi::qbegin(tree, bgi::nearest(pt, 3)), bgi::qend(tree), do_something());
ForwardIterator
If predicates copy throws. If allocation throws.
![]() |
Warning |
|---|---|
The modification of the rtree may invalidate the iterators. |