17 Aug
2005
17 Aug
'05
2:26 a.m.
I want to update the expression from outisde the class, ie something like ex &x = myobject->getExpression(17); x = x.subs(y==5); How would you suggest I did that? I think that a copy constructor is getting called somewhere but I haven't worked out where yet. Cheers JP Christian Bauer wrote:
Hi!
On Wed, Aug 17, 2005 at 01:25:16AM +1000, John Pye wrote:
const ex * getExpressionPtr(const unsigned &i) const{ *return* &(F[i]); }
Hm, why do you want to do this? An 'ex' is already a pointer to something, so I don't see much advantage over
ex getExpression(unsigned i) const { return F[i]; }
Bye, Christian