Refactor to stop using iterator definitions in types.h (#9275)

* clean up iterator defs in types.h

* do not use auto for inline constexpr

* restore undef max,min

* restore types.h declarations
This commit is contained in:
Ricardo Rodriguez
2026-05-21 13:19:38 -04:00
committed by GitHub
parent 169a1b2b67
commit 92d5d2c657
23 changed files with 256 additions and 346 deletions

View File

@@ -175,17 +175,6 @@ void recurseWalkRange(
}
}
void dumpVIV(VECT_INT_VECT v) {
VECT_INT_VECT::iterator i;
INT_VECT::iterator j;
for (i = v.begin(); i != v.end(); i++) {
for (j = i->begin(); j != i->end(); j++) {
std::cout << *j << " ";
}
std::cout << std::endl;
}
}
PATH_LIST
extendPaths(int *adjMat, unsigned int dim, const PATH_LIST &paths,
int allowRingClosures = -1, double *distMat = nullptr) {