The bdd and __bdd classes work really well to completely hide the file management, and garbage collection from both the clients and the developers point of view. The copy-constructor of the bdd class does not kick in though in ternaries.
bdd a = bdd_ithvar(0);
bdd b = bdd_nithvar(1);
bdd c = a == b ? a : bdd_xor(a,b);
Will give an "operands to ?: have different types ‘adiar::bdd’ and ‘adiar::__bdd" error.
The
bdd
and__bdd
classes work really well to completely hide the file management, and garbage collection from both the clients and the developers point of view. The copy-constructor of thebdd
class does not kick in though in ternaries.Will give an "operands to ?: have different types ‘
adiar::bdd
’ and ‘adiar::__bdd
" error.