It would be nice to write a DSL to generate some of the C++ boilerplate (say, containers, iterators, etc) required as a baseline before starting to solve the actual problem.
A DSL could codify rules like the ones described in this article and generate at least a rough first pass to be hand-tuned later.
A DSL could codify rules like the ones described in this article and generate at least a rough first pass to be hand-tuned later.