From: John L. <le...@mo...> - 2003-08-11 08:44:26
|
On Mon, Aug 11, 2003 at 10:39:28AM +0000, Philippe Elie wrote: > >Now why would it need to ? It can know its own size. Client code trying > >to index in should ensure it's expanded to the right size. It will need > >a little more code to present the interface but it's very possible. > > you mean ? > > count_array_t { > ... > static size_t nr_counts; > }; Yeah, something like that might work... I'm not even sure that a per-object size value would be prohibitively space-expensive. regards john -- Khendon's Law: If the same point is made twice by the same person, the thread is over. |