Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Invalid iterator ranges can result from comparison functions that return true for equal values. See ARR40-CPP. Use a Valid Ordering Rule and Meyers 01.

Non-Compliant Code Example

...

Wiki Markup
\[[Sutter 05|AA. References#SutterBibliography#Sutter 05]\] Item 83: Use a checked STL implementation.
\[[Meyers 01|AA. References#MeyersBibliography#Meyers 01]\] Item 21: Always have comparison functions return false for equal values.
\[[ISO/IEC 14882-2003|AA. References#ISOBibliography#ISO/IEC 14882-2003]\] Section 24: Iterators Library.

...