mirror of
https://github.com/Z3Prover/z3
synced 2026-02-04 16:26:17 +00:00
Add std::initializer_list overloads for BV and arith operations (#8467)
* Initial plan * Add std::initializer_list overloads for BV and arith functions Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com> * Update call sites to use initializer_list format for BV and arith functions Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
This commit is contained in:
parent
20e19b97ee
commit
50d04d32bf
5 changed files with 26 additions and 38 deletions
|
|
@ -16,10 +16,7 @@ Copyright (c) 2015 Microsoft Corporation
|
|||
#include <iostream>
|
||||
|
||||
expr* mk_bv_xor(bv_util& bv, expr* a, expr* b) {
|
||||
expr* args[2];
|
||||
args[0] = a;
|
||||
args[1] = b;
|
||||
return bv.mk_bv_xor(2, args);
|
||||
return bv.mk_bv_xor({a, b});
|
||||
}
|
||||
|
||||
expr* mk_bv_and(bv_util& bv, expr* a, expr* b) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue