Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2002-11-02 09:14:31

From: "Andrei Alexandrescu" <andrewalex_at_[hidden]>
> "David Abrahams" <dave_at_[hidden]> wrote in message
> > And, BTW, techniques like Mojo are not transparent. They /do/ affect
> > interface in subtle ways.
> That's true; however, Kevin's point is that Foo(T) and Foo(const T&) are
> different semantic interfaces. I agree with that.

They are different. In the non-template case, consider T == auto_ptr<X>. In
the template case, consider what happens when the function is invoked with a
function/array parameter. (String literals are arrays.)

Boost list run by bdawes at, gregod at, cpdaniel at, john at