Vector

begin() [Vector template]

Returns a Vector::Iterator or Vector::ConstIterator to iterate the vector. Since the vector provides efficient random access to elements you can also access the items by index using at() and an incrementing or decrementing loop instead of using an iterator.

// PROTOTYPES
Iterator begin();
ConstIterator begin() const;

// EXAMPLE
Vector<int> v({123, 456, 789});
for(auto it = v.begin(); it != v.end(); it++) {
    Log.info("value %d", *it);
}