Re:Why should I have written ZeroMQ in C, not C++ (part II)
by eklitzke on Thursday August 30, 2012 @03:31PM
(#4456315)
The idiomatic way to access and manipulate STL data structures is through iterators. In this case, an iterator for a std::list is basically a pointer/reference to the person container in the article, so if you're referring to the list objects via their iterators there's no need for O(n) list traversal.
[ Parent
| on HN ]
There are no comments on this comment yet.