NullNone @ 2024-11-29 12:06:00
这种写法 noi Linux 可能会 ce 吗
set<int, decltype([](const Node &a, const Node &b){ return a.x * b.y < a.y * b.x; })> s;
by lusers @ 2024-11-29 12:13:52
@NullNone
Lambda expressions are not allowed in unevaluated expressions, template arguments, alias declarations, typedef declarations, and anywhere in a function (or function template) declaration except the function body and the function's default arguments. (Until C++20)
需要 C++20。
by NullNone @ 2024-11-29 12:14:24
@lusers thx