https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47226
--- Comment #11 from Akim Demaille <akim.demaille at gmail dot com> --- The project I work on has this: auto const f = std::bind(&Rpc::operator (), &rpc, std::ref(args)...); instead of a simple lambda.