class EntityHolder {
public:
EntityHolder ( ) { }
EntityHolder (
const EntityHolder& other ) { }
~EntityHolder ( ) { }
EntityHolder&
operator = (
const EntityHolder& other ) {
return *this;
} // =
当我尝试创建 boost:shared_ptr 时,出现以下错误:
..\src\Entity.cpp:7:34: error: no matching function for call to 'boost::shared_ptr<orm::EntityHolder>::shared_ptr (orm::EntityHolder&)'
这是什么意思?