Repository navigation
lexicographical_compare_three_way - #515
Stephan T. Lavavej (StephanTLavavej) merged 19 commits into
Conversation
|
I assume that the build failure |
Casey Carter (CaseyCarter)
left a comment
There was a problem hiding this comment.
This change is missing test coverage.
Co-Authored-By: Casey Carter
Co-Authored-By: Casey Carter
Co-Authored-By: Casey Carter
Billy O'Neal (BillyONeal)
left a comment
There was a problem hiding this comment.
Needs tests :)
OK, I will try to add some tests. |
|
Should I add these tests to |
I think that's fine - the test is small, and this is closely related. |
|
I added some tests, I hope they're ok. |
|
We merged #513 to |
|
My comments are small so I'm just going to push changes and batch this up for Microsoft-internal testing. 😸 |
Avoid brace elision when initializing std::array. Declare each variable on a single line. Rename variables for clarity. Reorder assertions for consistency. Remove duplicated assertions. Add additional parentheses (the preprocessor doesn't know how to match angle brackets).
|
I've submitted a Microsoft-internal PR for this; please don't push any more changes to this branch, and we should be able to merge it very soon. :-) |
|
Thanks for implementing this algorithm, Adam Bucior (@AdamBucior)! Looking at #64's checklist, it appears that you may have completed WG21-P0768 except for a feature-test macro update; I'll check with Casey Carter (@CaseyCarter). 😺 |
Description
Another part of #64. Decided to implement it in
because many containers will require it for<=>operator (ex.arraywhich is getting rid ofright now #482).Depends on #513.
Checklist
Be sure you've read README.md and understand the scope of this repo.
If you're unsure about a box, leave it unchecked. A maintainer will help you.
_Uglyas perhttps://eel.is/c++draft/lex.name#3.1 or there are no product code changes.
verified by an STL maintainer before automated testing is enabled on GitHub,
leave this unchecked for initial submission).
members, adding virtual functions, changing whether a type is an aggregate
or trivially copyable, etc.).
the C++ Working Draft (including any cited standards), other WG21 papers
(excluding reference implementations outside of proposed standard wording),
and LWG issues as reference material. If they were derived from a project
that's already listed in NOTICE.txt, that's fine, but please mention it.
If they were derived from any other project (including Boost and libc++,
which are not yet listed in NOTICE.txt), you must mention it here,
so we can determine whether the license is compatible and what else needs
to be done.