|
Boost : |
Subject: Re: [boost] [Boost.Pool] TR1?
From: Phil Bouchard (philippe_at_[hidden])
Date: 2011-04-11 23:40:38
On 4/11/2011 6:02 PM, Dave Abrahams wrote:
>
> Whatever the costs, you have a point because this is something that
> can only be implemented portably by the standard. I'm certain that
> Boost.Pool invokes undefined behavior whenever it returns false from
> is_from().
Indeed 'false' basically means your not sure if the pointer will
eventually be part of the pool or not but 'true' is authoritative in its
quest to locate a current object.
-Phil
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk