Boost logo

Boost :

Subject: Re: [boost] [Boost.Pool] TR1?
From: Phil Bouchard (philippe_at_[hidden])
Date: 2011-04-12 18:34:28


On 4/12/2011 3:01 PM, Nevin Liber wrote:
>
> I'm not saying that it won't accidentally work, but once you have undefined
> behavior, the compiler is free to do anything it wants.
>
> And once you are talking about pages of memory, you are (IMHO) outside of
> the realm of what can be standardized within the language, since you are now
> OS and/or hardware specific.

It's a simple alignment of a memory block issue and this is already
covered by the standards as far as I know.

> I'd still like to see a small example showing the usefulness of such a
> feature.

You can see an example of is_from() usage here:
http://www.fornux.com/personal/philippe/devel/shifted_ptr/boost/shifted_ptr.hpp

-Phil


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk