Quick question, (C++)
Say I have a function called findPlayer( Player &p )
If I call that as follows
findPlayer(Player());
what is the const-ness of local p
inside findPlayer
?
In addition, is Player()
passed by reference or value? I'm guessing value...