Re: [proto] Using a derived class as terminals in Boost.proto

2016-04-14 Thread Eric Niebler
Proto grammars and transforms handle this better than evaluators, which are deprecated. It would pay to look into some examples that use transforms. Sorry, that's all the advice I have time for at the moment. \e On Apr 14, 2016 10:33 AM, "Mathias Gaunard" wrote: >

Re: [proto] Using a derived class as terminals in Boost.proto

2016-04-14 Thread Mathias Gaunard
On 14 April 2016 at 15:37, Frank Winter wrote: > > and still, I get basically the same error message: > > /home/fwinter/src/boost_1_60_0/boost/proto/context/default.hpp:121:41: > error: no match for ‘operator+’ (operand types are ‘Vector10’ and > ‘Vector10’) >

Re: [proto] Using a derived class as terminals in Boost.proto

2016-04-14 Thread Frank Winter
On 04/14/2016 10:10 AM, Mathias Gaunard wrote: On 14 April 2016 at 14:43, Frank Winter > wrote: Hi all! Suppose you'd want to implement a simple EDSL (Embedded Domain Specific Language) with Boost.proto with the following requirements:

Re: [proto] Using a derived class as terminals in Boost.proto

2016-04-14 Thread Mathias Gaunard
On 14 April 2016 at 14:43, Frank Winter wrote: > Hi all! > > Suppose you'd want to implement a simple EDSL (Embedded Domain Specific > Language) with Boost.proto with the following requirements: > > Custom class 'Vector' as terminal > Classes derived from 'Vector' are

Re: [proto] Using a derived class as terminals in Boost.proto

2016-04-14 Thread
___ proto mailing list proto@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/proto