Subject: Re: [boost] interest in structure of arrays container?
From: Michael Marcin (mike.marcin_at_[hidden])
Date: 2016-10-20 00:59:52
On 10/19/2016 7:32 AM, Larry Evans wrote:
>> Michael, the attached is an outline of how to do it.
>> As noted in the comments, a lot of member functions still need
>> implementation; however, the offset calculations I think are
> Code has been updated to implement most of the "essentials" of
> soa_block. You can now call begin<Index> to get the begin
> iterator for the Index'th vector.
> The code now is on github at:
Still digesting this but one small tidbit I stood out for me
//The c++ standard, IIRC, says all alignments are power of 2.
I didn't actually know this was a requirement.
"Every alignment value shall be a non-negative integral power of two."
§ 3.11/4 http://open-std.org/JTC1/SC22/WG21/docs/papers/2016/n4606.pdf
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk