Skip Navigation

Forwarding references, overload resolution, and seizing back control

indii.org C++: Forwarding references, overload resolution, and seizing back control

Consider merging overloads into one function with forwarding reference parameters

C++: Forwarding references, overload resolution, and seizing back control

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.

3
3 comments