Boost logo

Boost :

From: Andrei Alexandrescu (andrewalex_at_[hidden])
Date: 2002-01-11 11:52:10


> I don't understand what you're saying. This sounds like an argument for
> functional programming in general (all data is const) ???
>
> Doesn't the shared_array as owning iterator make sense to you?

The idea is that shared_array points to the beginning of an array allocated
with new. Then, you don't want to alter it because the restructor will call
delete[] on the pointee object, which must be there.

Andrei


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