
28 Jan
2004
28 Jan
'04
11:44 p.m.
"Gennaro Prota" <gennaro_prota@yahoo.com> wrote in message:
"Gennaro Prota" <gennaro_prota@yahoo.com> wrote
Similar technique is used in container_traits library (written by Thorsten Ottosen).
Look for size_type.hpp, in sandbox or Files section. Use: n = sizeof(sizer(an_array))
I can't look at it right now, anyway I was just pointing out that it is possible (and easy), in case no one did that.
The current array sizing facility is not standard-conforming. I assume Thorsten is going to fix it, but it doesn't look like he has yet. Jonathan