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:

https://github.com/brandon-kohn/Geometrix/blob/master/geometrix/algebra/expression.hpp

Cheers,

Brandon Kohn
blk...@hotmail.com

_______________________________________________
proto mailing list
proto@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/proto

Reply via email to