$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] Defining Statements with Proto
From: David A. Greene (greened_at_[hidden])
Date: 2010-01-04 23:43:47
On Sunday 03 January 2010 21:00:31 Eric Niebler wrote:
> So you know that the topmost node of an if_ statement has a tag type of
> boost::proto::tag::subscript. So you should create a case_
> specialization on that tag type, as follows:
>
> template<>
> struct ConstructGrammarCases::case_<boost::proto::tag::subscript>
So I tried that before and it didn't work. I tried again and it still fails
(check attached testcase). I'm using boost 1.40 if it matters.
-Dave