Boost logo

Boost :

From: Gennaro Prota (gennaro_prota_at_[hidden])
Date: 2002-11-06 13:19:45


On Wed, 06 Nov 2002 18:36:53 +0100, Gennaro Prota
<gennaro_prota_at_[hidden]> wrote:

>> swap(p_[i],rhs.p_[i]); // THIS MAY THROW
>
>This must be just an oversight. Weren't you thinking to p_ as the
>pointer to the array in the free store case?

Oops, ignore that. I missed the constructor

  FixedArray() : p_(storage_.address()) {}

Genny.


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