Re: [proto] Best way to change tag in generator?

2012-01-31 Thread Eric Niebler
On Mon, Jan 30, 2012 at 4:53 AM, Mathias Gaunard mathias.gaun...@ens-lyon.org wrote: For a couple of reasons, I'm considering replacing the proto-provided operator tags by my own in the generator of my domain. What would the easiest and less costly way of doing it? You mean, for instance, you

Re: [proto] Best way to change tag in generator?

2012-01-31 Thread Mathias Gaunard
On 01/31/2012 07:01 PM, Eric Niebler wrote: You mean, for instance, you want Proto's operator+ to return an expression with a tag other than tag::plus? Yes. Can I ask why? I need to attach certain information to the type of operation that the tag represents, and putting that information