void InputIterator InputIterator OutputIterator const T& const T& command_queue & Copies the values in the range [first, last) to the range beginning at result while replacing each instance of old_value with new_value. See also: replace()