mirror of
https://github.com/Z3Prover/z3
synced 2025-08-17 08:42:15 +00:00
change lt
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
7c9d2e0d75
commit
5177cc4a9a
2 changed files with 8 additions and 2 deletions
|
@ -28,6 +28,10 @@ struct ast_to_lt {
|
|||
bool operator()(ast * n1, ast * n2) const { return lt(n1, n2); }
|
||||
};
|
||||
|
||||
struct ast_lt {
|
||||
bool operator()(ast * n1, ast * n2) const { return n1->get_id() < n2->get_id(); }
|
||||
};
|
||||
|
||||
bool lex_lt(unsigned num, ast * const * n1, ast * const * n2);
|
||||
inline bool lex_lt(unsigned num, expr * const * n1, expr * const * n2) {
|
||||
return lex_lt(num, reinterpret_cast<ast*const*>(n1), reinterpret_cast<ast*const*>(n2));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue