Re: Spirit X3 employee.cpp compile error

Vincent Virgilio <[email protected]>
Newsgroups gmane.comp.parsers.spirit.general
Message-ID <[email protected]>

On Aug 12, 2016, at 01:14 PM, Vincent Virgilio <[email protected]> wrote:



On Aug 12, 2016, at 1:04 PM, Mike Gresens <[email protected]> wrote:

Try to add

#include <boost/fusion/adapted/std_pair.hpp>

Best regards,
Mike...


That did it. 

I thought Spirit would handle such an include behind-the-scenes. For example, I didn't have to include anything Fusion for std::map. 

Thanks Mike. 

Should've linked to the code . . .

Here's the fix at coliru:

http://coliru.stacked-crooked.com/a/41425cb30e49bc8a

which also compiles and runs in VS2015 Update 3. 

------------------------------------------------------------------------------
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

_______________________________________________
Spirit-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/spirit-general
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.