|
Boost : |
From: Peter Dimov (pdimov_at_[hidden])
Date: 2001-05-26 06:46:07
From: "Jens Maurer" <Jens.Maurer_at_[hidden]>
> It's undefined behavior to compare ordinary pointers with
> operator<, unless they point to element of the same array.
The behavior is unspecified, not undefined, AFAIK. 5.9/2.
On the platforms that boost regression-tests on, for instance, the pointer
comparisons actually are well defined. [AFAIK]
-- Peter Dimov Multi Media Ltd.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk