Re: [proto] Grouping expressions

2012-01-08 Thread Bart Janssens
On Mon, Jan 2, 2012 at 8:57 AM, Joel Falcou wrote: > Compiles in C++11 mode : --std=c++0x Just tried this on boost 1.48, no change in time or memory usage. Or is this even newer than 1.48? > type erasure allow your template class to inherit from a single, > non-template base class that forward

Re: [proto] Grouping expressions

2012-01-02 Thread Joel Falcou
On 30/12/2011 17:34, Bart Janssens wrote: On Fri, Dec 30, 2011 at 7:01 AM, Eric Niebler wrote: Are you certain your problem is caused by using operator() for grouping? I think this is just a very big expression template, and any syntax you choose for grouping will result in long compile times

Re: [proto] Grouping expressions

2011-12-30 Thread Bart Janssens
On Fri, Dec 30, 2011 at 7:01 AM, Eric Niebler wrote: > Are you certain your problem is caused by using operator() for grouping? > I think this is just a very big expression template, and any syntax you > choose for grouping will result in long compile times and heavy memory > usage. Yes, that's w

Re: [proto] Grouping expressions

2011-12-29 Thread Eric Niebler
On 12/29/2011 10:07 AM, Bart Janssens wrote: > Hi guys, > > Currently, we are using the proto operator() overload and grammars to > "group" expressions together. The result is one big expression that > consists of several sub-expressions. An example can be found here: > https://github.com/coolflui