// semmle-extractor-options: --edg --c++17 template int sum(Args&&... args) { return (args + ...); } template int product(Args&&... args) { return (... * args); } template bool all(Args&&... args) { return (args && ... && true); } template bool any(Args&&... args) { return (false || ... || args); } void f() { int x = sum(1, 2, 3, 4, 5); int y = product(2, 4, 6, 8); bool a = all(true, true, false, true); bool b = any(false, true, false, false); }