
12 Apr
2004
12 Apr
'04
12:06 p.m.
Check it out, I can't get the following program to compile, even with -Qoption,c,--arg_dep_lookup: namespace ns1 { class X{}; int swap(X&, X&); } namespace ns2 { template <class T> void swap(T&, T&); } int main() { ns1::X x; using ns2::swap; int y = swap(x,x); } Shouldn't we be setting BOOST_FUNCTION_SCOPE_USING_DECLARATION_BREAKS_ADL for this compiler? It's actually a different bug in some details, I realize, but the macro does say the right thing. Also, where is the test for that macro? I don't see any in libs/config/test. -- Dave Abrahams Boost Consulting www.boost-consulting.com