Operation overloading made me thinking about this idea: (I know range based loops are supported in C++11) I would like to make a range based loop something like the one in python, in C++ (Only for the sake of experiencing):
for i in range(4):
Is it possible with c++ code it self? if not what must one do to accomplish that?
Aucun commentaire:
Enregistrer un commentaire