Boost logo

Boost Users :

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




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