R: R: R: R: Error only on G++ Debian
Claudio La Rosa <[email protected]> Mon, 22 Jan 2018 21:10:49 +0100
| Newsgroups | gmane.comp.parsers.spirit.general |
|---|---|
| Message-ID | <[email protected]> |
>Your iterator type needs to be `std::string::const_iterator` so either
>use `line.cbegin()` or make the argument const&:
> void parseFirstStep(std::string const& line) {
> phrase_parse(line.cbegin(), line.cend(), start, qi::ascii::space);
> }
Now it work! 😊
>Note also that `using std::string` doesn't seem like a splendid idea
>(especially when using Qi).
Ok. What should I use in its place?
Thank you!
Claudio
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Spirit-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/spirit-general