id summary reporter owner description type status milestone component version severity resolution keywords cc 12763 Provide a way to specify a default disposer fdegros@… Ion Gaztañaga "It would be convenient if there was a way to specify a default disposer to be applied to elements stored in an intrusive container. This would make it easier to write containers that take ownership of their inserted elements. This would impact the container's destructor as well as the methods {{{erase}}}, {{{erase_after}}}, {{{clear}}}, {{{remove}}}, {{{remove_if}}}, {{{pop_front}}}, {{{pop_back}}}, {{{assign}}}, {{{unique}}} and {{{clone_from}}}. The library should probably provide a no-op disposer, which would be the default one used by intrusive containers. Particular care should be taken in {{{clear}}} and containers' destructors in order to avoid calling the no-op disposer for every element. For example: {{{ boost::intrusive::list>> elems; elems.insert(*new MyElement); // Clearing the collection deletes the elements. elems.clear(); }}}" Feature Requests new To Be Determined intrusive Boost 1.63.0 Optimization fdegros@…