The adaptor
CGAL_N_step_adaptor<I,int N,Ref,Ptr,Val,Dst,Ctg> changes
the step width of the iterator or circulator class I to
. It is itself an iterator or circulator respectively.
The value type is Val and the distance type is Dst. The
iterator category is Ctg. For a mutable iterator, the parameters
Ref and Ptr must be set to Val& and
Val* respectively. For a non-mutable iterator the types must be
set to const Val& and const Val* respectively. With
iterator traits classes Val, Dst and Ctg will be
superfluous.
The behavior is undefined if the adaptor is used on a range
[) where is not a multiple of
.
The adaptor conforms to the iterator or circulator
category stated with the parameter Ctg. Precondition:
The iterator or circulator must be at least of this
category.
Implementation
For compiler with difficulties with implicit
instantiation (the CGAL_CFG_NO_LAZY_INSTANTIATION flag) the
adaptor is predefined to work only for bidirectional iterators.