http://www.cnblogs.com/TenosDoIt/p/3456704.html
智能指针的初始化:
错误:
std::shared_ptr<Serializer> serializerObj2(new Serializer)
正确:
std::shared_ptr<Serializer> serializerObj2 = new Serializer;
std::shared_ptr<Serializer> serializerObj2{new Serializer};