The other iterator types surely don't have the implication that they point to continuous data, but I'm wondering if I can treat RandomAccessIterators as if they point to a buffer of continuous data – i.e. they could be converted to pointers to data.
Is this assumption correct? Can I always safely use &*it
and get a pointer not just to one element, but to a continuous buffer, if it
is a RandomAccessIterator?