
"Sebastian" == Sebastian Mach <phresnel@googlemail.com> writes:
Sebastian> 2009/8/13 Maurizio Vitale Sebastian> <mav@cuma.i-did-not-set--mail-host-address--so-tickle-me> >> >> Hi Eric, >> >> I'm trying to have proto allow me to do things like: >> >> (a,b,c) = expr; >> >> where a, b, c are integers of different width and they should be >> assigned the appropriate slice of expr. >> Sebastian> if in ... Sebastian> (a,b,c) = expr; Sebastian> ... a,b,c are of unproxied builtin type, then it might Sebastian> not be possible in C++, as you can not overload operators Sebastian> (in this case 'operator,(lhs,rhs)') upon builtin types Sebastian> only. a,b and c are such that proto can actually build the tree for a,b,c which means that at least one of them is a proto terminal. My question, that I see now was poorly worded, was about operator=. Sorry for the confusion, Maurizio --