Yurttas/PL/OOL/Cplusplus/F/03/02/00/00.html

programming languages - design principles, implementation constructs
c++

  1. abstraction mechanisms: classes and operator overloading
    1. operator overloading
      1. basic rules -
        • operator functions - set of overloadable operators functions defining meanings for the following operators can be declared: + - * / % ^ &
          | ~ ! = < > +=
          -= *= /= %= ^= &= |=
          << >> >>= <<= == != <=
          >= && || ++ -- ->* ,
          -> [] () new new[] delete delete[]

<< | >>


1 | basic facilities << 3 >> class derivation | 5 | 6 | 7 | 8