I wouldn't classify a reference as an operator more of a special type of variable. As far as that particular case you don't need to return it as a reference but the string could be very heavy so it is best to pass it as a reference and to make it a rvalue only you would need to make it constant.