shared_mutex c++11 Compile command: c++ main.cpp shared_lock.cpp test_objects.cpp -o main -pthread OR gcc main.cpp shared_lock.cpp test_objects.cpp --std=c++11 -o main -pthread -lstdc++