take constructor parameter as reference in c++ #cppprogramming

Published --