
1 Dec
2006
1 Dec
'06
9:23 p.m.
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.