I'm pretty new to SPIRIT and I'm having a problem getting the following
to work. What I would like to do is: parse from a file_iterator a number
of characters and then use those matched characters to construct a class
of mine, as follows:
p =3D (+alpha_p)[ push_back( var(vDFA),=20
So, what the preceeding rule should do is, from arg1 create a
std::string and then use that string in the constructor of a class
called DFA. I would then like the DFA to be pushed onto a vector (vDFA).
The problem I am having is that I'm using a file_iterator and
std::string does not have a constructor for a file_iterator. The
question is, how can I obtain this functionality?