5 std::vector<LayerSetAndLayers>
result;
12 for (
auto ir =
result.begin(); ir <
result.end(); ++ir) {
14 if (resSet[0].
index() == set[0].index() && resSet[1].index() == set[1].index()) {
15 std::vector<Layer>& thirds = ir->second;
18 std::find_if(thirds.begin(), thirds.end(), [&](
const Layer&
l) {
return l.index() == set[2].index(); });
19 if (
found == thirds.end())
20 thirds.push_back(set[2]);