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 <fwin...@jlab.org <mailto:fwin...@jlab.org>> wrote: Hi all! Suppose you'd want to implement a simple EDSL (Embedded Domain Specific Language) with Boost.proto with the following

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

2016-04-14 Thread Frank Winter
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 working terminals too, e.g. Vector10 Reading the manual of Boost.proto it