🎉 Smithery is now a part of Arcade.dev! Read more in our announcement here
Explain Cairo operator overloading using core::ops traits like Add; use when a request involves redefining operators for custom types in Cairo.
Show how to overload operators by implementing the corresponding trait.
references/operator-overloading.md
impl TypeAdd of Add<Type>
Add
Sub
Mul
Div
Rem
Neg
Add<Other>
Add<Self>
+