#include using namespace std; int main() { unique_ptr v{new int[1000]}; for (int i = 0; i < 1000; i++) v[i] = i; }