add::~add()
{
debugmsg("add destructor",LOGLEVEL_DESTRUCT);
- destroy(0);
+ destroy(false);
}
add::add(const add & other)
{
debugmsg("add operator=",LOGLEVEL_ASSIGNMENT);
if (this != &other) {
- destroy(1);
+ destroy(true);
copy(other);
}
return *this;
if (vp==0)
return *this;
- return (new add(vp,overall_coeff))->
- setflag(status_flags::expanded |
- status_flags::dynallocated);
+ return (new add(vp,overall_coeff))->setflag(status_flags::expanded | status_flags::dynallocated);
}
//////////
//////////
const add some_add;
-const type_info & typeid_add = typeid(some_add);
+const std::type_info & typeid_add = typeid(some_add);
#ifndef NO_NAMESPACE_GINAC
} // namespace GiNaC