
13 Apr
2011
13 Apr
'11
6:22 p.m.
At Wed, 13 Apr 2011 20:01:06 +0200, Anders Dalvander wrote:
On 2011-04-13 19:40, Dave Abrahams wrote:
On Wed, Apr 13, 2011 at 1:32 PM, Anders Dalvander<boost@dalvander.com> wrote:
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.
The issue is that if you test an address for being within a given memory block, you can get false positives.
But that's just the deal, we don't have to test, std::less does it for us.
If you test it with std::less you can get false positives. -- Dave Abrahams BoostPro Computing http://www.boostpro.com