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:
parent
d0ab508619
commit
ee4da1affd
5 changed files with 57 additions and 41 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue