Try c++11 without unique_ptr