Boost logo

Boost :

From: AlisdairM (alisdair.meredith_at_[hidden])
Date: 2003-11-28 07:15:46

"Thorsten Ottosen" <nesotto_at_[hidden]> wrote in

> I wonder what is better...auto_array<> or auto_ptr< boost::array<...>
> > ?

These are two different things.

auto_array supports different array sizes at runtime (like vector) but
auto_ptr< boost::array<...> > is fixed at compile time.

I do like the sneaky way of avoiding the delete/delete[] problem with the
latter though ;¬ )


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