From: Larry Evans (cppljevans_at_[hidden])
Date: 2008-05-17 13:44:59


On 05/17/08 10:52, Larry Evans wrote:
[snip]
> me to see this on that page. IOW, that page could specifically say that
> transform compositions are not possible because a transform
> expects Expr& and when transforms are composed without storing
> intermediate values in a variable, then the 1st transform produces
> an Expr and not an Expr&; so, the second transform rejects it.
Except when the composed transforms are pass_through transforms.
In this case, it works, as shown by compiling the attached, which
is a slight modification of previous attachment. That
seems inconsistent or, at least, unexpected behavior for transforms.

What's the rationale for this behavior?