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

qend()
PrevUpHomeNext

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
const_query_iterator qend()
Modifier(s)

const

Returns

The iterator pointing at the end of the query range.

Example

for ( Rtree::const_query_iterator it = tree.qbegin(bgi::nearest(pt, 10000)) ;
      it != tree.qend() ; ++it )
{
    // do something with value
    if ( has_enough_nearest_values() )
        break;
}

Throws

Nothing


PrevUpHomeNext