3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-29 11:55:51 +00:00

work on horner

Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
Lev Nachmanson 2019-07-10 16:22:28 -07:00
parent d0ab508619
commit ee4da1affd
5 changed files with 57 additions and 41 deletions

View file

@ -29,6 +29,12 @@ std::ostream& print_vector(const C & t, std::ostream & out) {
out << p << " ";
return out;
}
template <typename C>
std::ostream& print_vector_of_ptrs(const C & t, std::ostream & out) {
for (const auto & p : t)
out << (*p) << ", ";
return out;
}
template <typename C, typename D>
bool contains(const C & collection, const D & key) {