Using & & has 2 different meanings depending on where it's used In front of an object Takes the address int* p = &i; In a function parameter definition Pass by reference int sum(std::vector &v)