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

You're viewing a single thread.

3 comments