Boost Spirit lexeme vs no_skip
问题 As like the description on Boost.Spirit, the only difference between lexeme and no_skip is the pre_skip. But after some test, I'm still confusing about the exactly meaning for pre_skip. So what kind of condition will make a difference, maybe a example can help me understand it much better. Thanks! 回答1: Pre-skip ignores whitespace at the start of the expression. Contrasting: Live On Coliru #include <boost/spirit/include/qi.hpp> namespace qi = boost::spirit::qi; static std::string const input =