Boost logo

Boost :

From: Jonathan Turkanis (technews_at_[hidden])
Date: 2004-01-28 18:44:42


"Gennaro Prota" <gennaro_prota_at_[hidden]> wrote in message:

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


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