
28 Mar
2010
28 Mar
'10
4:35 a.m.
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