Boost logo

Boost Users :

Subject: Re: [Boost-users] [proto] Comma Strangeness
From: Eric Niebler (eric_at_[hidden])
Date: 2010-03-28 00:35:01


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.

If that's not the problem, you'll have to post a self-contained repro of
the problem so we can track it down.

-- 
Eric Niebler
BoostPro Computing
http://www.boostpro.com

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