In order for AngelScript to know how to work with the application registered types, it is necessary to register some behaviours, for example for memory management.
The memory management behaviours are described with the registration of reference types and value types.
Other advanced behaviours are described with the advanced types.
Most behaviours are implemented as ordinary class methods, except with specific names that the compiler can understand.
In AngelScript all operator overloads are implemented as class methods with predefined names, which is different from C++ where both class methods and global functions may be used. Especially the dual operators, i.e. those that take two operands, usually has one implemented as a class method, and a global function for the reverse order.
To register C++ operator overloads you'll use the methods described in How to get the address of the application function or method.
Example on how to register operator overloads