Boost logo

Boost :

From: Anthony Williams (anthony_at_[hidden])
Date: 2001-05-30 05:25:13


--- In boost_at_y..., "joel de guzman" <joel_at_i...> wrote:
> Hi,
>
> I am having second thoughts with the + operator for
> sequencing. At first, it seems to be ok but further
> use of the operator gives me a feeling that something
> is wrong.
>
[SNIP]
>
> Possible substitutes:
>
> a >> b >> c... The original Spirit syntax. >> arrows denote
sequencing.
> Non-commutative
>
> a / b / c ... Non-commutative. Similar to unix file paths and URLs
e.g.
> root/development/c++/myfile.cpp
>
> a % b % c... Non-commutative. A bit of an eye-sore though
>

How about overloading the comma operator, so

a,b,c

works as expected?

Anthony


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk