On Thu, Nov 08, 2007 at 08:51:06AM +0100, Abdelrazak Younes wrote: > Enrico Forestieri wrote:
> > Abdel, I am not sure it is ok with MSVC. Can you confirm it? > > This did the trick: Hmm, yep. Looking at http://msdn2.microsoft.com/en-us/library/1af12yty(VS.80).aspx I see that the forward declaration for the string type is missing, while the gcc iosfwd includes it through the (compiler specific) stringfwd.h header. Maybe MSVC has a similar header? Otherwise we could revert to the original (ugly) code by André. -- Enrico