destroy(0);
}
-isospin::isospin(isospin const & other)
+isospin::isospin(const isospin & other)
{
debugmsg("isospin copy constructor",LOGLEVEL_CONSTRUCT);
copy (other);
}
-isospin const & isospin::operator=(isospin const & other)
+const isospin & isospin::operator=(const isospin & other)
{
debugmsg("isospin operator=",LOGLEVEL_ASSIGNMENT);
if (this != &other) {
// protected
-void isospin::copy(isospin const & other)
+void isospin::copy(const isospin & other)
{
indexed::copy(other);
name=other.name;
// public
-isospin::isospin(string const & initname)
+isospin::isospin(const string & initname)
{
debugmsg("isospin constructor from string",LOGLEVEL_CONSTRUCT);
name=initname;
// protected
-int isospin::compare_same_type(basic const & other) const
+int isospin::compare_same_type(const basic & other) const
{
GINAC_ASSERT(other.tinfo() == TINFO_isospin);
const isospin *o = static_cast<const isospin *>(&other);
return serial < o->serial ? -1 : 1;
}
-ex isospin::simplify_ncmul(exvector const & v) const
+ex isospin::simplify_ncmul(const exvector & v) const
{
return simplified_ncmul(v);
}
// non-virtual functions in this class
//////////
-void isospin::setname(string const & n)
+void isospin::setname(const string & n)
{
name=n;
}
//////////
const isospin some_isospin;
-type_info const & typeid_isospin=typeid(some_isospin);
+const type_info & typeid_isospin=typeid(some_isospin);
#ifndef NO_GINAC_NAMESPACE
} // namespace GiNaC