
12 Apr
2011
12 Apr
'11
3:40 a.m.
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