Geogram  Version 1.9.1-rc
A programming library of geometric algorithms
GEO::const_index_ptr_in_array Class Reference

Encapsulates a const pointer to an element in an index_t array. More...

#include <geogram/basic/range.h>

Public Member Functions

 const_index_ptr_in_array (const index_t *ptr, const index_t *begin, const index_t *end)
 
void operator++ ()
 
bool operator== (const_index_ptr_in_array rhs)
 
bool operator!= (const_index_ptr_in_array rhs)
 
bool operator< (const_index_ptr_in_array rhs)
 
const index_toperator* () const
 
index_t operator- (const_index_ptr_in_array it) const
 
const_index_ptr_in_array operator+ (index_t i) const
 

Detailed Description

Encapsulates a const pointer to an element in an index_t array.

In debug mode, checks bounds on indirection

Definition at line 165 of file range.h.


The documentation for this class was generated from the following file: