Community
Participate
Working Groups
In the following code: template <typename... Args> void foo(int, int, Args...); template <typename... Args> void bar(Args... args) { foo(args...); // ERROR HERE: "Invalid arguments: Candidates are: void foo(int, int, #0 ...)" } It is wrong to treat the call as an error in general, because it could be that bar() is only ever called with parameters such that the first two are convertible to 'int'.
Good catch! Added testcase and fix.