Assume I have the following code:
vector<int> list; for(auto& elem:list) { int i = elem; }
Can I find the position of elem in the vector without maintaining a separate iterator?
elem