[proto] problem with constness of operator return types

2010-12-02 Thread Thomas Heller
Hi, I just encountered a somehow stupid problem. Possibility is high that i missed something. The problem is, that proto's default transform cannot handle op_assign correctly. This is due to the fact that operator OP returns a const proto expression, which turns every value type in proto termi

Re: [proto] problem with constness of operator return types

2010-12-02 Thread Eric Niebler
On 12/2/2010 6:51 AM, Thomas Heller wrote: > Hi, > > I just encountered a somehow stupid problem. Possibility is high that i > missed something. > > The problem is, that proto's default transform cannot handle op_assign > correctly. This is due to the fact that operator OP returns a const proto

Re: [proto] problem with constness of operator return types

2010-12-02 Thread Thomas Heller
Eric Niebler wrote: > On 12/2/2010 6:51 AM, Thomas Heller wrote: >> Hi, >> >> I just encountered a somehow stupid problem. Possibility is high that i >> missed something. >> >> The problem is, that proto's default transform cannot handle op_assign >> correctly. This is due to the fact that opera