Boost logo

Boost :

From: David Abrahams (abrahams_at_[hidden])
Date: 2001-06-07 08:00:56


----- Original Message -----
From: "John E. Potter" <jpotter_at_[hidden]>

> > Worse yet, it appears to be suggesting that the output iterator should
have
> > a member function of the form
> >
> > operator=(const T&) const // note final const!!
> >
> > Since the expression X(a) creates a temporary.
>
> Not a problem for a language with modifiable rvalues. Operator= is
> a member.

I often forget whether it's classes or built-in types that can be modified
in that way. When it's a member function, you're not binding X(a) to a
non-const reference?

Is this the standard's way of saying "use a self-proxy"?

The question remains, however: what is the type of t?


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