proto expression are fusion sequence that iterates over the node children. All fine and dandy.

Now here is my use case. I have expression whose terminal are fusion sequence that access tot he terminal values (think terminal holding a std:;array for example) and I wished to have expression of the terminal be fusion sequence themselves so i can do stuff like :

at_c<0>( x + y * 3 )

where x and y are such terminals, this statement returning me the equivalent of :

at_c<0>( x ) + at_c<0>( y ) * 3

Obviously, no candy as both fusion registration conflicts with each others. My Fusion-fu beign quite weak, is there a way to have this AND still have proto expressions behave as they should in other context ?



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

Reply via email to