|
Boost : |
From: Kevlin Henney (kevlin_at_[hidden])
Date: 2001-08-23 16:05:38
> 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?
Kevlin
____________________________________________________________
Kevlin Henney phone: +44 117 942 2990
mailto:kevlin_at_[hidden] mobile: +44 7801 073 508
http://www.curbralan.com fax: +44 870 052 2289
Curbralan: Consultancy + Training + Development + Review
____________________________________________________________
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk