Boost logo

Boost Users :

Subject: Re: [Boost-users] Needs advices on design ( mpl or processor )
From: Allan Nielsen (a_at_[hidden])
Date: 2012-01-11 03:23:07

> Also, something similar is done for multidimensional array classes.

Yep you are right, I did not realize this before you pointed it out. Thanks.

> which returns the array indices corresponding to some offset into
> the array, is doing something similar to what your get<Tag>() is doing.
> However, get<Tag> just returns 1 index where Tag corresponds to some
> dimension in the array and indices_at_offset resturns all the
> indices.
> Sound right?

I did not have the time to read indices_at_offset.hpp, but as the
problem solved in compressed_enums is almost the same as in multi
dimensional arrays I'm pretty sure they does the same.

Allan W. Nielsen

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at