Boost logo

Boost Users :

Subject: Re: [Boost-users] [proto] Comma Strangeness
From: David Greene (greened_at_[hidden])
Date: 2010-03-27 19:15:27


On Saturday 27 March 2010 23:35:01 Eric Niebler wrote:
> On 3/26/2010 6:11 PM, David Greene wrote:
> > But in the context of the (much) larger language, it fails. However, the
> > grammar specification shouldn't have any bearing on what display_expr
> > dumps out.
>
> The grammar *could* have a bearing on what proto operators are
> considered, so long as you specified the grammar as the second parameter
> to proto::domain<>. If your grammar doesn't allow comma, then proto's
> comma operator is ignored, leaving only C++'s build-in comma.

Ah, I'll have to check that. I use comma in the grammar but perhaps I
didn't do the domain<> stuff correctly.

                                      -Dave


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net