Boost logo

Boost Users :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2005-03-04 19:03:58


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.


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