[c++] convert to c++11, remove uses of boost