
27 Mar
2010
27 Mar
'10
11:15 p.m.
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