Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2006-06-28 00:05:47

Gennaro Prota <gennaro_prota_at_[hidden]> 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

Boost list run by bdawes at, gregod at, cpdaniel at, john at