swap referenced values using rvalues