c++ operator overloading.

Signed-off-by: wuliang <wuliang-b@360.cn>