7 Mar
2005
7 Mar
'05
3:28 p.m.
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.