|
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
> news:uiszghmba.fsf_at_boost-consulting.com...
> > 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
not
> 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 acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk