add: requires constraint

This commit is contained in:
Eatswap 2023-03-24 00:03:37 +08:00
parent 10d5427eb3
commit 5dd5ebe1c0
Signed by: Eatswap
GPG Key ID: BE661106A1F3FA0B
1 changed files with 2 additions and 0 deletions

View File

@ -2,8 +2,10 @@
#include <functional>
#include <iostream>
#include <unordered_map>
#include <concepts>
template<typename T>
requires std::totally_ordered<T>
class MinMaxSegTree {
private:
using V = std::vector<T>;