    #include <thread>
    #include <vector>
    #include <iostream>
    using namespace std;
    
    void fun(vector<int> * v_ptr) {
    	auto &v(*v_ptr);
    	v.push_back(13);
    }
    
    int main(){
    	vector<int> v;
    	thread t(fun, &v);
    	t.join();
    	cout << v.size();
    }