less_equal -- Concept-constrained comparisonsを追加

1 · cpprefjp · Dec. 30, 2021, 5:31 a.m.
diff --git a/reference/functional/ranges_less_equal.md b/reference/functional/ranges_less_equal.md new file mode 100644 index 000000000..580cf3084 --- /dev/null +++ b/reference/functional/ranges_less_equal.md @@ -0,0 +1,63 @@ +# less_equal +* functional[meta header] +* std::ranges[meta namespace] +* class template[meta id-type] +* cpp20[meta cpp] + +```cpp +namespace std::ranges { + struct less_equal { + template<class T, class U> + requires totally_ordered_with<T, U> + constexpr boo...