const std::array meta = { % for m in meta: "${m.name}"s, % endfor }; const std::array paths = { % for p in paths: "${p.name}"s, % endfor }; const std::array pathMeta = {{ % for p in pathmeta: PathMeta{ paths[${p.path}], meta[${p.meta}] }, % endfor }}; const std::array, ${len(pathgroups)}> groups = {{ % for g in pathgroups: // ${g.name} { % for p in g.members: paths[${p[0]}], % endfor }, % endfor }};