Perhaps you could debug it to find at which point the error is being thrown?
debugging is not giving me any errors . It is working fine till the last line of the code . This happens whle quitting the programe.In debug mode when returning to the main function we can see the programme is stepping into the following functions
template <class T,class Alloc> void TMListImp<T,Alloc>::DoFlush( int del )
2) template <class T,class Alloc>
TMListBlockInitializer<T,Alloc>::~TMListBlockIniti alizer()
these two functions are a part of c:\bc5\include\classlib\listimp.h