I have a C++ project which uses c++11 standard and g++ 4.7 compiler. However I see a lot of errors in optional if I use c++11.