Boost logo

Boost :

Subject: Re: [boost] [intrusive] Possible bug in bstree_algorithms.hpp
From: Ion Gaztañaga (igaztanaga_at_[hidden])
Date: 2014-09-23 08:42:17

El 22/09/2014 22:01, Lars Hagström escribió:
> Ok, I'll set up the VM we talked about in the next few days, and hopefully
> that can give you something more to go on.

Lars, I think I've found the problem. In

       if(!m_p) return;
       value_type *raw_ptr = container_detail::to_raw_pointer(m_p);
          AllocTraits::destroy(m_a, raw_ptr); <<<<< HERE!!!

A pointer increment is missing, it should be:

AllocTraits::destroy(m_a, raw_ptr++); <<<<< NOTE "raw_ptr++"


Boost list run by bdawes at, gregod at, cpdaniel at, john at