Subject: Re: [boost] interest in a stateful pointer library?
From: Peter Dimov (lists_at_[hidden])
Date: 2017-10-09 09:37:55
Hans Dembinski wrote:
> This is kinda sad, because the library is much less useful if tagged_ptr
> is not guaranteed to work on all platforms now and in the future. Just
> assume you use this in a large project and rely on it, and then a new
> processor generation comes out where tagged_ptr does not work anymore.
> That being said it is probably still useful for special projects, but not
> something to put in Boost. :(
On the contrary, this is exactly why it needs to be put in Boost - to
isolate the platform-specific differences behind a portable interface.
> but smart people on Reddit showed me that I am relying on undefined
> behaviour here.
Out of curiosity, what's the specific problem that was pointed out? What
behavior is undefined?
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk