Accordigly to cppreference named requirements a lot of algorithms requires to perform in certain time complexity (linear, constant). So i wonder is it possible with c++20 concepts to write a constraint for it, and if not is it even considered to be a good idea to be able to check for something like that?
template <class T>
concept linear = requires (T val) {
// magic here
}