From: David Abrahams (dave_at_[hidden])
Date: 2006-07-19 08:12:04
"Sohail Somani" <s.somani_at_[hidden]> writes:
>> No. For pointers going into the same array segment
>> (including one-past-end)
>> or the same access-level class block, operator "<" is
>> defined. Using the
>> operator is unspecified if the pointers are from different spans. The
>> "std::less<T*>" specializations have to give the same results as the
>> operator when the operator is defined, but must give a total
>> ordering so
>> pointers from different spans (or NULL) can be compared. Due
>> to potential
>> exclusivities in comparison domains, it's possible that the
>> operator and the
>> class template use separate definitions.
> I must leave it in your capable hands to provide a summary and solution
> for this thread. It would be very interesting.
...particularly when your mailer doesn't insert the References: header
that allows for proper threading.
I can't tell to whom you're responding.
-- Dave Abrahams Boost Consulting www.boost-consulting.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk