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

programming languages - design principles, implementation constructs
c++

  1. abstraction mechanisms: classes and operator overloading
    1. operator overloading
      1. basic rules - overloaded operators : members or nonmebers operator recommended use all unary operators member = () [] -> must be member += -= *= /= %= ^= &= |= >>= <<= member all other binary operators nonmember

<< | >>


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