Boost logo

Boost :

From: Gennaro Prota (gennaro_prota_at_[hidden])
Date: 2006-06-25 08:04:16


Hi guys,

a while ago there was some discussion about incorporating a
compile-time array count facility in boost. I also provided an
implementation for multidimensional arrays. Is there still interest
for this? The benefits over the classical
sizeof(array)/sizeof(array[0]) idiom are not overwhelming but at least
there's a fair syntactical convenience and, of course, the advantage
of unit test integration. If there's interest I can add it, to the
utility subdirectory I guess (better suggestions are welcome; I really
don't like using utility/ as a sort of repository for anything we have
no better place for).

--Gennaro.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk