Commutative operators/type conversion operators

Поиск
Список
Период
Сортировка
Искать

Commutative operators/type conversion operators

От:
"Gene Sokolov" <hook@aktrad.ru>
Дата:
Q1:
Let's say I want to create a '+' operator for  + int4. Do I
really have to
define two '+' operators, one

 + int

and the other

int + 

Q2:

Can I create an operator '::', such as ::double ?

Gene Sokolov.


FAQ