Yurttas/PL/OOL/Cplusplus/F/03/02/00/00.html
programming languages - design principles, implementation constructs
c++
- abstraction mechanisms: classes and operator overloading
- operator overloading
- basic rules -
- operator functions - set of overloadable operators functions defining meanings for the following operators can be declared:
+ - * / % ^ &
| ~ ! = < > +=
-= *= /= %= ^= &= |=
<< >> >>= <<= == != <=
>= && || ++ -- ->* ,
-> [] () new new[] delete delete[]
- operator functions - set of overloadable operators functions defining meanings for the following operators can be declared:
- basic rules -
- operator overloading
<< | >>
1 | basic facilities << 3 >> class derivation | 5 | 6 | 7 | 8