Replaced <algorithm> with <functional> where needed Added basic equal/lexicographical compare algorithms to avoid complex <algorithm> include and ADL problems in some compilers
* Fixes #8698 * Implemented SCARY iterators [SVN r85165]
[SVN r79435]
[SVN r56823]