Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2003-02-25 10:00:35

Beman Dawes <bdawes_at_[hidden]> writes:

> At 08:34 AM 2/25/2003, David Abrahams wrote:
> >Beman Dawes <bdawes_at_[hidden]> writes:
> >
> >> Go ahead and make the change, unless someone voices an objection.
> >>
> >> I'm wondering how may other places we have similar problems?
> >
> >Now you know why I've been making such a stink about insidious ADL!
> >
> >> Is there any programatic way to detect them?
> >
> >I've been trying to get compiler vendors to add a warning for names to
> >which ADL applies but which are found in the local namespace. This,
> >at least, would give us a way to detect likely candidates. No takers
> >yet :(.
> Hum, it looks like Microsoft took you up on it.

Well, it was MS I was haranguing most-loudly about it.

> See the shared_ptr_test warning on the VC++ 7.1 beta regression
> test.

I've seen that. It's a different warning IIUC. Doesn't it go off
whether or not you find the overload in the same namespace the search
started from?

Dave Abrahams
Boost Consulting

Boost list run by bdawes at, gregod at, cpdaniel at, john at