Boost logo

Boost :

Subject: Re: [boost] [Boost.Pool] TR1?
From: Anders Dalvander (boost_at_[hidden])
Date: 2011-04-13 13:32:58

On 20:59, Nevin Liber wrote:
> While the undefined behavior goes away, all that std::less guarantees is a
> total ordering for pointers. It doesn't specify what that ordering actually
> is.

True, the actual order isn't defined. But I don't see the issue.

Externally a contiguous memory block would be seen as a singleton and
comparing it using std::less to any other contiguous memory block would
result in either true or false.

Internally a contiguous memory block has defined order.

Anders Dalvander


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