Wednesday, 18 April 2012

Can the creation of operator** is allowed to perform the to-the-power-of operations? | C++

No, you cannot create operator** for to-the-power-of operations. The number of parameters taken by an operator, names of the operators, priority level of the operators, and the associativity of the operators depend on language in which they are being used. The operator** is not present in C++, so it cannot be created.

No comments: