[buddy] Improve handling of bddtrue and bddfalse.
* src/bdd.h, src/cppext.cxx: Handle bddtrue and bddfalse using special types.
This commit is contained in:
parent
4df4b4efd2
commit
7d70229f5b
2 changed files with 77 additions and 11 deletions
|
|
@ -57,8 +57,8 @@ bdd_ioformat bddall(IOFORMAT_ALL);
|
|||
bdd_ioformat fddset(IOFORMAT_FDDSET);
|
||||
|
||||
/* Constant true and false extension */
|
||||
const bdd bddtruepp = bdd_true();
|
||||
const bdd bddfalsepp = bdd_false();
|
||||
const bddxtrue bddtruepp;
|
||||
const bddxfalse bddfalsepp;
|
||||
|
||||
/* Internal prototypes */
|
||||
static void bdd_printset_rec(ostream&, int, int*);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue