|
Boost : |
From: Kevlin Henney (kevlin_at_[hidden])
Date: 2000-12-04 10:07:13
In message <90gaij+44ch_at_[hidden]>, d.frey_at_[hidden] writes
>--- In boost_at_[hidden], Kevlin Henney <kevlin_at_c...> wrote:
>> I think all of this seems to suggest retaining the status quo: pass
>> by copy rather than pass by const reference. Given that this
>> involves no change to the code, I am happy with that :-)
>
>And as the one who suggested using a const reference, I think it would
>be nice to include the reasons for pass by copy in the documentation.
>Or the same dicussion will start again in several month :)
Yes, good point :-) I think that perhaps design decisions and rationale
common to all the cast operators could/should be factored into a common
document, rather than duplicate in each.
Kevlin
____________________________________________________________
Kevlin Henney phone: +44 117 942 2990
Curbralan Limited mobile: +44 7801 073 508
mailto:kevlin_at_[hidden] fax: +44 870 052 2289
http://www.curbralan.com
____________________________________________________________
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk