Python style generators for c++11