R: R: Error only on G++ Debian
Claudio La Rosa <[email protected]> Mon, 22 Jan 2018 08:54:32 +0100
| Newsgroups | gmane.comp.parsers.spirit.general |
|---|---|
| Message-ID | <[email protected]> |
>IIUC, phrase_parse requires reference to iterator at first argument, not just a iterator. >Standard conformant compilers, except that MSVC, reject passing prvalue to lvalue >reference parameter. Try following. >``` >auto itr = str.begin(); >qi::phrase_parse(itr, str.end(), assemblyParser, space); >``` >Kohei Hi Kohei, I have the same problem. Excuse the ignorance, but I can not understand why your code should be different from mine) 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