
18 Feb
2006
18 Feb
'06
7:51 p.m.
Jon Willesen wrote:
Sorry, forgot the attachment...
Please see the attached program built with boost 1_32_0 which *does* have the comma operator. On both msvc 7.1 and g++ 3.4.2 it outputs:
calling cons(list_of(3)(5), 4, 5) cons 3 calling cons( (list_of(3)(5), 4, 5) ) cons 1
It does seem to work ok, that is, as you would expect. I still have a bad feeling about it. I lost my computer this summer when it was stolen, so my original private mails about the subject are lost. I'll make a new test and see how it works across the various compilers. -Thorsten