Boost logo

Boost Users :

From: Thorsten Ottosen (nesotto_at_[hidden])
Date: 2005-03-08 13:58:47


"Arkadiy Vertleyb" <vertleyb_at_[hidden]> wrote in message
news:d0kplu$beq$1_at_sea.gmane.org...
| "Thorsten Ottosen" <nesotto_at_[hidden]> 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


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net