Boost logo

Boost :

From: Greg Colvin (gcolvin_at_[hidden])
Date: 2001-08-23 16:44:18


From: Kevlin Henney <kevlin_at_[hidden]>
> > From: "Greg Colvin" <gcolvin_at_[hidden]>
> [...]
> >I also wonder if the core language could change so that the
> >type of new T[n] is pointer to array of T instead of pointer
> >to T. It seems that this change could prevent misuse of the
> >scoped_array and shared_array templates, but perhaps it will
> >fall afoul of the automatic decay of array types to pointers.
>
> Do you mean something like a type of T (*p)[] made legal for use?

Yes.


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