Add the clever syntax that mimic what you can do in Python to access an element in a list
#include <iostream>
#include <vector>
int main(){
std::vector<int> v {1, // begin()[0] - end()[-4]
2, // begin()[1] - end()[-3]
3, // begin()[2] - end()[-2]
4 // begin()[3] - end()[-1]
};
std::cout << v.end()[-2] << " - " << v.begin()[1] << std::endl; // donne "3 - 2"
}
Edited by GILLES Sebastien