j
k
j a
j l
map<int,int> m; ... FOREACH (map<int,int>::value_type i, m) {...} // compiles map<int,int>::value_type i; FOREACH (i, m) {...} // COMPILE ERROR
Why not map<int,int>::value_type& i; FOREACH (i, m) {...}
Back to the thread
Back to the list