Corra com a versão CPP
g++ -std=c++11 your_file.cpp -o your_program
Confused Crane
g++ -std=c++11 your_file.cpp -o your_program