|
Boost : |
From: Thorsten Ottosen (tottosen_at_[hidden])
Date: 2006-02-18 14:51:51
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
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk