iterator vs reverse_iterator

Posted by Miguel Angel on Stack Overflow See other posts from Stack Overflow or by Miguel Angel
Published on 2009-05-20T17:40:11Z Indexed on 2010/03/31 0:13 UTC
Read the original article Hit count: 708

Filed under:
|
|
|

Hi, I'm using std::map to store a lot of elements (pairs of elements) and I have a "little" doubt, what is more efficient to iterate all elements over my std::map, iterator or reverse_iterator?

Thank's.

Salu2.

© Stack Overflow or respective owner

Related posts about c++

Related posts about stdmap