5 Mar
2005
5 Mar
'05
12:03 a.m.
Ian McCulloch wrote:
Peter Dimov wrote:
That's the thing. It doesn't actually buy us anything. It only claims to avoid potential problems.
I would disagree with that - it buys quite a lot, although for simple uses the extra syntax might not be worth it.
OK, what does it buy?
* 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.