Original Post
I am just curious. Can I somehow overload default type operators. For example I want to have a class class foo { int a; }; And once the variable is Going to be changed I want to call my function and only then decide what other params I need to change. This is something similar with C# Get() Set(). I have no idea how can I overload it :) Any help appreciated.