Re: [Boost-bugs] [Boost C++ Libraries] #11369: Boost.Python: return_internal_reference<> bug

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #11369: Boost.Python: return_internal_reference<> bug
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-06-03 08:41:48


#11369: Boost.Python: return_internal_reference<> bug
-------------------------------------+-------------------------------------
  Reporter: Christoff Heinrich Kok | Owner: rwgk
  <christoff.kok@…> | Status: new
      Type: Bugs | Component: Python
 Milestone: To Be Determined | Severity: Showstopper
   Version: Boost 1.58.0 | Keywords: Python
Resolution: | reference_internal_object
-------------------------------------+-------------------------------------

Comment (by anonymous):

 '''Workarounds:'''

 Thanks to someone on the mailing list for figuring out what the problem
 is:

 It works when I reserve the vectors sizes to e.g. 32. (Not that it fixes
 the bug, it only deters the bug to occur until the reserve size is
 exceeded.)

 It also works if I allocate the objects stored in the vectors on the heap.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/11369#comment:1>
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:18 UTC