Subject: Re: [proto] Expression as *other* fusion sequence
From: Brandon Kohn (blkohn_at_[hidden])
Date: 2011-08-13 12:59:25
On 6/20/2011 4:45 PM, Eric Niebler wrote:
>> OK, but is there any internal proto part relying on the proper fusion
>> behavior that may get hampered by this ?
> No. There are few places where Proto's core makes use of the Fusion
> interface of Proto expression. proto::fold is one, but it detects when
> it's operating on a Proto expression and skips Fusion to iterate over
> the children directly (for better compile times).
I've actually required similar functionality and came up with a
non-fusion definition for an expression in a geometry lib I'm working
on. You can see how I did it here:
Proto list run by eric at boostpro.com