Comment Comment by dctwin Yes, the nonconstexpr version does just that, unless I misunderstood your question. See also boost::spirit for a 'big' version of this parent dctwin 2 years ago