mirror of
https://github.com/Z3Prover/z3
synced 2025-04-28 11:25:51 +00:00
merging with the lp fork
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
parent
cf695ab876
commit
b08f094620
44 changed files with 902 additions and 319 deletions
|
@ -101,16 +101,14 @@ struct numeric_pair {
|
|||
|
||||
numeric_pair(T xp, T yp) : x(xp), y(yp) {}
|
||||
|
||||
|
||||
template <typename X>
|
||||
numeric_pair(const X & n) : x(n), y(0) {
|
||||
}
|
||||
|
||||
template <typename X>
|
||||
numeric_pair(const numeric_pair<X> & n) : x(n.x), y(n.y) {}
|
||||
numeric_pair(const numeric_pair<T> & n) : x(n.x), y(n.y) {}
|
||||
|
||||
template <typename X, typename Y>
|
||||
numeric_pair(X xp, Y yp) : numeric_pair(convert_struct<T, X>::convert(xp), convert_struct<T, Y>::convert(yp)) {}
|
||||
numeric_pair(X xp, Y yp) : x(convert_struct<T, X>::convert(xp)), y(convert_struct<T, Y>::convert(yp)) {}
|
||||
|
||||
bool operator<(const numeric_pair& a) const {
|
||||
return x < a.x || (x == a.x && y < a.y);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue