[x3_devel] why not static ... def_ in specialized parse_rule?
Larry Evans <[email protected]> Wed, 24 Aug 2016 04:24:33 -0500
| Newsgroups | gmane.comp.parsers.spirit.devel |
|---|---|
| Message-ID | <[email protected]> |
The code here: https://github.com/boostorg/spirit/blob/x3-devel/include/boost/spirit/home/x3/nonterminal/rule.hpp#L167 recalculates the same const value each time the function is entered. Why not make this static to avoid the recalculation? ------------------------------------------------------------------------------