10The flag -std=c++11 is necessary in order to instruct the compiler that the C++11 standard is used.