In boost spirit, use of multi_pass with streaming file input, which iterator needed
问题 I want to input a significant size csv file to parse it with spirit qi (using boost 1.59.0). There are examples of this and it looks straight forward, but the obvious setup to this results in a compile error where the first parameter to qi::phrase_parse(...) is not accepted. What works here? (One example is at: How to pass the iterator to a function in spirit qi ) The code: #define BOOST_SPIRIT_DEBUG //#define BOOST_SPIRIT_DEBUG_PRINT_SOME 200 //#define BOOST_SPIRIT_DEBUG_OUT std::cerr