Re: Spirit X3 employee.cpp compile error
Larry Evans <[email protected]>
| Newsgroups | gmane.comp.parsers.spirit.general |
|---|---|
| Message-ID | <[email protected]> |
On 08/12/2016 06:40 AM, Larry Evans wrote: [snip] > >> GitHub: [email protected]:boostorg/spirit.git >> >> Use the develop branch. >> --}--cut here-- >> > The 2 template arg rule code is actually in the x3-devel branch instead > of the develop branch: > > https://github.com/boostorg/spirit/blob/x3-devel/include/boost/spirit/home/x3/nonterminal/rule.hpp#L80 > [snip] However, if you decide to use x3-devel, then the employee.cpp code referenced in your OP needs to be modified so that the arguments to BOOST_SPIRIT_DEFINE contain assignments instead of just rule names. For example, see: https://github.com/boostorg/spirit/blob/x3-devel/example/x3/calc4.cpp#L218 HTH. -regards, Larry ------------------------------------------------------------------------------ What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic patterns at an interface-level. Reveals which users, apps, and protocols are consuming the most bandwidth. Provides multi-vendor support for NetFlow, J-Flow, sFlow and other flows. Make informed decisions using capacity planning reports. http://sdm.link/zohodev2dev