c++ - pass by const ref etc.