News for hackers. Stuff that matters.
Re:C++ for Games: Performance, Allocations and Data Locality by nandno on Monday May 30, 2016 @05:45AM (#11800495)
Even for std::map gcc generates identical code:

https://godbolt.org/g/C6kooc

https://godbolt.org/g/7RS5PQ

godbolt is a great resource to see just how good modern compilers are.

Re:C++ for Games: Performance, Allocations and Data Locality by SamReidHughes on Monday May 30, 2016 @10:14PM (#11804195)
I wouldn't say "even" -- that's just another type where the iterator is a trivially copyable/destructable object.