I have several headers that struggle with C ++ 11, but I would like to use functions like initializer lists in my code. My research says that you can only enable new features on the command line, for example:
g++ -std=c++11
I would really like to add the code:
#pragma CXX11_OFF #include <old.hpp> #pragma CXX11_ON vector<int> v {1,2,3};
I could not find such a pragma. He exists?
source share