Displaying 1 result from an estimated 1 matches for "40a1a4a7".
2016 Jan 15
2
[cfe-dev] RFC: Extend UBSan with qsort checks
On Tue, Jan 12, 2016 at 10:27 PM, Yury Gribov via cfe-dev <
cfe-dev at lists.llvm.org> wrote:
>
> As for C++11, it has for e.g. srtd::sort:
>
> "Requires: operator< (for the version with no arguments) or comp (for the
> version with a comparison argument) defines a strict weak ordering (25.4)."
>
> which also sounds like UB.
Exactly correct.
If your