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
How do you forward a non-last-use argument? It has to be done when destructuring aggregates. std::apply does this variadically.
#include<string>voidg(auto&& x);
structpair_t {
std::string x, y;
};
f: (forward pair : pair_t) = {
g(pair.x); // Not a forward. How do I forward?g(pair.y); // OK
}