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.