Boost logo

Boost Users :

From: Ben Hutchings (ben.hutchings_at_[hidden])
Date: 2005-03-07 10:28:16


Peter Dimov wrote:
> Ian McCulloch wrote:
>
>> Peter Dimov wrote:
<snip>
>>> * If four libraries need the same operation, you need to specialize
>>> four primary templates.
>>
>>
>> Compare to four libraries using an ADL lookup on the same function
>> name, but requiring different semantics?
>
>
> Then these libraries are incompatible with each other, which will be
> reported as a bug.

How does one decide which library the bug is in? Doesn't this potential
for incompatibility mean that ADL erases to a large extent the intended
benefit of namespaces?

Ben.


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