#include <cstddef>
#include <vector>
int main(void) {
int a[] = { 10, 20, 30 };
const size_t SIZE = sizeof a / sizeof a[0];
std::vector<int> v1(a, a + SIZE);
std::vector<int> v2(SIZE);
copy(v1.begin(), v1.end(), v2.begin());// ?
back_inserter(v2);// ?
std::copy(v1.begin(), v1.end(), v2.begin());// ?
std::back_inserter(v2);// ?
return 0;
}