
2 May
2006
2 May
'06
3:35 a.m.
Joel de Guzman wrote:
John Christopher wrote:
Hello, The example at the bottom of: http://spirit.sourceforge.net/dl_more/fusion_v2/libs/fusion/doc/html/fusion/...
does not compile; I am using MinGw 3.4.2.
[snip]
More specifically it is the line std::cout << transform << std::endl;
Works fine for me. See attached.
that seems to create the problem. I was also wondering why operator() of square return int and not T.
Yes, it should be T. Noted. Thanks for spotting that. It's corrected in the cpp file I just sent.
Oh and BTW, I tried it on VC7.1, VC8.0 and g++3.4. Cheers, -- Joel de Guzman http://www.boost-consulting.com http://spirit.sf.net