c++ vector move element

#include <iostream>
#include <vector>

int main() {
    std::vector<int> numbers = {1, 2, 3, 4, 5};

    // Move the element at index 2 to the end of the vector
    std::vector<int>::iterator it = numbers.begin() + 2;
    std::make_move_iterator(it);

    // Print the modified vector
    for (const auto& num : numbers) {
        std::cout << num << " ";
    }

    return 0;
}