C ++ operator overloading summary

Since mathematical operations between the defined type may be operator overloading. As + may identify a particular type int, double, etc., can not recognize the custom type, it can override operator +. [ Operator overloading ]

 

Guess you like

Origin www.cnblogs.com/xixixing/p/12284129.html