
"Arkadiy Vertleyb" <vertleyb@hotmail.com> wrote in message news:d0kplu$beq$1@sea.gmane.org... | "Thorsten Ottosen" <nesotto@cs.auc.dk> wrote | | > | Weren't you going to have boost::end() find the user's end via ADL? | > | > no, I was going to find user's adl_end() function via ADL. So this changes | the | > extension protocol | > to overloading adl_end() from overloading end(). | | Then you are back to pre-namespace techniques :-) that would be another consequence; the primary reason is however that it is needed to allow qualified ADL without infinite recursion. | I most likely missed it from the discussion, but what's wrong with allowing | the user to overload boost::end() for her type? he still can, be he probably won't be able to in C++Ox, so we need another meachanism. If there are not templates involved, a function specialization is also possible. -Thorsten