Thanks, I didn't know that there is a dedicated Spirit mailing list.
2010/11/24, Paul Graphov <graphov@gmail.com>:
> Is it possible to make such a parser without using semantic actionsThe following works as expected:
> like [bind(&string::append, res, _1)] or something like that, which seem
> to be less elegant solution.
std::vector<boost::optional<char> > vec;
bool r = qi::parse(begin, end, *('p' | qi::char_), vec);
Why std::string does not? I have no idea, either.
You can go to https://lists.sourceforge.net/lists/listinfo/spirit-general
for more specific help.
_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users