Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2003-12-05 09:12:18


"John Maddock" <john_at_[hidden]> writes:

>> >> I think we can do better, but I need a better description of what
>> >> happens in order to get there. Can you give more details?
>> >
>> > I don't know.... basically it seem as though:
>> >
>> > using boost::whatever;
>>
>> Placed where? In any namespace? Only in boost or in a sub-namespace?
>
> Function scope, any namespace.
>
>> > prevents ADL of "whatever" inside namespace boost (and nested namespaces
>> > thereof), but not in unconnected namespaces.
>>
>> Can you show some test cases which demonstrate?

OK, I suggest:

  BOOST_FUNCTION_SCOPE_USING_DECLARATION_BREAKS_ADL

or

  BOOST_BROKEN_FUNCTION_SCOPE_USING_DECLARATION

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk