https://llvm.org/bugs/show_bug.cgi?id=31166
Bug ID: 31166 Summary: std::inplace_merge seems to be unstable. Product: libc++ Version: unspecified Hardware: PC OS: All Status: NEW Severity: normal Priority: P Component: All Bugs Assignee: unassignedclangb...@nondot.org Reporter: denis.yaroshevs...@gmail.com CC: llvm-bugs@lists.llvm.org, mclow.li...@gmail.com Classification: Unclassified Created attachment 17649 --> https://llvm.org/bugs/attachment.cgi?id=17649&action=edit Code that reproduces the bug. The standard requires std::inplace_merge to be stable. If I am correct, it's not in the version of the library that I'm using. In the attached example: Expected output: [{1,0}, {2,0}, {2,1}, {3,0}, {4,0}, ] Real output: [{1,0}, {2,1}, {2,0}, {3,0}, {4,0}, ] -- You are receiving this mail because: You are on the CC list for the bug.
_______________________________________________ llvm-bugs mailing list llvm-bugs@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs