------- Additional Comments From bangerth at dealii dot org 2005-08-09 14:11 ------- I think we should all recuse ourselves from this discussion, since we just keep iterating our same old positions: Yongwei believes that this is a defect in the standard and that gcc should not follow the standard in this respect. Gaby and I believe that gcc should follow the standard, and probably both believe that the standard does not have a defect in this respect. We believe that changing the standard would require a massive change in the language, since it would either a) require the introduction of concepts (so that std::distance can only be called with arguments that match the concept of an iterator; same for all other similar functions), or b) abandoning argument dependent (Koenig) name lookup. Neither sounds like an appealing idea. We believe that users can work around this perceived problem by simply calling ::distance (arg1, arg2) to get to their own implementation, not the one in std:: Since we can't seem to find an agreement, let's just leave it at that. W.
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15910