id summary reporter owner description type status milestone component version severity resolution keywords cc 4684 [spirit] bad template error when complementing a rule Eric Niebler Joel de Guzman "The following code results in a terrible compiler error. The grammar for Spirit should not allow {{{~}}} to apply to a {{{rule}}} object. {{{ #include int main() { using namespace boost::spirit::qi; rule expression, term, factor; expression = term >> *( ( '+' >> term ) | ( '-' >> term ) ) ; term = factor >> *( ( '*' >> ~factor ) | ( '/' >> factor ) ) ; factor = uint_ | '(' >> expression >> ')' | '-' >> factor ; } }}} " Bugs closed Boost 1.45.0 spirit Boost Development Trunk Problem fixed