在以下这行代码中:
class Symbol : public boost::enable_shared_from_this<Symbol> {
我收到了以下错误:
error: invalid use of incomplete type struct boost::enable_shared_from_this<Symbol>
/usr/include/boost/smart_ptr/shared_ptr.hpp:63: error: declaration of struct boost::enable_shared_from_this<Symbol>
你知道我为什么会遇到这个错误吗?Symbol是一个抽象类(如果这有影响)。