when working with a for loop such as this
for(int i=0 ; i<collection.size() ; i++)
{
//current index is i and total size is size
}
However I have something like this
for_each(collection.begin(), collection.end(), [&](MyTuple& e)
{
//Total size would be collection.size()
//How would i get the current index ?
});