g++ source_file.cpp -o executable_name -std=c++11 // for C++11
g++ source_file.cpp -o executable_name -std=c++14 // for C++14
g++ source_file.cpp -o executable_name -std=c++17 // for C++17
g++ source_file.cpp -o executable_name -std=c++2a // for C++20