id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 6343,Spirit::qi semantic action destroys attribute value,kkanishev@…,Joel de Guzman,"Long story short. This code: {{{ #include #include #include #include #include #include void f(){return;} int main() { namespace qi = boost::spirit::qi; namespace ns = boost::spirit::ascii; qi::rule(),ns::space_type> ex; ex = qi::int_[f] >> *ex; std::string str = ""3 1 4 1 5 9""; std::vector out; if(qi::phrase_parse(str.begin(),str.end(),ex,ns::space,out)) { std::cout << ""Result: ""; BOOST_FOREACH(int d , out) std::cout << d << "" , ""; std::cout << ""\n""; } } }}} Doesn't change the contents of the ""std::vector out"". If I remove the semantic action: {{{ ex = qi::int_ >> *ex; }}} Then everything goes as expected.",Bugs,closed,To Be Determined,spirit,Boost 1.48.0,Problem,invalid,,