You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
there is, for example no mpz_class * Element operator.
We should make sure that all operators are free (see #153) and make Element inherit from multiplicative<mpz_class> and multiplicative<mpq_class> instead of multiplicative<ElementClass>.
We also need to provide an explicit operator*(Element, T) and operator(T, Element).
there is, for example no
mpz_class * Element
operator.We should make sure that all operators are free (see #153) and make
Element
inherit frommultiplicative<mpz_class>
andmultiplicative<mpq_class>
instead ofmultiplicative<ElementClass>
.We also need to provide an explicit
operator*(Element, T)
andoperator(T, Element)
.See for some implementation tricks https://www.boost.org/doc/libs/1_69_0/libs/utility/operators.htm
The text was updated successfully, but these errors were encountered: