Boost logo

Boost Users :

From: John Maddock (john_at_[hidden])
Date: 2005-01-25 05:49:50


>I need some expert's opinion on this:
>
> When I try to use the boost 1.32.0 in my work env, if i don't define this
> flag BOOST_NO_ARGUMENT_DEPENDENT_LOOKUP, the
> lib/smart_ptr/test/intrusive_ptr_test.cpp fails to compile. if i do define
> it, my compiler would be happy (HP aCC) on intrusive_ptr_test. My
> questions are:
>
> 1) What is the BOOST_NO_ARGUMENT_DEPENDENT_LOOKUP?

It signifies that the compiler does not support argument dependent lookup of
unqualified names, for example:

foo(bar);

will look for a definition of "foo" in the same namespace in which the type
of bar is defined.

> 2) What will be the other impacts if I do define it in my code globally
> besides the intrusive_ptr_test?

It will activate various workarounds inside Boost code, and possibly disable
a few features here and there as well; on the whole though you shouldn't
notice any real difference, just be aware that you are using a compiler
known to be rather broken.

John.


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