使用C ++ 20 require子句的带有模板参数列表的lambda在常量表达式中不可用
In the template function f, I define a lambda with a template parameter list which can use if constexpr to detect whether the type U is a std::vector:
template <typename T>
void f(T t) {
auto g = []<typename U>(U u) {
if constexpr (requires { std::sa...