You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<source>:14:48: error: pack expansion contains parameter pack 'Args' that has a different length (1 vs. 2) from outer parameter packs worker::work(std::forward<Args>(ff)...); ~~~~ ^
I'm confident this is a compiler bug as if one turns connect_worker into a non-template by removing template <typename T = int>, then the code builds and runs as expected:
Hello,
repro:
causes:
I'm confident this is a compiler bug as if one turns
connect_worker
into a non-template by removingtemplate <typename T = int>
, then the code builds and runs as expected:https://gcc.godbolt.org/z/YM6ar7WG3
also,
Just before the offending line passes too.
Not forwarding the arguments works too:
worker::work(ff...);
The text was updated successfully, but these errors were encountered: