PLUS-ONE problem, compile with g++ -std=gnu++11 main.cpp