CGAL 5.3 - STL Extensions for CGAL
Index Concept Reference

Definition

The concept Index is a refinement of Descriptor which must be convertible from and to std::size_t, and must be incrementable and decrementable.

Refines:
Descriptor
Has Models:

int

size_t

Notation

I
Object of type Index.
n
Object of type std::size_t.

Valid Expressions

Expression Returns Description
Index I(n) - Creates an index I from a std::size_t.
(std::size_t)I std::size_t Converts I into a std::size_t.
++I Index& Pre-increments I.
I++ Index Post-increments I.
--I Index& Pre-decrements I.
I-- Index Post-decrements I.