|
Boost : |
From: AlisdairM (alisdair.meredith_at_[hidden])
Date: 2003-11-28 07:15:46
"Thorsten Ottosen" <nesotto_at_[hidden]> wrote in
news:bq7ck4$svu$1_at_[hidden]:
> 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 ;¬ )
AlisdairM
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk