
28 Jun
2006
28 Jun
'06
4:05 a.m.
Gennaro Prota <gennaro_prota@yahoo.com> writes:
The real somersaults begin when you want the multidimensional case :) Here's what came out:
I'm pretty sure it's easier than this. IIRC, the macro can still do the old sizeof(a)/sizeof(a[0]) trick; it just needs to add something that will cause an error if a is not an array. -- Dave Abrahams Boost Consulting www.boost-consulting.com