From 5dd5ebe1c0f1c03ef46ff474eee33cfa9bf41c18 Mon Sep 17 00:00:00 2001 From: Eatswap Date: Fri, 24 Mar 2023 00:03:37 +0800 Subject: [PATCH] add: requires constraint --- cpp/2303/230323-CN.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cpp/2303/230323-CN.cpp b/cpp/2303/230323-CN.cpp index 9e4b537..919b511 100644 --- a/cpp/2303/230323-CN.cpp +++ b/cpp/2303/230323-CN.cpp @@ -2,8 +2,10 @@ #include #include #include +#include template +requires std::totally_ordered class MinMaxSegTree { private: using V = std::vector;