Geogram Version 1.9.6-rc
A programming library of geometric algorithms
|
C++-20 like helpers for manipulating ranges of integers. More...
#include <geogram/basic/numeric.h>
#include <geogram/basic/memory.h>
#include <geogram/basic/assert.h>
#include <geogram/basic/argused.h>
Go to the source code of this file.
Classes | |
class | GEO::index_as_iterator |
Wraps an integer to be used with the range-based for construct. More... | |
class | GEO::index_range |
A generic index_range bounded by two "non-iterators". More... | |
class | GEO::const_index_ptr_in_array |
Encapsulates a const pointer to an element in an index_t array. More... | |
class | GEO::index_ptr_in_array |
Encapsulates a pointer to an element in an index_t array. More... | |
class | GEO::index_ptr_range |
class | GEO::const_index_ptr_range |
class | GEO::transformed_iterator< IT, XFORM > |
An iterator that applies a user-defined function when deferenced. More... | |
class | GEO::transformed_iterator_ref< IT, XFORM > |
An iterator that applies a user-defined function when deferenced. More... | |
class | GEO::transformed_range< RANGE, XFORM > |
A range composed with a user-defined function. More... | |
class | GEO::transformed_range_ref< RANGE, XFORM > |
A range composed with a user-defined function. More... | |
Namespaces | |
namespace | GEO |
Global Vorpaline namespace. | |
Functions | |
template<class RANGE , typename XFORM > | |
auto | GEO::transform_range (const RANGE &range, XFORM xform) |
Creates a range that applies a user-defined function to each element when accessed. | |
template<class RANGE , typename XFORM > | |
auto | GEO::transform_range_ref (const RANGE &range, XFORM xform) |
Creates a range that applies a user-defined function to each element when accessed. | |
C++-20 like helpers for manipulating ranges of integers.
Definition in file range.h.