[bind10-dev] what to do for MSVC 4512 warnings?

JINMEI Tatuya / 神明達哉 jinmei at isc.org
Thu Jul 12 19:13:29 UTC 2012


At Mon, 02 Jul 2012 12:07:37 +0000,
Francis Dupont <fdupont at isc.org> wrote:

> > That would probably work.
> > 
> > > typedef nonassignable_::nonassignable nonassignable;
> > 
> > Just to make sure, what is the trick with the namespace for?
> 
> => I copied it from /usr/include/boost/noncopyable.hpp. The comment
> (by by Dave Abrahams) says 'protection from unintended ADL'
> (ADL seems to stand for Argument-Dependent Lookup).
> BTW it seems Boost people don't believe too much in compilers too (:-).

> PS: can I go? I create a ticket, add the file and in a branch update
> all the declarations which show the problem??

From a quick read of the thread the proposed idea seems to make
sense.  Technically it may be redundant, but I personally think it's a
good practice to make the intent more explicit if it can be done by a
simple change like this one.

---
JINMEI, Tatuya


More information about the bind10-dev mailing list