id summary reporter owner description type status milestone component version severity resolution keywords cc 12388 useless static const generated by BOOST_SPIRIT_DEFINE_? cppljevans@… Joel de Guzman "The purpose of creating of a static variable here: https://github.com/boostorg/spirit/blob/develop/include/boost/spirit/home/x3/nonterminal/rule.hpp#L164 is not apparent. Why wouldn't the following replacement: auto const& def_=BOOST_PP_CAT(rule_name, _def); work just as well. If not, some source code comments explaining the need for creating a new instance of a struct would help maintainers and people trying to understand the code." Bugs closed To Be Determined spirit Boost 1.61.0 Cosmetic fixed