Is it possible to overload increment(++) and decrement(--) postfix and prefix
operators for primitive datatypes such as int, char, short, etc. in global scope
(vs as a class member function where this is possibe)?
If there is a site that lists all operators that can't be overloaded (such as
the member access dot operator), please post it.
thanks
operators for primitive datatypes such as int, char, short, etc. in global scope
(vs as a class member function where this is possibe)?
If there is a site that lists all operators that can't be overloaded (such as
the member access dot operator), please post it.
thanks
Comment