Boost logo

Boost :

From: Søren Lassen (s.lassen_at_[hidden])
Date: 2005-04-26 13:58:53


On Tue, 26 Apr 2005 12:44:19 -0400, David Abrahams
<dave_at_[hidden]> wrote:

>
> It was discussed in the past IIRC and Philippe's rationale basically
> captures the consensus here.
>

Very well, it seems that I am outnumbered. Non-const return values from
binary operators are not a bug, but a feature. However, it remains an
undocumented feature. It would be easier to contribute to boost if the
programming guidelines on the homepage corresponded to the actual
programming guidelines that have been decided. At the moment the homepage
has an explicit reference to a book ("Effective C++", second edition) that
recommends the opposite policy, the real guidelines are not mentioned.

I have reintroduced the non-const return values for the operators, the new
version has been uploaded to the sandbox vault.

-- 
Søren

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk