id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 12932,"""Char >> (Literal | Sequence)"" unpacking",jetdog330@…,Joel de Guzman,"This is the simplest I was able to reduce this to. What is going on here? Requirements: -Boost 1.62 or 1.63 /w spirit v2 -C++03/C++11/C++14 Steps: g++ test.cpp && ./a.out Expected: Success: ""x"" ""a"" ""b"" ""c"" Result: Success: ""x"" ""a"" """" """" {{{ #include #include #include #include int main(int argc, char * argv[]) { namespace qi = boost::spirit::qi; const std::string input(""xabc""); char x = 0; char a = 0; char b = 0; char c = 0; const int result = qi::parse( input.begin(), input.end(), qi::char_ >> (qi::lit(""Z"") | (qi::char_ >> qi::char_ >> qi::char_)), x, a, b, c ); std::cout << (result ? ""Success"" : ""Failure"") << "": "" << '""' << x << ""\"" \"""" << a << ""\"" \"""" << b << ""\"" \"""" << c << '""' << std::endl; return result ? EXIT_SUCCESS : EXIT_FAILURE; } }}} ",Feature Requests,new,To Be Determined,spirit,Boost 1.63.0,Problem,,unpacking,