Y
Hacker News
new
|
ask
|
show
|
jobs
by
AnimalMuppet
3145 days ago
I'd expect in that situation that step 3 produces a compiler error at the call to processSomeItem(). (Yeah, they could have overloaded processSomeItem...)
Also, passing stuff by reference does
not
make a copy.