[libcxx-commits] [PATCH] D131395: [libc++] Implement `lexicographical_compare_three_way`
H. Vetinari via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Sun Feb 12 17:23:07 PST 2023
h-vetinari added inline comments.
================
Comment at: libcxx/docs/Status/Cxx20Issues.csv:264-265
"`3348 <https://wg21.link/LWG3348>`__","``__cpp_lib_unwrap_ref``\ in wrong header","Prague","|Complete|","12.0"
"`3349 <https://wg21.link/LWG3349>`__","Missing ``__cpp_lib_constexpr_complex``\ for P0415R1","Prague","|Complete|","16.0"
-"`3350 <https://wg21.link/LWG3350>`__","Simplify return type of ``lexicographical_compare_three_way``\ ","Prague","","","|spaceship|"
+"`3349 <https://wg21.link/LWG3349>`__","Missing ``__cpp_lib_constexpr_complex``\ for P0415R1","Prague","",""
+"`3350 <https://wg21.link/LWG3350>`__","Simplify return type of ``lexicographical_compare_three_way``\ ","Prague","|Complete|","17.0","|spaceship|"
----------------
This line is now duplicated.
================
Comment at: libcxx/test/std/algorithms/robust_re_difference_type.compile.pass.cpp:148-153
+#if TEST_STD_VER > 17
+ // `lexicographical_compare_three_way` static_asserts that the difference type is an integer, as
+ // required by https://eel.is/c++draft/iterator.iterators#2.2
+ //(void)std::lexicographical_compare_three_way(first, last, first2, last2);
+ //(void)std::lexicographical_compare_three_way(first, last, first2, last2, std::compare_three_way());
+#endif
----------------
Is it intentional that these tests are commented out? If so, the comment doesn't really elucidate why, or what would be necessary to enable them.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D131395/new/
https://reviews.llvm.org/D131395
More information about the libcxx-commits
mailing list