Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2004-01-09 14:15:34

Lars Gullik Bjønnes wrote:
> "Lucas Galfaso" <lgalfaso_at_[hidden]> writes:
>> Actually, type qualifier on the return type of member functions is
>> meaningless (if they are not returned by referece.)
> Why? I've found them useful.

Rvalues of built-in types are never cv-qualified, so when you write, for

    double const f();
    void const * const g();

you get a warning from EDG (and maybe others.)

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