Re: mini-c example does not compile (msvc2015, win32, boost 1.63)
Seth <[email protected]>
| Newsgroups | gmane.comp.parsers.spirit.general |
|---|---|
| Message-ID | <[email protected]> |
On 04-03-17 04:30, Frank Hein wrote:
> ///////////////////////////////////////////////////////////////////////
> // Error handling: on error in expr, call error_handler.
> on_error<fail>(expr,
> error_handler_function(error_handler)(
> "Error! Expecting ", _4, _3));
Suggestions:
- spell it `+"Error! Expecting "` so that you explicitly decay it
before it gets forwarded
- use `boost::phoenix::val("Error! Expecting ")` to explicitly lift the
expression to a phoenix actor
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot