I've pasted some code below where I am trying to transform expressions of the form
(a op b op c)[i] to (a[i] op b[i] op c[i]) I managed to get this to work for the simple case (a+b)[i] but I'm curious about how to generalize this to include other operators (without explicitly handling them all). Also, as written the transform doesn't recurse properly, and I'm having some trouble seeing how to correct this. As I'm really just trying to get my mind around how proto works, any comments would be appreciated. Thanks Nate Knight
test2.cpp
Description: test2.cpp
_______________________________________________ proto mailing list proto@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/proto