|
Boost : |
From: David Abrahams (dave_at_[hidden])
Date: 2002-09-20 10:08:00
From: "Beman Dawes" <bdawes_at_[hidden]>
> Wonderful! Mirroring the generic grammar is really clever. I wish I had
> thought of it myself.
>
> When I realized operator+= and operator+ were confusing (see my reply to
> John Maddock's posting), the only other operators I looked at were <<=
and
> <<. They have been satisfactory in practice, but /= and / will be
better.
I have a new attitude about abusing the operators since first reading about
the Spirit Parser Framework and putting expression templates and operator
overloading in context (now I say "embrace it!"). I don't think I'd have
thought of this otherwise.
-----------------------------------------------------------
David Abrahams * Boost Consulting
dave_at_[hidden] * http://www.boost-consulting.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk