I have a std::vector v; (initialized). How can I use the range-for loop for accessing all elements except the first one (on index zero). For
std::vector v;
Until ranges make it into the standard library, you won't get any better than a vanilla for loop in plain C++ :
for(auto i = begin(v) + 1, e = end(v); i !=e; ++i) // Do something with *i