what does BOOST_NO_ARGUMENT_DEPENDENT_LOOKUP
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? 2) What will be the other impacts if I do define it in my code globally besides the intrusive_ptr_test? Thanks in advance! Kevin Lee ----------------------------------------- This message and its attachments may contain privileged and confidential information. If you are not the intended recipient(s), you are prohibited from printing, forwarding, saving or copying this email. If you have received this e-mail in error, please immediately notify the sender and delete this e-mail and its attachments from your computer.
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.
participants (2)
-
John Maddock
-
Kevin Lee