Subject: Re: [boost] [optional] memory use for optional refs and ptrs
From: Larry Evans (cppljevans_at_[hidden])
Date: 2010-10-06 14:59:26
On 10/06/10 13:33, Rutger ter Borg wrote:
> Is there some
> kind of facility that is able to point to "padding space" in aligned
> structures? (perhaps a facility of the alignment stuff in boost)?
It's used to calculate the distance between the end of 1 element
in a tuple and the start of the next element so that that next
element will have the proper alignment. IOW, if:
aligned_offset<Offset,Alignment>::remainder != 0
then there will be padding in the amount:
That is, IIRC.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk