Can the above three functions pass the parameter as a const reference?