Georg Baum wrote:
Am Mittwoch, 15. November 2006 18:22 schrieb Abdelrazak Younes:
I see now: This is the problem. Inserting the new IconvProcessor into
the
map calls the copy constructor -> iconv_close gets called twice for the
same conversion descriptor.
That means that IconvProcessor must not be copied. Abdel, do you have
any
idea how to solve that?
Maybe just remove the iconv_close in the destructor? This is not
strictly needed I think and I put that just for clarity.
It should be called to free up system resources. I found a very elegant way
to solve the
Very good Georg.
Abdel.