我所要做的就是理解这个异常意味着什么,所以我不想附加任何代码到它上面。下面是完整的错误:libc++abi.dylib: terminating with uncaught exception of type boost::wrapexcept<boost::bad_get>: boost::bad_get: failed value get using boost::get
std::shared_ptr< boost::asio::io_context >ioc = std::make_shared<boost::asio::io_context>();ioc->post(boost::bind(&myclass::newdata, this)); /// <-- this get called
ioc->post(boost::bind(&myclass::newdata,