...
Compliant Solution 1
References
\[Sutter 05\] Item 83 : Use a checked STL implementation.unmigrated-wiki-markupWiki Markup - \[Meyers 01\] Item 21: Always have comparison functions return false for equal values.
- ISO/IEC 14882-2003. Programming Languages — C++, Second Edition, 2003. Section 24: Iterators Library.