Hi mahmoodn, > shall I remove typename?:confused: I would, since it violates C++ to have it there. I'm surprised the warning message didn't mention something to that effect. (It did with my GCC.) As GCC's C++ moves forward from version to version, it tends to become more and more compliant with ISO 14882. HTH, --Eljay