If there's one method that takes pointer as a parameter, and another overloaded method that takes a reference as a parameter, how do I call one or the other specifically?
For example.
int foo (int const& lippman) { \do something }
int foo (int && lippman) { \do something else }
-- So now when I want to call one or the other, how do I call it/how does the compiler distinguish the two(obviously by parameter, but how?)
Thanks