Boost logo

Boost Users :

From: alexmark (talamar.lands_at_[hidden])
Date: 2006-12-01 16:23:28


Hi to all!

For the container type

boost::interprocess::list<T, A> I

need the destructor of stored object T be called when erase() is called for a corresponding list item. By default the T destructor is not called, memory only is deallocated. What is the correct way to force boost::interprocess::list to invoke destructors for contained objects while list item or the container itself is deleted?

TYA.
 
 


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net