Using T or auto as a return type