¡@

Home 

c++ Programming Glossary: my_record

How to generalize a spirit parser to take lists in arbitrary order?

http://stackoverflow.com/questions/13591660/how-to-generalize-a-spirit-parser-to-take-lists-in-arbitrary-order

input1 INT 42 24 STR Smith John it parses correctly into my_record which contains a list of ints and a list of std string. I want.. or more STR lists in arbitrary order and stuff them into my_record in the proper order. I would like my second more generic test.. input1 STR Joe INT 42 24 STR Smith John to parse as client my_record expected1 42 24 Joe Smith John The code below works fine if..