* Wrapper template for making GiNaC classes out of C++ structures. */
/*
- * GiNaC Copyright (C) 1999-2010 Johannes Gutenberg University Mainz, Germany
+ * GiNaC Copyright (C) 1999-2011 Johannes Gutenberg University Mainz, Germany
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
GINAC_ASSERT(is_a<structure>(other));
const structure & o = static_cast<const structure &>(other);
- return struct_is_equal(&obj, &o.obj);
+ return this->struct_is_equal(&obj, &o.obj);
}
unsigned calchash() const { return inherited::calchash(); }
GINAC_ASSERT(is_a<structure>(other));
const structure & o = static_cast<const structure &>(other);
- return struct_compare(&obj, &o.obj);
+ return this->struct_compare(&obj, &o.obj);
}
template <class T, template <class> class CP>