Boost 智能指针错误shared_ptr Assertion px != 0 failed

来源:互联网 发布:sql中多个case when 编辑:程序博客网 时间:2024/06/05 18:58

    在使用boost库编程的时候,由于使用了未初始化的智能指针,导致出现了如下的错误:

shared_ptr Assertion px != 0 failed

仔细查看代码,找出哪个智能指针没有初始化,便可以解决这个问题。

原创粉丝点击