Re: [Boost-bugs] [Boost C++ Libraries] #3673: boost python and weak_ptr from a shared_ptr argument

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #3673: boost python and weak_ptr from a shared_ptr argument
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-03-04 14:25:01


#3673: boost python and weak_ptr from a shared_ptr argument
------------------------------+---------------------------------------------
 Reporter: troy | Owner: troy
     Type: Feature Requests | Status: assigned
Milestone: Boost 1.43.0 | Component: Python
  Version: Boost 1.41.0 | Severity: Problem
 Keywords: |
------------------------------+---------------------------------------------
Changes (by Olaf Lenz <olaf@…>):

  * milestone: Boost 1.42.0 => Boost 1.43.0

Comment:

 I provided a simple test case that demonstrates the problem. Just compile
 "weak_ptr.cpp", adapt the imports and run the python script, and you will
 get

 {{{
> python testWeakPtr.py
 python:
 /home/olenz/projects/espresso++/src/trunk/contrib/boost/boost/smart_ptr/shared_ptr.hpp:409:
 T* boost::shared_ptr< <template-parameter-1-1> >::operator->() const [with
 T = A]: Assertion `px != 0' failed.
 Aborted
 }}}

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/3673#comment:2>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:02 UTC