Re: [Boost-bugs] [Boost C++ Libraries] #10028: erasing in a container::vector of move only type calls the destructor after the object has been moved

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #10028: erasing in a container::vector of move only type calls the destructor after the object has been moved
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-05-12 14:37:01


#10028: erasing in a container::vector of move only type calls the destructor after
the object has been moved
-------------------------------+------------------------
  Reporter: maynuki@… | Owner: igaztanaga
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: container
   Version: Boost 1.55.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------+------------------------

Comment (by igaztanaga):

 With current develop code, the compiler shows:

 release resource : 5
 release resource : 6
 release resource : 7
 release resource : 8
 release resource : 9
 release resource : 10

 I think it's the expected output, as the program erases the first 4
 elements. Which output do you obtain running your program with your
 version?

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/10028#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:16 UTC