Boost logo

Boost :

From: James Curran (jamescurran_at_[hidden])
Date: 2003-04-17 09:15:47


Matthew Towler wrote:
> int a, c;
> int& b = a;
> b = c; // error, as attempting to reseat the reference.

    um.. That's not an error, it just doesn't do what you think it does. It
actually assigns the value of c to a.

--
Truth,
James Curran
www.noveltheory.com (personal)
www.njtheater.com (professional)

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