
9 Jul
2006
9 Jul
'06
1:21 p.m.
On Sat, 08 Jul 2006 19:30:13 -0400, Daryle Walker <darylew@hotmail.com> wrote:
In what I've read in this thread, I've never seen how to get the total count of elements in a multi-dimensional array. (I just seen how to get the count of a particular dimension.)
I never thought about this (or needed it). Did you? If there's consensus on introducing it I only see two problems: * choosing a good name :) * making it work on non-conforming compilers (I have to say of all compilers I tried my straightforward implementation on, only gcc could handle it, which is quite discouraging for such a trivial piece of code) -- [ Gennaro Prota, C++ developer for hire ] [ resume: available on request ]