Re: [proto] Thoughts on traversing proto expressions and reusing grammar

2010-10-09 Thread Eric Niebler
On 10/8/2010 12:12 AM, Thomas Heller wrote: > On Thursday 07 October 2010 23:06:24 Eric Niebler wrote: >> On 10/4/2010 1:55 PM, Eric Niebler wrote: >>> The idea of being able to specify the transforms separately from the >>> grammar is conceptually very appealing. The grammar is the control >>> flo

Re: [proto] no matching function

2010-10-09 Thread Eric Niebler
On 10/7/2010 2:05 AM, Mauro Bianco wrote: > Hi all, > When writing a simple proto program to deal with fraction expressions > (just an exercise to get accustomed with proto library) we run into a > compiler error that we are not able to fix. > > The error gcc gives is: > > minimalproto.cc: In fu

[proto] Can't use template domain class with BOOST_PROTO_BASIC_EXTENDS

2010-10-09 Thread joel falcou
Trying to use template domain class with BOOST_PROTO_BASIC_EXTENDS ends up in an error leading to the fact this ligne in the macro is incorrect when the Domain is template: BOOST_PROTO_BASIC_EXTENDS_(Expr, Derived, Domain) typedef void proto_is_aggregate_; typedef Domain::proto_genera

Re: [proto] Can't use template domain class with BOOST_PROTO_BASIC_EXTENDS

2010-10-09 Thread Eric Niebler
On 10/9/2010 12:02 PM, joel falcou wrote: > Trying to use template domain class with BOOST_PROTO_BASIC_EXTENDS > ends up in an error leading to the fact this ligne in the macro is > incorrect when the Domain is template: > > BOOST_PROTO_BASIC_EXTENDS_(Expr, Derived, Domain) > typedef void