]> www.ginac.de Git - ginac.git/commitdiff
added flag to disable object fusion
authorChristian Bauer <Christian.Bauer@uni-mainz.de>
Sun, 24 Aug 2003 22:51:37 +0000 (22:51 +0000)
committerChristian Bauer <Christian.Bauer@uni-mainz.de>
Sun, 24 Aug 2003 22:51:37 +0000 (22:51 +0000)
ginac/flags.h

index 35cb6e3b0803e62323d09aa5cad55baf2960734c..ef921600aaa25483a58d54e846007b8c395a33e9 100644 (file)
@@ -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)
                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())
        };
 };
 
        };
 };