From: Joel (joel_at_[hidden])
Date: 2004-10-25 20:03:03


Tim Robertson wrote:

[...]

> The problem is that I can't figure out how to instantiate an
> array_grammar (which requires a reference to the current MyMatrix
> object) in order to parse the individual arrays.
>
> I have solved this problem by creating a functor in multi_array_grammar
> which calls the parse function for array_grammar directly, but this
> seems ugly to me. Do any of you have a better way?

Hi Tim,

Could you please re-post this to Spirit's mailing list?:

Spirit-general mailing list
Spirit-general_at_[hidden]
https://lists.sourceforge.net/lists/listinfo/spirit-general

Thanks!

-- 
Joel de Guzman
http://www.boost-consulting.com
http://spirit.sf.net