[libcxx-commits] [PATCH] D113695: [libcxx] Implement three-way comparison for std::reverse_iterator

Joe Loser via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Thu Nov 11 10:41:57 PST 2021


jloser added inline comments.


================
Comment at: libcxx/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.cmp/three-way.pass.cpp:58
+    tests();
+    static_assert(tests(), "");
+    return 0;
----------------
Nit: we can drop the second argument here to `static_assert` if you'd like.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D113695/new/

https://reviews.llvm.org/D113695



More information about the libcxx-commits mailing list