It looks like that in STLPort std::vector::iterator is of a non-class type, and ADL does look for these functions in std::. LGTM. http://llvm-reviews.chandlerc.com/D560