Pythonic ranges for C++