Closed martinus closed 9 months ago
Similar to erase(), but the return value is the erased element, moved out. This has practically the same performance behavior as erase(), except for 2 additional moves. (once into a temporary variable), and then out.
Similar to erase(), but the return value is the erased element, moved out. This has practically the same performance behavior as erase(), except for 2 additional moves. (once into a temporary variable), and then out.