Over loadable/Non-over loadable Operators:
Following is the list of operators which can be overloaded:
+ | - | * | / | % | ^ |
& | | | ~ | ! | , | = |
< | > | <= | >= | ++ | -- |
<< | >> | == | != | && | || |
+= | -= | /= | %= | ^= | &= |
|= | *= | <<= | >>= | [] | () |
-> | ->* | new | new [] | delete | delete [] |
Following is the list of operators which can not be overloaded:
:: | .* | . | ?: |
No comments:
Post a Comment
Comment Here