Problem solved...
Guess the problem is with g++ STL implementation. It is different from MS implementation. Maybe i give a try with stlport, before really closing the problem.
I also have some questions: which compiler you use daily?
which one appear to implement better the C++ standard?
on which platform you develop your software?