Hi,
I have problems with Boost.Spirit parsing a string.
The string looks like
name1 has this and that.\n
name 2 has this and that.\n
na me has this and that.\n
and I have to extract the names. The text "has this and that" is always the same but the name can consist of spaces therefore I can't use graph_p.
1) How do I parse such a string?
Since the string has several lines of that format I have to store the names in a vector.
I used something like
std::string name;
rule<> r = *graph_p[append(name)];
for saving one name but
2) what's the best way to save several names in a vector?
Thanks in advance
Konrad