[libcxx-commits] [libcxx] [libc++][chrono] Remove non-standard relational operators for `std::chrono::weekday` (PR #98730)
Mark de Wever via libcxx-commits
libcxx-commits at lists.llvm.org
Sat Jul 13 04:59:56 PDT 2024
================
@@ -17,10 +17,13 @@
#include <chrono>
#include <type_traits>
#include <cassert>
+#include <concepts>
#include "test_macros.h"
#include "test_comparisons.h"
+static_assert(!std::totally_ordered<std::chrono::weekday>);
----------------
mordante wrote:
Interesting the relational operations are never tested.
https://github.com/llvm/llvm-project/pull/98730
More information about the libcxx-commits
mailing list