Boost logo

Boost :

Subject: Re: [boost] interest in a stateful pointer library?
From: Hans Dembinski (hans.dembinski_at_[hidden])
Date: 2017-10-10 08:02:12

Hi Ion,

> On 10. Oct 2017, at 00:17, Ion Gaztañaga via Boost <boost_at_[hidden]> wrote:
> There is a related (not a replacement) utility in Boost.Intrusive, used to store additional bits in red-black and AVL trees:
> <>
> It assumes the conversion between pointers and integers preserves the alignment in the lower bits of the integer. There are some esoteric platforms where this might not be true, but Boost.Intrusive does not support them.

ah, thanks, I didn't know that one. I thought Boost.Intrusive was about containers only, so I would never have looked there. Seeing how pointer_plus_bits is used in Boost.Intrusive, it seems that it is not really intended for users, and serves more as an utility for the library. It is not advertised in the documentation either.

Best regards,

Boost list run by bdawes at, gregod at, cpdaniel at, john at