It's not immutable. It provides an add_ui_gmp method that mutates the object. If it was actually immutable, there wouldn't be any trap because it wouldn't really matter if you cloned objects or not when using them in multiple places.
In reply to Re^7: How does Math::GMP overload the assignment operator ?
by Haarg
in thread How does Math::GMP overload the assignment operator ?
by syphilis
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |