From: Christian Bauer Date: Sun, 24 Aug 2003 22:51:37 +0000 (+0000) Subject: added flag to disable object fusion X-Git-Tag: release_1-2-0~127 X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=commitdiff_plain;h=c4c269f1a22affca5b243cfe160527d574e9ddcf;hp=ff3d5ccc8add5bfe76502479768c89d768df8384;ds=sidebyside added flag to disable object fusion --- diff --git a/ginac/flags.h b/ginac/flags.h index 35cb6e3b..ef921600 100644 --- a/ginac/flags.h +++ b/ginac/flags.h @@ -169,7 +169,8 @@ public: dynallocated = 0x0001, ///< heap-allocated (i.e. created by new if we want to be clever and bypass the stack, @see ex::construct_from_basic() ) evaluated = 0x0002, ///< .eval() has already done its job expanded = 0x0004, ///< .expand(0) has already done its job (other expand() options ignore this flag) - hash_calculated = 0x0008 ///< .calchash() has already done its job + hash_calculated = 0x0008, ///< .calchash() has already done its job + not_shareable = 0x0010 ///< don't share instances of this object between different expressions unless explicitly asked to (used by ex::compare()) }; };