CGAL 4.14 - STL Extensions for CGAL
|
#include <CGAL/iterator.h>
The class Random_access_value_adaptor
provides a random access for data structures.
It is derived from Random_access_adaptor<IC>
. Instead of returning iterators from the operator[]
methods, it returns the dereferenced value of the iterator. The iterator or circulator of the data structure are of type IC
. Their value type is T
.
CGAL::Inverse_index<IC>
CGAL::Random_access_adaptor<IC>
Operations | |
Creation and operations see | |
T & | operator[] (size_type n) |
returns a reference to the n -th item. More... | |
T& CGAL::Random_access_value_adaptor< IC, T >::operator[] | ( | size_type | n | ) |
returns a reference to the n
-th item.
n <
number of items in the data-structure.