Forwarding references, overload resolution, and seizing back control
Consider merging overloads into one function with forwarding reference parameters
The intersection of forwarding references and overload resolution has been bugging me, and I've been caught out a few times on the wrong overload, so here's an idea.
You're viewing a single thread.
Good ol' tag dispatch works fine too: https://godbolt.org/z/x8hsEK48K
Nice. I'd not thought of that one.