mirror of
https://github.com/Z3Prover/z3
synced 2026-02-22 16:27:37 +00:00
Adopt C++17 structured bindings for map/pair iteration (#8159)
* Initial plan * Adopt structured bindings for map iteration Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com> * Fix DEBUG_CODE macro issue with structured bindings 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
9a80bd2016
commit
31122b0c10
10 changed files with 20 additions and 23 deletions
|
|
@ -251,10 +251,10 @@ namespace sat {
|
|||
TRACE(anf_simplifier,
|
||||
tout << "kept:\n";
|
||||
for (clause* cp : clauses) tout << *cp << "\n";
|
||||
for (auto b : bins) tout << b.first << " " << b.second << "\n";
|
||||
for (auto [l1, l2] : bins) tout << l1 << " " << l2 << "\n";
|
||||
tout << "removed:\n";
|
||||
for (clause* cp : oclauses) tout << *cp << "\n";
|
||||
for (auto b : obins) tout << b.first << " " << b.second << "\n";);
|
||||
for (auto [l1, l2] : obins) tout << l1 << " " << l2 << "\n";);
|
||||
}
|
||||
|
||||
void anf_simplifier::set_relevant(solver::bin_clause const& b) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue