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 must log in or register to comment.
Good ol’ tag dispatch works fine too: https://godbolt.org/z/x8hsEK48K
Nice. I’d not thought of that one.
deleted by creator